:root {
  --ink: #101828;
  --ink-soft: #667085;
  --paper: #f2f4f7;
  --paper-deep: #eaecf0;
  --panel: #ffffff;
  --forest: #91088b;
  --forest-deep: #6f086b;
  --moss: #00a99d;
  --lime: #2bc5bb;
  --coral: #91088b;
  --gold: #f79009;
  --sky: #3e6596;
  --line: #eaecf0;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --sidebar-width: 252px;
  --display: "Plus Jakarta Sans", "Avenir Next", sans-serif;
  --body: "Plus Jakarta Sans", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(145, 8, 139, 0.2);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--sidebar-width);
  padding: 26px 20px 24px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  overflow: hidden;
}

.sidebar::before {
  display: none;
}

.brand {
  position: relative;
  display: grid;
  min-height: 88px;
  padding: 4px 10px 18px;
  border-bottom: 1px solid var(--line);
  align-content: center;
}

.brand img {
  width: 144px;
  height: auto;
}

.brand span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sidebar-caption {
  margin: 28px 12px 12px;
  color: #98a2b3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.primary-nav {
  display: grid;
  gap: 7px;
}

.nav-item {
  display: grid;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  grid-template-columns: 28px 1fr;
  align-items: center;
  color: #475467;
  background: transparent;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-item:hover {
  color: var(--forest);
  background: #fcf4fc;
  transform: translateX(2px);
}

.nav-item.is-active {
  color: #fff;
  background: linear-gradient(180deg, var(--forest), var(--forest-deep));
  box-shadow: 0 7px 30px -10px rgba(145, 8, 139, 0.35);
}

.nav-icon {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1;
}

.sidebar-note {
  display: flex;
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: flex-start;
  gap: 9px;
  background: #f9fafb;
}

.sidebar-note strong,
.sidebar-note small {
  display: block;
}

.sidebar-note strong {
  font-size: 11px;
  font-weight: 650;
}

.sidebar-note small {
  margin-top: 3px;
  color: #98a2b3;
  font-size: 9px;
  line-height: 1.35;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 5px rgba(0, 169, 157, 0.1);
  animation: breathe 2.6s ease-in-out infinite;
}

.sidebar-signature {
  position: relative;
  margin-top: 20px;
  padding: 0 4px;
  color: #98a2b3;
  font-family: var(--body);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
}

.sidebar-signature span,
.sidebar-signature strong {
  display: block;
}

.sidebar-signature strong {
  color: var(--forest);
  font-weight: 700;
}

.main-content {
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  padding: 0 32px 52px;
}

.topbar {
  display: flex;
  min-height: 118px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-heading {
  min-width: 0;
}

.eyebrow {
  display: block;
  color: var(--forest);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-heading h1 {
  margin: 6px 0 4px;
  font-family: var(--display);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.page-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.sync-status strong,
.sync-status small {
  display: block;
}

.sync-status strong {
  font-size: 10px;
}

.sync-status small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
}

.sync-coverage {
  margin-top: 2px;
}

.sync-status .sync-coverage small {
  margin-top: 0;
  color: #7d8797;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.sync-status.is-stale .live-dot {
  background: var(--gold);
  animation: none;
  box-shadow: 0 0 0 5px rgba(215, 169, 79, 0.12);
}

.icon-button,
.menu-button {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  place-items: center;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.icon-button:hover {
  background: #fff;
  transform: rotate(20deg);
}

.icon-button.is-loading {
  animation: spin 900ms linear infinite;
}

.menu-button {
  display: none;
}

.filter-panel {
  display: grid;
  margin: 22px 0 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns:
    auto auto minmax(130px, auto) minmax(130px, auto)
    minmax(145px, auto) minmax(190px, 1fr) auto;
  align-items: stretch;
  gap: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.period-shortcuts {
  display: flex;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  padding: 3px;
  border-radius: 11px;
  grid-column: 1 / -1;
  align-items: center;
  background: #f2f4f7;
}

.period-shortcuts button,
.segmented-control button {
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.period-shortcuts button.is-active,
.segmented-control button.is-active {
  color: #fff;
  background: linear-gradient(180deg, var(--forest), var(--forest-deep));
  box-shadow: 0 7px 30px -10px rgba(145, 8, 139, 0.3);
}

.filter-field {
  display: grid;
  min-width: 116px;
  padding: 3px 11px;
  border-left: 1px solid var(--line);
  align-content: center;
}

.filter-field > span {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select,
.search-field input,
.inline-search input {
  min-width: 0;
  padding: 2px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  outline: none;
}

.filter-field select {
  max-width: 145px;
}

.filter-sort-field select {
  width: 145px;
}

.filter-source-field {
  position: relative;
  min-width: 150px;
}

.multi-select {
  position: relative;
  min-width: 0;
}

.multi-select summary {
  display: flex;
  min-height: 20px;
  padding: 2px 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  list-style: none;
  outline: none;
}

.multi-select summary::-webkit-details-marker {
  display: none;
}

.multi-select summary:focus-visible {
  border-radius: 5px;
  box-shadow: 0 0 0 2px rgba(145, 8, 139, 0.22);
}

.multi-select #filter-source-summary {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.multi-select .multi-select-chevron {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  transform-origin: center;
  transition: transform 160ms ease;
}

.multi-select[open] .multi-select-chevron {
  transform: rotate(180deg);
}

.multi-select.has-selection #filter-source-summary {
  color: var(--forest);
  font-weight: 700;
}

.multi-select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  left: -12px;
  width: 248px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.16);
}

.multi-select-options {
  display: grid;
  max-height: 250px;
  overflow-y: auto;
  gap: 2px;
  overscroll-behavior: contain;
}

.multi-select-option {
  display: flex;
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  cursor: pointer;
  font-size: 10px;
}

.multi-select-option:hover {
  background: #fcf4fc;
}

.multi-select-option input {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--magenta);
}

.multi-select-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#filter-source-clear {
  width: 100%;
  margin-top: 7px;
  padding: 9px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--magenta);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

#filter-source-clear:disabled {
  color: #98a2b3;
  cursor: default;
}

.search-field {
  display: flex;
  min-width: 190px;
  margin-left: 0;
  padding: 0 10px;
  border-left: 1px solid var(--line);
  align-items: center;
  gap: 6px;
}

.search-field input {
  width: 100%;
}

.clear-filters,
.text-button {
  border: 0;
  color: var(--forest);
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.clear-filters:hover,
.text-button:hover {
  color: var(--moss);
}

.filter-context {
  min-height: 25px;
  padding: 8px 4px 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
  animation: enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.metric-grid {
  display: grid;
  margin: 15px 0 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  position: relative;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: enter 500ms both;
}

.metric-card:nth-child(2) {
  animation-delay: 50ms;
}

.metric-card:nth-child(3) {
  animation-delay: 100ms;
}

.metric-card:nth-child(4) {
  animation-delay: 150ms;
}

.metric-card:nth-child(5) {
  animation-delay: 200ms;
}

.metric-card:nth-child(6) {
  animation-delay: 250ms;
}

.metric-card.is-featured {
  color: #fff;
  border-color: var(--forest);
  background:
    radial-gradient(circle at 105% -15%, rgba(43, 197, 187, 0.36), transparent 52%),
    linear-gradient(145deg, var(--forest), var(--forest-deep));
}

.metric-card.is-featured .metric-label,
.metric-card.is-featured .metric-foot {
  color: rgba(255, 255, 255, 0.76);
}

.metric-card::after {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: 6px solid rgba(145, 8, 139, 0.08);
  border-radius: 50%;
  opacity: 1;
  content: "";
}

.metric-label {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-value {
  display: block;
  margin-top: 17px;
  font-family: var(--display);
  font-size: clamp(21px, 1.65vw, 27px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.metric-foot {
  display: flex;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.35;
}

.metric-accent {
  margin-right: 5px;
  color: var(--moss);
  font-weight: 700;
}

.revenue-section {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(0, 169, 157, 0.07),
      transparent 28%
    ),
    var(--panel);
  box-shadow: var(--shadow);
}

.revenue-heading {
  display: flex;
  margin-bottom: 18px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.revenue-heading h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.revenue-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.revenue-card {
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
}

.revenue-card.is-featured {
  border-color: rgba(145, 8, 139, 0.12);
  background:
    radial-gradient(
      circle at 105% -10%,
      rgba(145, 8, 139, 0.15),
      transparent 46%
    ),
    #fff0f6;
}

.revenue-card.is-wide {
  min-height: 98px;
  grid-column: 1 / -1;
}

.revenue-label {
  display: flex;
  min-height: 28px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
}

.revenue-info {
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #98a2b3;
  border-radius: 50%;
  color: #667085;
  font-family: Georgia, serif;
  font-size: 9px;
  place-items: center;
}

.revenue-card > strong {
  display: block;
  margin-top: 13px;
  font-family: var(--display);
  font-size: clamp(21px, 1.8vw, 28px);
  letter-spacing: -0.035em;
}

.revenue-card > span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 8.5px;
}

.insight-banner {
  position: relative;
  display: flex;
  min-height: 92px;
  margin-bottom: 18px;
  padding: 19px 24px 19px 96px;
  border-radius: 14px;
  align-items: center;
  color: #fff;
  background: linear-gradient(
    105deg,
    var(--forest) 0%,
    #6f287f 42%,
    var(--sky) 76%,
    var(--moss) 100%
  );
  box-shadow: 0 7px 30px -10px rgba(145, 8, 139, 0.3);
  overflow: hidden;
}

.insight-banner .eyebrow {
  color: #fff;
  opacity: 0.78;
}

.insight-banner p {
  max-width: 850px;
  margin: 6px 0 0;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.insight-orbit {
  position: absolute;
  left: 24px;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.insight-orbit::before,
.insight-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.insight-orbit::before {
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.insight-orbit::after {
  top: 19px;
  left: 19px;
  width: 9px;
  height: 9px;
  background: #fff;
}

.insight-orbit span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.insight-orbit span:first-child {
  top: 3px;
  right: 6px;
}

.insight-orbit span:last-child {
  bottom: 4px;
  left: 4px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.8fr);
  gap: 12px;
}

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-wide {
  min-width: 0;
}

.panel-full-width {
  min-width: 0;
  grid-column: 1 / -1;
}

.panel-full {
  margin-top: 14px;
}

.panel-heading {
  display: flex;
  min-height: 45px;
  margin-bottom: 17px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading h2,
.crm-hero h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.chart-legend {
  display: flex;
  margin-top: 6px;
  gap: 13px;
  color: var(--ink-soft);
  font-size: 8px;
}

.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart-legend i {
  display: inline-block;
  width: 13px;
  height: 2px;
}

.legend-donation,
.legend-fees {
  background: var(--forest);
}

.legend-beija {
  background: var(--moss);
}

.chart-wrap {
  min-height: 245px;
}

.chart-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid-line {
  stroke: #eaecf0;
  stroke-dasharray: 3 5;
}

.chart-axis-label {
  fill: var(--ink-soft);
  font-family: var(--body);
  font-size: 8px;
}

.chart-area {
  opacity: 0.12;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.chart-dot {
  stroke: var(--panel);
  stroke-width: 2;
}

.empty-state {
  display: grid;
  min-height: 180px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 14px;
  place-items: center;
  text-align: center;
}

.source-list {
  display: grid;
  gap: 17px;
}

.source-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
}

.source-row strong {
  font-size: 11px;
  font-weight: 650;
  text-transform: capitalize;
}

.source-row span {
  color: var(--ink-soft);
  font-size: 9px;
}

.source-bar {
  height: 6px;
  margin-top: 4px;
  border-radius: 99px;
  grid-column: 1 / -1;
  background: #eaecf0;
  overflow: hidden;
}

.source-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--moss));
}

.payment-list {
  display: grid;
  gap: 15px;
}

.payment-row {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.payment-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.payment-row-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.payment-row-heading div strong,
.payment-row-heading div span {
  display: block;
}

.payment-row-heading div strong {
  font-family: var(--display);
  font-size: 11px;
}

.payment-row-heading div span,
.payment-row-meta {
  color: var(--ink-soft);
  font-size: 8px;
}

.payment-row-heading > strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 12px;
}

.payment-bar,
.beija-share {
  height: 6px;
  margin: 8px 0;
  border-radius: 99px;
  background: #eaecf0;
  overflow: hidden;
}

.payment-bar i,
.beija-share i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--moss));
}

.payment-row-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.data-table th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  color: #667085;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 150ms ease;
}

.data-table tbody tr:hover {
  background: #fcf4fc;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.cell-title {
  display: block;
  max-width: 330px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.28;
}

.cell-subtitle {
  display: block;
  max-width: 280px;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.numeric-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.numeric-cell strong {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.tag,
.type-badge {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 99px;
  color: var(--forest);
  background: #fcf4fc;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.type-badge.checkout {
  color: #007f76;
  background: #ecfdfb;
}

.type-badge.campaign {
  color: #b54708;
  background: #fffaeb;
}

.progress-cell {
  min-width: 115px;
}

.mini-progress {
  width: 100%;
  height: 5px;
  margin-top: 5px;
  border-radius: 99px;
  background: #eaecf0;
  overflow: hidden;
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--moss));
}

.beija-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.beija-summary > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fafb;
}

.beija-summary > div:first-child {
  color: #fff;
  border-color: var(--forest);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(0, 169, 157, 0.36),
      transparent 48%
    ),
    linear-gradient(145deg, var(--forest), var(--forest-deep));
}

.beija-summary strong,
.beija-summary span,
.beija-summary small {
  display: block;
}

.beija-summary strong {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}

.beija-summary span,
.beija-summary small {
  color: currentColor;
  font-size: 8px;
  opacity: 0.7;
}

.beija-summary span {
  text-transform: uppercase;
}

.beija-summary small {
  margin-top: 4px;
}

.beija-channel-grid {
  display: grid;
  margin-top: 12px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.beija-channel {
  padding: 17px;
  border: 1px solid rgba(0, 169, 157, 0.18);
  border-radius: 12px;
  background: #f0fdfb;
}

.beija-channel.bump {
  border-color: rgba(145, 8, 139, 0.16);
  background: #fcf4fc;
}

.beija-channel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.beija-channel-heading span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.beija-channel-heading strong {
  font-family: var(--display);
  font-size: 18px;
}

.beija-channel-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.beija-channel-metrics span {
  color: var(--ink-soft);
  font-size: 8px;
}

.beija-channel-metrics strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 11px;
}

.combo-performance {
  margin-top: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.combo-performance-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
}

.combo-performance-heading strong {
  font-family: var(--display);
  font-size: 12px;
}

.combo-performance-heading span {
  color: var(--ink-soft);
  font-size: 8px;
}

.combo-list {
  display: grid;
  margin-top: 14px;
  gap: 8px;
}

.combo-row {
  display: grid;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(90px, auto));
  gap: 8px 18px;
}

.combo-row:last-child {
  border-bottom: 0;
}

.combo-row strong {
  font-size: 9px;
}

.combo-row span {
  color: var(--ink-soft);
  font-size: 8px;
}

.combo-row div strong,
.combo-row div span {
  display: block;
}

.combo-row .combo-units {
  color: var(--forest);
  font-family: var(--display);
  font-size: 10px;
  text-align: right;
}

.section-statline {
  display: grid;
  margin: 15px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.nav-item[hidden],
.view[hidden],
.sync-coverage small[hidden] {
  display: none !important;
}

.is-creations-restricted .sidebar-caption::after {
  content: " · VAQUINHAS";
}

.creation-scope-note {
  display: flex;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid rgba(0, 169, 157, 0.2);
  border-radius: 12px;
  align-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(0, 169, 157, 0.11), transparent 32%),
    #f7fffe;
}

.scope-note-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--moss);
  font-size: 17px;
  place-items: center;
}

.creation-scope-note strong,
.creation-scope-note p {
  display: block;
  margin: 0;
}

.creation-scope-note strong {
  font-family: var(--display);
  font-size: 12px;
}

.creation-scope-note p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.creation-performance-table {
  min-width: 1220px;
}

.source-pill,
.status-pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 99px;
  font-size: 7.5px;
  font-weight: 750;
  white-space: nowrap;
}

.source-pill {
  color: var(--forest);
  background: #fcf4fc;
}

.status-pill {
  color: #475467;
  background: #f2f4f7;
}

.status-pill.open {
  color: #007d74;
  background: #eafaf8;
}

.status-pill.closed {
  color: #8a3b08;
  background: #fff3e8;
}

.statline-item {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--moss);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.statline-item.is-featured {
  border-color: rgba(145, 8, 139, 0.18);
  border-top-color: var(--magenta);
  background: linear-gradient(145deg, #fff 25%, #fcf4fc 100%);
}

.revenue-total-cell strong {
  color: var(--magenta);
}

.statline-item strong,
.statline-item span {
  display: block;
}

.statline-item strong {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
}

.statline-item span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8px;
  text-transform: uppercase;
}

.inline-search {
  display: flex;
  width: 240px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  align-items: center;
  gap: 7px;
  background: #fff;
}

.inline-search input {
  width: 100%;
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.creation-card {
  position: relative;
  min-height: 145px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.creation-card::after {
  position: absolute;
  right: -18px;
  bottom: -21px;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(0, 169, 157, 0.16);
  border-radius: 50%;
  content: "";
}

.creation-card time {
  color: var(--moss);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.creation-card h3 {
  margin: 10px 0 13px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.creation-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.segmented-control {
  display: inline-flex;
  margin: 16px 0 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.record-count {
  padding: 6px 9px;
  border-radius: 99px;
  color: var(--ink-soft);
  background: #f2f4f7;
  font-size: 8px;
  white-space: nowrap;
}

.pagination {
  display: flex;
  min-height: 41px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  align-items: flex-end;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 9px;
}

.pagination-buttons {
  display: flex;
  gap: 6px;
}

.pagination button {
  width: 31px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
}

.pagination button:hover:not(:disabled) {
  color: #fff;
  background: var(--forest);
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.crm-hero {
  position: relative;
  display: flex;
  min-height: 160px;
  margin-top: 15px;
  padding: 30px;
  border-radius: 16px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(
    120deg,
    var(--forest) 0%,
    #6f287f 46%,
    var(--sky) 76%,
    var(--moss) 100%
  );
  box-shadow: 0 7px 30px -10px rgba(145, 8, 139, 0.3);
  overflow: hidden;
}

.crm-hero::after {
  position: absolute;
  right: 20%;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 255, 255, 0.025),
    0 0 0 70px rgba(255, 255, 255, 0.015);
  content: "";
}

.crm-hero .eyebrow {
  color: #fff;
  opacity: 0.78;
}

.crm-hero h2 {
  font-size: 27px;
}

.crm-hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.crm-hero-number {
  position: relative;
  z-index: 1;
  padding-right: 15px;
  text-align: right;
}

.crm-hero-number strong,
.crm-hero-number span {
  display: block;
}

.crm-hero-number strong {
  color: #fff;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.crm-hero-number span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
}

.contact-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.contact-avatar {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 50%;
  color: var(--forest);
  background: #fcf4fc;
  font-family: var(--display);
  font-size: 12px;
  place-items: center;
  vertical-align: middle;
}

.contact-name {
  display: inline-block;
  max-width: 210px;
  vertical-align: middle;
}

.contact-name strong,
.contact-name span {
  display: block;
}

.contact-name strong {
  font-size: 10px;
}

.contact-name span {
  max-width: 210px;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.relationship-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.relationship-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.relationship-dots .donor {
  background: var(--moss);
}

.relationship-dots .buyer {
  background: var(--coral);
}

.relationship-dots .creator {
  background: var(--gold);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 24, 40, 0.4);
  backdrop-filter: blur(3px);
}

.contact-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(440px, 94vw);
  padding: 32px;
  background: #fff;
  box-shadow: -25px 0 70px rgba(16, 24, 40, 0.18);
  transform: translateX(105%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
}

.contact-drawer.is-open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 21px;
  place-items: center;
}

.drawer-profile {
  padding: 12px 0 25px;
  border-bottom: 1px solid var(--line);
}

.drawer-profile .contact-avatar {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  font-size: 20px;
}

.drawer-profile h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
}

.drawer-profile p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.drawer-metrics {
  display: grid;
  margin: 18px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.drawer-metric {
  padding: 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #f9fafb;
}

.drawer-metric strong,
.drawer-metric span {
  display: block;
}

.drawer-metric strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.drawer-metric span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 7px;
  text-transform: uppercase;
}

.drawer-section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.drawer-section h3 {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-item {
  position: relative;
  padding-left: 20px;
}

.activity-item::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 1px var(--moss);
  content: "";
}

.activity-item.checkout::before {
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
}

.activity-item.campaign-created::before {
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.activity-item strong {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.25;
}

.activity-item span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8px;
}

.loading-screen,
.error-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--forest-deep),
    var(--forest) 48%,
    var(--sky) 78%,
    var(--moss)
  );
  place-content: center;
  text-align: center;
}

.loading-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.loading-brand {
  width: 228px;
  height: auto;
  margin: auto;
  padding: 13px 17px;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 42px -18px rgba(34, 7, 50, 0.48);
}

.loading-screen p {
  margin: 20px 0 13px;
  font-family: var(--body);
  font-size: 15px;
}

.loading-line {
  width: 190px;
  height: 2px;
  margin: auto;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.loading-line span {
  display: block;
  width: 50%;
  height: 100%;
  background: #fff;
  animation: loading 1.2s ease-in-out infinite;
}

.error-screen[hidden] {
  display: none;
}

.error-card {
  width: min(410px, calc(100vw - 36px));
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.error-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  margin: auto;
  border-radius: 50%;
  color: var(--forest);
  background: #fff;
  font-family: var(--display);
  font-size: 25px;
  place-items: center;
}

.error-card h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}

.error-card p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.5;
}

.error-card button {
  padding: 10px 18px;
  border: 0;
  border-radius: 99px;
  color: var(--forest);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  50% {
    box-shadow: 0 0 0 8px rgba(0, 169, 157, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loading {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(210%);
  }
}

@media (max-width: 1350px) {
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1180px) {
  .filter-panel {
    flex-wrap: wrap;
  }

  .section-statline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .revenue-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    min-width: 240px;
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    width: 242px;
    transform: translateX(-105%);
    transition: transform 260ms ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
    box-shadow: 30px 0 80px rgba(16, 24, 40, 0.22);
  }

  .main-content {
    width: 100%;
    margin-left: 0;
    padding: 0 22px 42px;
  }

  .menu-button {
    display: grid;
    flex: 0 0 auto;
    gap: 3px;
  }

  .menu-button span {
    width: 14px;
    height: 1px;
    background: var(--forest);
  }

  .topbar {
    min-height: 112px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .creation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .main-content {
    padding: 0 14px 35px;
  }

  .topbar {
    min-height: 100px;
    gap: 10px;
  }

  .page-heading h1 {
    font-size: 27px;
  }

  .page-heading p,
  .sync-status {
    display: none;
  }

  .filter-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
  }

  .period-shortcuts,
  .search-field {
    grid-column: 1 / -1;
  }

  .period-shortcuts {
    max-width: none;
    flex-wrap: wrap;
    overflow: visible;
  }

  .period-shortcuts button {
    flex: 1 1 calc(25% - 5px);
  }

  .filter-field {
    min-width: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .filter-field select {
    width: 100%;
    max-width: none;
  }

  .filter-source-field {
    min-width: 0;
  }

  .multi-select-menu {
    left: 0;
    width: min(280px, calc(100vw - 44px));
  }

  .search-field {
    min-width: 0;
    min-height: 38px;
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .clear-filters {
    grid-column: 1 / -1;
    padding: 8px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .revenue-section {
    padding: 19px;
  }

  .revenue-heading {
    display: block;
  }

  .revenue-heading p {
    margin-top: 9px;
  }

  .revenue-grid,
  .beija-summary,
  .beija-channel-grid {
    grid-template-columns: 1fr;
  }

  .revenue-card.is-wide {
    min-height: 122px;
  }

  .beija-channel-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .combo-performance-heading {
    display: block;
  }

  .combo-performance-heading span {
    display: block;
    margin-top: 3px;
  }

  .combo-row {
    grid-template-columns: 1fr auto;
  }

  .combo-row > span {
    text-align: right;
  }

  .payment-row-meta {
    flex-wrap: wrap;
  }

  .metric-card {
    min-height: 127px;
    padding: 15px;
  }

  .metric-value {
    font-size: 24px;
  }

  .insight-banner {
    padding: 20px 19px;
  }

  .insight-orbit {
    display: none;
  }

  .insight-banner p {
    font-size: 14px;
  }

  .panel {
    padding: 17px;
    border-radius: var(--radius-lg);
  }

  .chart-wrap {
    min-height: 120px;
  }

  .panel-heading-responsive {
    display: block;
  }

  .inline-search {
    width: 100%;
    margin-top: 12px;
  }

  .section-statline {
    grid-template-columns: 1fr 1fr;
  }

  .creation-scope-note {
    padding: 15px;
    align-items: flex-start;
  }

  .creation-grid {
    grid-template-columns: 1fr;
  }

  .segmented-control {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
  }

  .segmented-control button {
    flex: 0 0 auto;
  }

  .crm-hero {
    min-height: 190px;
    padding: 23px;
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-hero-number {
    margin-top: 18px;
    padding: 0;
    text-align: left;
  }

  .crm-hero-number strong {
    font-size: 38px;
  }

  .contact-drawer {
    padding: 26px 20px;
  }
}

@media (max-width: 420px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 111px;
  }

  .metric-value {
    margin-top: 12px;
  }

  .section-statline {
    grid-template-columns: 1fr;
  }

  .drawer-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* MCP settings */

.settings-view {
  padding-top: 20px;
}

.settings-hero {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: clamp(28px, 4vw, 50px);
  border-radius: 18px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  background:
    radial-gradient(
      circle at 83% 20%,
      rgba(108, 224, 216, 0.25),
      transparent 25%
    ),
    linear-gradient(118deg, #6f086b 0%, #91088b 55%, #70467e 100%);
  box-shadow: 0 18px 42px -28px rgba(86, 5, 82, 0.68);
  overflow: hidden;
}

.settings-hero::before {
  position: absolute;
  width: 310px;
  height: 310px;
  top: -175px;
  right: -65px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.018);
  content: "";
}

.settings-hero-copy,
.settings-hero-status {
  position: relative;
  z-index: 1;
}

.settings-hero-copy {
  max-width: 650px;
}

.settings-kicker {
  display: block;
  margin-bottom: 12px;
  color: #7aebe3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.settings-hero h2 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.settings-hero-copy p {
  max-width: 600px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

.settings-hero-status {
  display: flex;
  min-width: 250px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.settings-shield {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 11px 11px 11px 4px;
  flex: 0 0 auto;
  color: #6ce0d8;
  background: rgba(108, 224, 216, 0.13);
  font-size: 15px;
  font-weight: 800;
  place-items: center;
}

.settings-hero-status strong,
.settings-hero-status span {
  display: block;
}

.settings-hero-status strong {
  font-size: 10px;
}

.settings-hero-status span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.settings-grid,
.settings-guides {
  display: grid;
  margin-top: 14px;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 14px;
}

.settings-guides {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-card-intro {
  max-width: 620px;
  margin: -4px 0 22px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.settings-private-badge {
  padding: 6px 9px;
  border: 1px solid #d7f1ef;
  border-radius: 99px;
  color: #008e84;
  background: #f0fbfa;
  font-size: 8px;
  font-weight: 750;
}

.credential-field {
  display: grid;
  margin-top: 14px;
  gap: 7px;
}

.credential-field > span {
  color: #344054;
  font-size: 9px;
  font-weight: 700;
}

.credential-control {
  display: flex;
  min-height: 48px;
  padding: 4px;
  border: 1px solid #dfe3e8;
  border-radius: 11px;
  align-items: center;
  gap: 4px;
  background: #f9fafb;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.credential-control:focus-within {
  border-color: rgba(145, 8, 139, 0.42);
  box-shadow: 0 0 0 4px rgba(145, 8, 139, 0.06);
}

.credential-control input {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 0;
  flex: 1;
  color: #344054;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  outline: none;
}

.credential-control input::placeholder {
  color: #98a2b3;
}

.credential-copy,
.credential-reveal {
  min-width: 62px;
  height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 750;
}

.credential-copy {
  color: #fff;
  background: var(--forest);
}

.credential-copy:hover {
  background: var(--forest-deep);
}

.credential-reveal {
  color: var(--forest);
  background: #f9edf8;
}

.credential-reveal:hover {
  background: #f4e1f3;
}

.credential-copy:disabled,
.credential-reveal:disabled {
  cursor: wait;
  opacity: 0.55;
}

.settings-feedback {
  min-height: 18px;
  margin: 12px 0 0;
  color: #667085;
  font-size: 8px;
  line-height: 1.45;
}

.settings-feedback.is-success {
  color: #008e84;
}

.settings-feedback.is-error {
  color: #c11574;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.capability-list > div {
  display: flex;
  min-height: 66px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: flex-start;
  gap: 10px;
  background: #f9fafb;
}

.capability-list > div > span {
  color: var(--moss);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.capability-list p,
.capability-list strong {
  display: block;
}

.capability-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.45;
}

.capability-list strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 9px;
}

.connection-guide-heading {
  display: flex;
  margin-bottom: 22px;
  align-items: center;
  gap: 12px;
}

.connection-guide-heading h2 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.tool-monogram {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px 13px 13px 4px;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 12px 24px -15px rgba(145, 8, 139, 0.75);
  font-size: 9px;
  font-weight: 800;
  place-items: center;
}

.tool-monogram-claude {
  color: #5e3b26;
  background: #e8b58f;
  box-shadow: 0 12px 24px -15px rgba(111, 68, 37, 0.55);
}

.guide-steps {
  display: grid;
  margin: 0 0 18px;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.guide-steps li > span {
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid #e5d3e4;
  border-radius: 50%;
  flex: 0 0 auto;
  color: var(--forest);
  background: #fcf4fc;
  font-size: 8px;
  font-weight: 800;
  place-items: center;
}

.guide-steps p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.guide-steps code {
  color: var(--ink);
  font-size: 0.95em;
}

.code-snippet {
  margin-top: 10px;
  border: 1px solid #283240;
  border-radius: 11px;
  background: #182230;
  overflow: hidden;
}

.code-snippet-heading {
  display: flex;
  min-height: 34px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: space-between;
  color: #98a2b3;
  font-size: 8px;
}

.code-snippet-heading button {
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  color: #7aebe3;
  background: rgba(108, 224, 216, 0.08);
  font-size: 7px;
  font-weight: 700;
}

.code-snippet pre {
  max-width: 100%;
  margin: 0;
  padding: 14px;
  color: #eef4f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
  line-height: 1.65;
  overflow-x: auto;
}

.settings-security-note {
  display: flex;
  margin-top: 14px;
  padding: 15px 18px;
  border: 1px solid #d7f1ef;
  border-radius: 12px;
  align-items: flex-start;
  gap: 11px;
  color: #39716d;
  background: #f2fbfa;
}

.settings-security-note > span {
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
  color: #fff;
  background: var(--moss);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  place-items: center;
}

.settings-security-note p {
  margin: 2px 0 0;
  font-size: 8px;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .settings-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-hero-status {
    min-width: 0;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .settings-view {
    padding-top: 14px;
  }

  .settings-hero {
    min-height: 0;
    padding: 26px 22px;
  }

  .settings-hero h2 {
    font-size: 32px;
  }

  .settings-hero-status {
    width: 100%;
  }

  .settings-guides {
    grid-template-columns: 1fr;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .credential-control-secret {
    flex-wrap: wrap;
  }

  .credential-control-secret input {
    flex-basis: calc(100% - 8px);
  }

  .credential-control-secret .credential-reveal,
  .credential-control-secret .credential-copy {
    flex: 1;
  }
}

/* Access experience */

.logout-button {
  display: flex;
  width: 100%;
  margin-top: 10px;
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  align-items: center;
  gap: 9px;
  color: #667085;
  background: transparent;
  font-size: 10px;
  font-weight: 650;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.logout-button:hover {
  color: var(--forest);
  background: #fcf4fc;
}

.logout-button > span:first-child {
  display: inline-grid;
  width: 20px;
  height: 20px;
  border: 1px solid #d0d5dd;
  border-radius: 50%;
  place-items: center;
}

.logout-button.is-loading {
  opacity: 0.55;
}

.login-page {
  color: #182230;
  background: #fff;
}

.login-shell {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(500px, 1.08fr) minmax(440px, 0.92fr);
}

.login-story {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: clamp(34px, 5vw, 74px);
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #91088b;
  isolation: isolate;
  overflow: hidden;
}

.login-story::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.13) 0.75px, transparent 0.75px);
  background-size: 14px 14px;
  content: "";
  opacity: 0.23;
  mask-image: linear-gradient(125deg, #000, transparent 75%);
}

.login-story::after {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -190px;
  bottom: -180px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(255, 255, 255, 0.025),
    0 0 0 105px rgba(255, 255, 255, 0.018);
  content: "";
}

.login-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.login-glow-one {
  width: 410px;
  height: 410px;
  top: -230px;
  right: -90px;
  background: rgba(0, 169, 157, 0.28);
}

.login-glow-two {
  width: 240px;
  height: 240px;
  left: -150px;
  bottom: 9%;
  background: rgba(255, 255, 255, 0.07);
}

.login-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  padding: 13px 18px;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 42px -18px rgba(34, 7, 50, 0.48);
  animation: login-rise 650ms 80ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.login-brand img {
  width: clamp(168px, 14vw, 216px);
  height: auto;
}

.login-story-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: auto 0;
  padding: clamp(80px, 12vh, 150px) 0 72px;
}

.login-story-copy h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.25vw, 76px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.99;
  animation: login-rise 760ms 240ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.login-story-copy h1 em {
  position: relative;
  color: #6ce0d8;
  font-style: normal;
  white-space: nowrap;
}

.login-story-copy h1 em::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 4px;
  height: 5px;
  border: solid #6ce0d8;
  border-width: 2px 0 0;
  border-radius: 50%;
  content: "";
  opacity: 0.68;
  transform: rotate(-1deg);
}

.login-story-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: login-rise 700ms 380ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.login-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ce0d8;
  box-shadow: 0 0 0 6px rgba(108, 224, 216, 0.13);
}

.login-orbit {
  position: absolute;
  z-index: 1;
  width: min(41vw, 590px);
  height: min(41vw, 590px);
  right: max(-21vw, -300px);
  top: 23%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
  animation: orbit-breathe 8s ease-in-out infinite;
}

.login-orbit span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: inherit;
}

.login-orbit span:first-child {
  inset: 54px;
}

.login-orbit span:nth-child(2) {
  inset: 112px;
}

.login-orbit i {
  position: absolute;
  width: 13px;
  height: 13px;
  top: 17%;
  left: 8.5%;
  border: 3px solid #91088b;
  border-radius: 50%;
  background: #6ce0d8;
  box-shadow: 0 0 0 1px rgba(108, 224, 216, 0.55);
}

.login-access {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 52px clamp(38px, 7vw, 112px) 32px;
  align-items: center;
  background:
    radial-gradient(circle at 86% 9%, rgba(145, 8, 139, 0.045), transparent 25%),
    #fff;
}

.login-card {
  width: min(100%, 430px);
  margin: 0 auto;
  animation: login-card-in 720ms 160ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.login-card-mark {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: 14px 14px 14px 4px;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 15px 30px -13px rgba(145, 8, 139, 0.52);
  place-items: center;
  transform: rotate(-3deg);
}

.login-card-mark span {
  font-size: 19px;
  font-weight: 800;
  transform: rotate(3deg);
}

.login-card-kicker {
  color: var(--forest);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.21em;
}

.login-card h2 {
  margin: 9px 0 10px;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.login-card-intro {
  max-width: 370px;
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.65;
}

.login-form {
  display: grid;
  margin-top: 36px;
  gap: 20px;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-field > span:first-child {
  color: #344054;
  font-size: 10px;
  font-weight: 700;
}

.login-input-wrap {
  position: relative;
  display: flex;
  height: 52px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.025);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.login-input-wrap:focus-within {
  border-color: rgba(145, 8, 139, 0.52);
  box-shadow: 0 0 0 4px rgba(145, 8, 139, 0.07);
  transform: translateY(-1px);
}

.login-input-wrap > svg {
  width: 18px;
  height: 18px;
  margin-left: 16px;
  fill: none;
  stroke: #98a2b3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.login-input-wrap input {
  min-width: 0;
  height: 100%;
  padding: 0 15px;
  border: 0;
  outline: 0;
  flex: 1;
  background: transparent;
  font-size: 12px;
}

.login-input-wrap input::placeholder {
  color: #b3bac5;
}

.password-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  margin-right: 4px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: #98a2b3;
  background: transparent;
  place-items: center;
}

.password-toggle:hover,
.password-toggle.is-visible {
  color: var(--forest);
  background: #fcf4fc;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.login-message {
  margin-top: -5px;
  padding: 11px 13px;
  border: 1px solid #f6d4e7;
  border-radius: 10px;
  color: #a81568;
  background: #fff5fa;
  font-size: 10px;
  line-height: 1.4;
}

.login-submit {
  position: relative;
  display: flex;
  height: 54px;
  margin-top: 2px;
  padding: 0 17px 0 21px;
  border: 0;
  border-radius: 12px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 14px 28px -14px rgba(145, 8, 139, 0.75);
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.login-submit::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.16), transparent 70%);
  content: "";
  transform: translateX(-110%);
  transition: transform 520ms ease;
}

.login-submit:hover:not(:disabled) {
  background: #7f087a;
  box-shadow: 0 17px 32px -14px rgba(145, 8, 139, 0.82);
  transform: translateY(-2px);
}

.login-submit:hover::before {
  transform: translateX(110%);
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.82;
}

.login-submit.is-success {
  background: #008e84;
}

.login-submit svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.login-submit:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.login-submit.is-loading svg {
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: login-spin 700ms linear infinite;
}

.login-submit.is-loading svg > * {
  display: none;
}

.login-security-note {
  display: flex;
  margin-top: 22px;
  align-items: center;
  gap: 9px;
  color: #98a2b3;
  font-size: 9px;
  line-height: 1.4;
}

.login-security-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: #00a99d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.login-access-footer {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  color: #b0b7c3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes login-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes login-card-in {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes orbit-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .login-shell {
    grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  }

  .login-story {
    padding: 36px;
  }

  .login-story-copy h1 {
    font-size: clamp(38px, 5.7vw, 58px);
  }

  .login-access {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (max-width: 760px) {
  .login-shell {
    display: block;
    min-height: 100svh;
    background: #91088b;
  }

  .login-story {
    min-height: 300px;
    padding: 28px 24px 54px;
  }

  .login-brand img {
    width: 154px;
  }

  .login-story-footer {
    display: none;
  }

  .login-story-copy {
    margin: 54px 0 0;
    padding: 0;
  }

  .login-story-copy h1 {
    max-width: 440px;
    margin: 18px 0 0;
    font-size: clamp(34px, 10vw, 48px);
  }

  .login-orbit {
    width: 330px;
    height: 330px;
    top: 28%;
    right: -210px;
  }

  .login-access {
    min-height: calc(100svh - 276px);
    margin-top: -24px;
    padding: 43px 24px 70px;
    border-radius: 25px 25px 0 0;
  }

  .login-card {
    max-width: 460px;
  }

  .login-card-mark {
    display: none;
  }

  .login-card h2 {
    font-size: 31px;
  }

  .login-form {
    margin-top: 28px;
  }
}

@media (max-width: 400px) {
  .login-story {
    min-height: 270px;
  }

  .login-story-copy {
    margin-top: 42px;
  }

  .login-story-copy h1 {
    font-size: 32px;
  }

  .login-access {
    min-height: calc(100svh - 246px);
    padding-top: 36px;
  }
}

/* Google Ads: aquisição conectada ao resultado real das vaquinhas. */
.google-nav-icon {
  color: #4285f4;
  background: conic-gradient(from -45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 900;
  -webkit-text-fill-color: transparent;
}

.google-ads-view {
  --google-blue: #4285f4;
  --google-green: #34a853;
  --google-yellow: #fbbc05;
  --google-red: #ea4335;
}

.google-campaign-banner {
  position: relative;
  display: flex;
  min-height: 116px;
  margin: 15px 0 12px;
  padding: 22px 24px;
  align-items: center;
  gap: 17px;
  border: 1px solid #dbe7ff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 10%, rgba(66, 133, 244, 0.13), transparent 32%),
    linear-gradient(120deg, #fff 0%, #f7faff 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.google-campaign-banner::after {
  position: absolute;
  right: -42px;
  bottom: -74px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(66, 133, 244, 0.14);
  border-radius: 50%;
  content: "";
}

.google-campaign-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: conic-gradient(from -45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  box-shadow: 0 12px 28px rgba(66, 133, 244, 0.22);
  font-size: 24px;
  font-weight: 800;
}

.google-campaign-banner h2 {
  margin: 5px 0 4px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.google-campaign-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.google-campaign-status {
  z-index: 1;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.google-campaign-status.is-enabled {
  border-color: #a7e2bd;
  color: #087a37;
  background: #ecfdf3;
}

.google-ads-loading,
.google-ads-error {
  display: flex;
  min-height: 54px;
  margin: 12px 0;
  padding: 14px 18px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbe7ff;
  border-radius: var(--radius-md);
  color: #36598e;
  background: #f5f8ff;
  font-size: 10px;
  font-weight: 700;
}

.google-ads-error {
  align-items: flex-start;
  flex-direction: column;
  border-color: #fecdca;
  color: #b42318;
  background: #fffbfa;
}

.google-kpi-grid {
  display: grid;
  margin: 12px 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.google-kpi-card,
.google-revenue-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.google-kpi-card {
  min-height: 128px;
  border-top: 3px solid var(--google-blue);
}

.google-kpi-card:nth-child(4n + 2) { border-top-color: var(--google-green); }
.google-kpi-card:nth-child(4n + 3) { border-top-color: var(--google-yellow); }
.google-kpi-card:nth-child(4n + 4) { border-top-color: var(--google-red); }

.google-kpi-card > span,
.google-revenue-card > span {
  display: block;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
}

.google-kpi-card strong,
.google-revenue-card strong {
  display: block;
  margin: 16px 0 8px;
  color: #1a5cc8;
  font-size: clamp(19px, 2vw, 27px);
  letter-spacing: -0.04em;
}

.google-kpi-card small,
.google-revenue-card small {
  display: block;
  color: #98a2b3;
  font-size: 8px;
  line-height: 1.45;
}

.google-revenue-grid {
  display: grid;
  margin: 12px 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.google-revenue-card {
  min-height: 118px;
  background: linear-gradient(150deg, #fff, #fbf9fc);
}

.google-revenue-card strong {
  color: var(--forest);
}

.google-revenue-card.is-featured {
  border-color: rgba(145, 8, 139, 0.24);
  background: #fff1f8;
}

.google-revenue-card.is-roas {
  color: #fff;
  border-color: #1769e0;
  background: linear-gradient(145deg, #246fdb, #174ea6);
}

.google-revenue-card.is-roas span,
.google-revenue-card.is-roas small,
.google-revenue-card.is-roas strong {
  color: #fff;
}

.google-attribution-note {
  display: flex;
  margin: 12px 0;
  padding: 16px 20px;
  align-items: center;
  gap: 14px;
  border: 1px solid #b8e9e4;
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, #f7fffe, #eefcfb);
}

.google-attribution-note strong {
  font-size: 11px;
}

.google-attribution-note p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.google-performance-grid {
  margin-top: 12px;
}

.legend-google-cost,
.legend-google-created {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 2px;
  background: var(--google-blue);
}

.legend-google-created {
  border-radius: 50%;
  background: var(--forest);
}

.google-cost-bar {
  fill: rgba(66, 133, 244, 0.72);
}

.google-created-line {
  fill: none;
  stroke: var(--forest);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.google-created-dot {
  fill: #fff;
  stroke: var(--forest);
  stroke-width: 2.5;
}

.google-action-list {
  display: grid;
  gap: 8px;
}

.google-action-list > div {
  display: flex;
  padding: 12px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 9px;
  background: #fcfcfd;
}

.google-action-list span {
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.4;
}

.google-action-list strong {
  color: var(--google-blue);
  font-size: 17px;
}

.google-daily-table td:first-child {
  white-space: nowrap;
}

@media (max-width: 1250px) {
  .google-kpi-grid,
  .google-revenue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .google-campaign-banner {
    padding: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .google-campaign-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 19px;
  }

  .google-campaign-status {
    margin-left: 0;
  }

  .google-kpi-grid,
  .google-revenue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .google-kpi-card,
  .google-revenue-card {
    min-height: 112px;
    padding: 15px;
  }

  .google-kpi-card strong,
  .google-revenue-card strong {
    margin-top: 12px;
    font-size: 20px;
  }

  .google-attribution-note {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .google-kpi-grid,
  .google-revenue-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .google-kpi-card,
  .google-revenue-card {
    padding: 13px;
  }
}
