:root {
  --bg-deep: #07133b;
  --bg-mid: #102f73;
  --bg-accent: #ff4fd8;
  --panel: rgba(15, 23, 52, 0.48);
  --panel-strong: rgba(16, 26, 58, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: rgba(234, 244, 255, 0.72);
  --blue: #67c7ff;
  --cyan: #79f0ff;
  --pink: #ff79dc;
  --green: #82f7c7;
  --orange: #ffb86a;
  --shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --dock-h: 80px;
  --font: 'SF Pro Display', 'Segoe UI Variable', 'Segoe UI', 'Ubuntu', 'Cantarell', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: #050b23;
}

body {
  background-color: #040a20;
  background-image:
    radial-gradient(circle at 18% 72%, rgba(82, 220, 255, 0.18), transparent 24%),
    radial-gradient(circle at 68% 18%, rgba(255, 73, 205, 0.22), transparent 18%),
    linear-gradient(180deg, rgba(4, 8, 24, 0.38), rgba(4, 8, 24, 0.58)), linear-gradient(135deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72)),
    url('../../Background.jpg');
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
}

body::before {
  content: none;
}

.desktop {
  width: 100vw;
  margin: 0;
  height: 100vh;
  padding: 10px 10px calc(var(--dock-h) + 10px);
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
  overflow: hidden;
}

.desktop::after {
  content: none;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px 6px;
  position: relative;
  z-index: 2;
}

.traffic {
  display: flex;
  gap: 6px;
  padding-right: 6px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.traffic span:nth-child(1) {
  background: #ff5f57;
}
.traffic span:nth-child(2) {
  background: #febc2e;
}
.traffic span:nth-child(3) {
  background: #28c840;
}

.workspace-label {
  min-width: 136px;
  padding: 7px 11px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(31, 35, 90, 0.58), rgba(16, 24, 62, 0.42));
  border: 1px solid rgba(121, 240, 255, 0.18);
  box-shadow:
    var(--inner),
    0 0 22px rgba(121, 240, 255, 0.12);
  line-height: 1.1;
}

.workspace-label strong {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workspace-label span,
.workspace-label small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.56rem;
}

.searchbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(61, 27, 102, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: var(--inner);
}

.searchbar svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.searchbar input {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 0.7rem;
  line-height: 1.1;
}

.searchbar input::placeholder {
  color: rgba(245, 248, 255, 0.64);
}

.chip-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.chip {
  padding: 4px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.56rem;
  color: var(--muted);
  backdrop-filter: blur(10px);
  line-height: 1.1;
}

.chip strong {
  display: block;
  color: var(--text);
  font-size: 0.64rem;
  margin-top: 1px;
  font-weight: 600;
}

.shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  height: calc(100vh - 108px);
}

.panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.shell.report-focus {
  grid-template-columns: 1fr;
}

.sidebar,
.shell.report-focus .sidebar {
  display: none;
}

.main-panel {
  padding: 4px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.main-panel::before {
  content: none;
}

.module-screen {
  display: none;
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  animation: fadeUp 0.35s ease;
}

.module-screen.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel:has(.module-screen.tracking-screen.active) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.panel:has(.module-screen.tracking-screen.active) .main-panel {
  padding: 0;
}

.panel:has(.module-screen.tracking-screen.active) .main-panel::before {
  inset: -8px;
  background:
    linear-gradient(115deg, rgba(88, 219, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(255, 119, 216, 0.26), transparent 24%);
}

.module-screen.tracking-screen {
  padding: 14px 6px 12px 14px;
}

.module-screen.tracking-screen.active {
  gap: 14px;
}

body.modal-open {
  overflow: hidden;
}

html,
body,
.module-screen,
.modal-window,
.modal-body,
.report-list.scrollable,
.taskbar-windows,
textarea,
.campaign-builder-stack,
.campaign-criteria-stack,
.campaign-selector-groups,
.campaign-selector-kols,
.campaign-summary-groups,
.campaign-selector-side,
.modal-window.windowed.campaign-modal .modal-body.campaign-flow-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.module-screen::-webkit-scrollbar,
.modal-window::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.report-list.scrollable::-webkit-scrollbar,
.taskbar-windows::-webkit-scrollbar,
textarea::-webkit-scrollbar,
.campaign-builder-stack::-webkit-scrollbar,
.campaign-criteria-stack::-webkit-scrollbar,
.campaign-selector-groups::-webkit-scrollbar,
.campaign-selector-kols::-webkit-scrollbar,
.campaign-summary-groups::-webkit-scrollbar,
.campaign-selector-side::-webkit-scrollbar,
.modal-window.windowed.campaign-modal .modal-body.campaign-flow-body::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.module-screen::-webkit-scrollbar-track,
.modal-window::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.report-list.scrollable::-webkit-scrollbar-track,
.taskbar-windows::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track,
.campaign-builder-stack::-webkit-scrollbar-track,
.campaign-criteria-stack::-webkit-scrollbar-track,
.campaign-selector-groups::-webkit-scrollbar-track,
.campaign-selector-kols::-webkit-scrollbar-track,
.campaign-summary-groups::-webkit-scrollbar-track,
.campaign-selector-side::-webkit-scrollbar-track,
.modal-window.windowed.campaign-modal .modal-body.campaign-flow-body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.module-screen::-webkit-scrollbar-thumb,
.modal-window::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.report-list.scrollable::-webkit-scrollbar-thumb,
.taskbar-windows::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb,
.campaign-builder-stack::-webkit-scrollbar-thumb,
.campaign-criteria-stack::-webkit-scrollbar-thumb,
.campaign-selector-groups::-webkit-scrollbar-thumb,
.campaign-selector-kols::-webkit-scrollbar-thumb,
.campaign-summary-groups::-webkit-scrollbar-thumb,
.campaign-selector-side::-webkit-scrollbar-thumb,
.modal-window.windowed.campaign-modal .modal-body.campaign-flow-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(121, 240, 255, 0.14));
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background-clip: padding-box;
  min-height: 28px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.module-screen::-webkit-scrollbar-thumb:hover,
.modal-window::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.report-list.scrollable::-webkit-scrollbar-thumb:hover,
.taskbar-windows::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover,
.campaign-builder-stack::-webkit-scrollbar-thumb:hover,
.campaign-criteria-stack::-webkit-scrollbar-thumb:hover,
.campaign-selector-groups::-webkit-scrollbar-thumb:hover,
.campaign-selector-kols::-webkit-scrollbar-thumb:hover,
.campaign-summary-groups::-webkit-scrollbar-thumb:hover,
.campaign-selector-side::-webkit-scrollbar-thumb:hover,
.modal-window.windowed.campaign-modal .modal-body.campaign-flow-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(121, 240, 255, 0.18));
  background-clip: padding-box;
}

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

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

.glass-card {
  background: rgba(6, 13, 34, 0.33);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: var(--inner);
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  color: var(--cyan);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero h1,
.hero h2,
.section-title {
  margin: 8px 0 6px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.hero p,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.stats-grid,
.mini-grid,
.report-grid,
.insight-grid,
.campaign-grid,
.tracking-grid,
.account-grid {
  display: grid;
  gap: 12px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 10px;
}

.metric {
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--inner);
}

.metric strong {
  display: block;
  font-size: 1.06rem;
  margin-top: 4px;
}

.metric span {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(18, 43, 82, 0.88), rgba(8, 16, 34, 0.35));
}

.panda-core {
  width: min(100%, 252px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  padding: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.34),
    var(--inner);
  position: relative;
  overflow: hidden;
}

.panda-core::before,
.panda-core::after {
  content: '';
  position: absolute;
  inset: auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.55;
}

.panda-core::before {
  top: 12px;
  left: 22px;
  background: rgba(113, 229, 255, 0.3);
}

.panda-core::after {
  right: 14px;
  bottom: 20px;
  background: rgba(255, 111, 212, 0.28);
}

.panda-svg {
  width: 86%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.38));
}

.panda-caption {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.92rem;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

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

.report-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.report-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.report-top-tile {
  padding-bottom: 10px;
}

.report-list-tile {
  padding-bottom: 8px;
}

.report-tile .section-title {
  margin: 6px 0 4px;
  font-size: 0.92rem;
}

.report-tile .tile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.report-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.report-kpi {
  padding: 6px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.15;
}

.report-kpi strong {
  display: block;
  margin-top: 2px;
  font-size: 0.84rem;
}

.report-kpi span,
.report-kpi small {
  font-size: 0.64rem;
  color: var(--muted);
}

.report-mini-chart {
  height: 78px;
  margin-top: 4px;
}

.report-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.report-list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.report-list.scrollable {
  max-height: 118px;
  overflow-y: auto;
  padding-right: 4px;
}

.report-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
}

.report-meta div {
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.12;
}

.report-meta strong {
  display: block;
  margin-top: 1px;
  font-size: 0.76rem;
  color: var(--text);
}

.module-screen.reports-screen.active {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reports-screen {
  height: 100%;
  max-height: calc(100vh - 198px);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.reports-screen .module-header {
  margin-bottom: 0;
  min-height: 54px;
  flex: 0 0 auto;
}

.reports-screen .module-header .left {
  gap: 8px;
}

.reports-screen .module-header h2 {
  font-size: 1.08rem;
  letter-spacing: -0.018em;
}

.reports-screen .report-board {
  flex: 1;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  overflow: hidden;
}

.reports-screen .glass-card.report-tile {
  padding: 10px 11px;
  border-radius: 18px;
  overflow: hidden;
}

.reports-screen .section-tag {
  padding: 4px 9px;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.reports-screen .section-title {
  margin: 4px 0 3px;
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.reports-screen .muted,
.reports-screen small {
  font-size: 0.66rem;
  line-height: 1.24;
}

.reports-screen .badge {
  padding: 4px 7px;
  font-size: 0.68rem;
}

.reports-screen .ghost-btn {
  padding: 5px 8px;
  font-size: 0.66rem;
  line-height: 1;
  border-radius: 10px;
}

.reports-screen .tile-head {
  margin-bottom: 1px;
  gap: 6px;
}

.reports-screen .tile-head .ghost-btn {
  flex: 0 0 auto;
  margin-top: 1px;
}

.reports-screen .report-kpis {
  gap: 4px;
  margin-top: 5px;
}

.reports-screen .report-kpi {
  padding: 5px 6px;
  border-radius: 9px;
}

.reports-screen .report-kpi strong {
  margin-top: 1px;
  font-size: 0.76rem;
  line-height: 1.05;
}

.reports-screen .report-kpi span,
.reports-screen .report-kpi small {
  font-size: 0.56rem;
  line-height: 1.12;
}

.reports-screen .report-mini-chart {
  height: 62px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.reports-screen .legend {
  gap: 8px;
  font-size: 0.68rem;
  margin-top: 2px;
}

.reports-screen .legend span::before {
  width: 8px;
  height: 8px;
  margin-right: 5px;
}

.reports-screen .report-list {
  gap: 4px;
  margin-top: 5px;
}

.reports-screen .report-list-tile {
  gap: 3px;
  justify-content: space-between;
}

.reports-screen .report-list.scrollable {
  flex: 1 1 auto;
  align-content: start;
  max-height: none;
  overflow: hidden;
  padding-right: 0;
  margin-top: 4px;
}

.reports-screen .report-list.scrollable .top-item:nth-child(n + 4) {
  display: none;
}

.reports-screen .top-item {
  grid-template-columns: 20px 28px 1fr auto;
  gap: 5px;
  padding: 3px 5px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.07);
}

.reports-screen .top-item strong {
  display: block;
  font-size: 0.69rem;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.reports-screen .top-item small {
  margin-top: 1px;
  font-size: 0.54rem;
  line-height: 1.08;
}

.reports-screen .module-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 9px;
}

.reports-screen .module-icon svg {
  width: 15px;
  height: 15px;
}

.reports-screen .rank {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  font-size: 0.62rem;
}

.reports-screen .avatar {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  padding: 2px;
}

.reports-screen .pill-value {
  padding: 2px 5px;
  font-size: 0.58rem;
}

.reports-screen .report-meta {
  gap: 3px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.reports-screen .report-meta div {
  padding: 3px 4px;
  border-radius: 7px;
  font-size: 0.52rem;
  line-height: 1.08;
}

.reports-screen .report-meta strong {
  margin-top: 1px;
  font-size: 0.63rem;
  line-height: 1.05;
}

.report-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 6px 6px 0;
  align-items: stretch;
}

.report-focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 28px 66px rgba(7, 10, 28, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(165%);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}

.report-focus-card.disabled {
  opacity: 0.58;
  cursor: default;
  filter: saturate(0.85);
}

.report-focus-card::before {
  content: '';
  position: absolute;
  inset: auto -14% -26% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.82;
  pointer-events: none;
}

.report-focus-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.report-focus-card > * {
  position: relative;
  z-index: 1;
}

.report-focus-card.revenue::before {
  background: radial-gradient(circle, rgba(82, 233, 255, 0.58), rgba(82, 233, 255, 0));
}

.report-focus-card.performance::before {
  background: radial-gradient(circle, rgba(255, 120, 220, 0.56), rgba(255, 120, 220, 0));
}

.report-focus-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.report-focus-icon {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(8, 10, 28, 0.28);
  overflow: hidden;
}

.report-focus-icon::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  filter: blur(18px);
  opacity: 0.95;
}

.report-focus-card.revenue .report-focus-icon {
  background: linear-gradient(145deg, rgba(39, 117, 255, 0.38), rgba(0, 240, 255, 0.16));
}

.report-focus-card.revenue .report-focus-icon::before {
  background: radial-gradient(circle, rgba(111, 243, 255, 0.78), rgba(61, 118, 255, 0.18));
}

.report-focus-card.performance .report-focus-icon {
  background: linear-gradient(145deg, rgba(255, 64, 182, 0.36), rgba(181, 72, 255, 0.14));
}

.report-focus-card.performance .report-focus-icon::before {
  background: radial-gradient(circle, rgba(255, 118, 223, 0.8), rgba(169, 84, 255, 0.2));
}

.report-focus-icon svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.34));
}

.report-focus-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f2f7ff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-focus-copy {
  display: grid;
  gap: 7px;
}

.report-focus-copy strong {
  display: block;
  font-size: 1.34rem;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.report-focus-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.48;
}

.report-focus-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: auto;
}

.report-focus-stat {
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 4px;
  min-height: 0;
}

.report-focus-stat span,
.report-focus-stat small {
  color: rgba(232, 240, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1.2;
}

.report-focus-stat strong {
  font-size: 1rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.report-focus-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.report-flow-shell {
  display: grid;
  gap: 12px;
  min-height: 100%;
}

.report-detail-shell {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.report-head-minimal {
  gap: 8px;
  align-items: center;
}

.report-head-minimal .campaign-neon-copy {
  gap: 3px;
  max-width: none;
}

.report-head-minimal .campaign-neon-copy h3 {
  font-size: 1.08rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.report-head-minimal .campaign-selector-summary {
  gap: 6px;
}

.report-head-minimal .campaign-selector-stat {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(121, 240, 255, 0.1);
  box-shadow: none;
}

.report-compact-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: flex-start;
  padding: 2px 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.report-compact-stat {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.report-compact-stat small,
.report-compact-stat span {
  color: rgba(228, 236, 255, 0.66);
  font-size: 0.62rem;
  line-height: 1.18;
}

.report-compact-stat strong {
  font-size: 0.8rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.report-detail-hero,
.report-detail-panel {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--inner);
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
}

.report-detail-hero::before,
.report-detail-panel::before {
  content: '';
  position: absolute;
  inset: auto -14% -36% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.64;
  pointer-events: none;
}

.report-detail-hero::before {
  background: radial-gradient(circle, rgba(121, 240, 255, 0.48), rgba(121, 240, 255, 0));
}

.report-detail-panel::before {
  background: radial-gradient(circle, rgba(255, 121, 220, 0.28), rgba(255, 121, 220, 0));
}

.report-detail-hero > *,
.report-detail-panel > * {
  position: relative;
  z-index: 1;
}

.report-detail-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-detail-copy {
  display: grid;
  gap: 4px;
}

.report-detail-copy h3,
.report-panel-head h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.report-detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.34;
}

.report-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.report-detail-metric {
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 2px;
}

.report-detail-metric span,
.report-detail-metric small {
  color: rgba(228, 236, 255, 0.7);
  font-size: 0.64rem;
  line-height: 1.2;
}

.report-detail-metric strong {
  font-size: 0.9rem;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.report-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.report-filter-bar {
  display: grid;
  gap: 8px;
  align-items: center;
}

.report-filter-bar--revenue {
  grid-template-columns: minmax(220px, 1.35fr) repeat(6, minmax(0, 0.88fr));
}

.report-filter-bar--performance {
  grid-template-columns: minmax(220px, 1.45fr) repeat(5, minmax(0, 0.86fr));
}

.report-filter-bar .campaign-builder-input {
  min-width: 0;
}

.report-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.38fr);
  gap: 12px;
  min-height: 0;
}

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

.report-performance-grid.single-panel {
  grid-template-columns: minmax(0, 1fr);
}

.report-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-panel-subcopy {
  display: none;
}

.report-summary-list {
  display: grid;
  gap: 8px;
  max-height: min(65vh, 760px);
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.report-summary-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.report-summary-row:hover {
  transform: translateY(-1px);
  border-color: rgba(121, 240, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.report-summary-row strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.12;
}

.report-summary-row small {
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.22;
}

.report-summary-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.report-table-scroll .table {
  margin-top: 0;
}

.report-empty-state {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1180px) {
  .report-focus-grid,
  .report-detail-grid,
  .report-performance-grid,
  .report-filter-bar,
  .report-detail-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .report-focus-card {
    padding: 22px;
    border-radius: 28px;
  }

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

  .report-detail-hero-top,
  .report-panel-head,
  .report-head-minimal {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-compact-summary {
    gap: 8px 12px;
  }
}

.chart-panel {
  min-height: 215px;
}

.line-chart,
.bar-chart,
.donut-chart,
.stack-chart {
  width: 100%;
  height: 165px;
  margin-top: 8px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.legend span::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}

.legend .blue::before {
  background: var(--blue);
}
.legend .pink::before {
  background: var(--pink);
}
.legend .green::before {
  background: var(--green);
}
.legend .orange::before {
  background: var(--orange);
}

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

.top-item {
  display: grid;
  grid-template-columns: 32px 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.rank {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  color: var(--text);
  font-weight: 700;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px;
}

.top-item small,
.split small,
.timeline-item small,
.user-card small,
.module-copy small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
