:root {
  --bg-base: #f3f5f8;
  --bg-soft: #e6ebf4;
  --card: #ffffff;
  --card-strong: #f8fbff;
  --text: #10223a;
  --muted: #5d7086;
  --accent: #1e0396;
  --accent-strong: #17036e;
  --border: #d5deea;
  --shadow: 0 16px 40px rgba(18, 33, 56, 0.08);
  --page-max: 1560px;
}
  
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 92% 12%, rgba(193, 189, 235, 0.842), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(147, 183, 233, 0.12), transparent 10%),
    linear-gradient(180deg, var(--bg-base), var(--bg-soft));
  color: var(--text);
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.page-generator {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}

.page-generator-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.page-generator-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

body.page-generator {
  position: relative;
}

.page-generator-shell {
  position: relative;
  z-index: 1;
}

.bg-graphic {
  --ink: rgba(16, 34, 58, .92);
  --muted: rgba(16, 34, 58, .18);
  --muted2: rgba(16, 34, 58, .10);
  --card: rgba(255,255,255,.65);
  --border: rgba(16, 34, 58, .16);
  --shadow: 0 18px 44px rgba(18,33,56,.10);
  --glow: 0 12px 30px rgba(46, 68, 140, .18);
  --accent: #1e0396;
  --accent2: #2f00ff;
  --accent3: #17036e;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 10% 20%, rgba(47,0,255,.10), transparent 55%),
    radial-gradient(900px 600px at 75% 65%, rgba(30,3,150,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.50), rgba(255,255,255,.22));
}

.bg-graphic::before{
  content:"";
  position:absolute;
  inset: -10%;
  pointer-events:none;
  opacity: .75;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(16,34,58,.10) 12% 12.6%, transparent 12.6% 100%),
    linear-gradient(90deg, transparent 0 38%, rgba(16,34,58,.08) 38% 38.5%, transparent 38.5% 100%),
    linear-gradient(90deg, transparent 0 68%, rgba(16,34,58,.08) 68% 68.55%, transparent 68.55% 100%),
    linear-gradient(0deg,  transparent 0 18%, rgba(16,34,58,.08) 18% 18.55%, transparent 18.55% 100%),
    linear-gradient(0deg,  transparent 0 52%, rgba(16,34,58,.08) 52% 52.55%, transparent 52.55% 100%),
    linear-gradient(0deg,  transparent 0 78%, rgba(16,34,58,.08) 78% 78.55%, transparent 78.55% 100%),
    linear-gradient(90deg, transparent 0 24%, rgba(47,0,255,.10) 24% 24.6%, transparent 24.6% 100%) 0 18% / 100% 60% no-repeat,
    linear-gradient(0deg,  transparent 0 62%, rgba(47,0,255,.08) 62% 62.6%, transparent 62.6% 100%) 40% 0 / 40% 100% no-repeat,
    radial-gradient(circle at 12% 18%, rgba(47,0,255,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 52%, rgba(16,34,58,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 78%, rgba(30,3,150,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 26%, rgba(16,34,58,.12) 0 2px, transparent 3px),
    radial-gradient(circle at 22% 74%, rgba(16,34,58,.12) 0 2px, transparent 3px);
  filter: blur(.1px);
  transform: rotate(-2deg);
}

.bg-graphic::after{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 30%, rgba(16,34,58,.06) 0 2px, transparent 3px),
    radial-gradient(circle at 60% 40%, rgba(16,34,58,.05) 0 2px, transparent 3px),
    radial-gradient(circle at 35% 75%, rgba(16,34,58,.04) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 70%, rgba(16,34,58,.05) 0 2px, transparent 3px);
  transform: rotate(10deg);
  opacity: .65;
}

.bg-graphic .g-obj{
  position:absolute;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
  padding: 0;
  outline: none;
  user-select: none;
  transform: translateZ(0);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease;
  z-index: 1;
}
.bg-graphic .g-obj:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow), var(--glow);
  border-color: rgba(16,34,58,.22);
}
.bg-graphic .g-obj:focus-visible{
  box-shadow: var(--shadow), 0 0 0 3px rgba(47,0,255,.18), var(--glow);
}
.bg-graphic .g-obj:active{
  transform: translateY(0px) scale(.985);
}

.bg-graphic .pie{
  width: 168px; height: 168px;
  left: 7%; top: 14%;
  border-radius: 28px;
  display:grid; place-items:center;
  isolation:isolate;
}
.bg-graphic .pie-core{
  width: 110px; height: 110px; border-radius: 999px;
  background: conic-gradient(from 210deg,
      rgba(47,0,255,.86) 0 42%,
      rgba(30,3,150,.72) 42% 72%,
      rgba(23,3,110,.62) 72% 100%);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.50);
  position: relative; z-index: 2;
}
.bg-graphic .pie-hole{
  width: 52px; height: 52px; border-radius: 999px;
  background: rgba(255,255,255,.72);
  position:absolute; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(16,34,58,.10);
}
.bg-graphic .pie-shadow{
  position:absolute;
  width: 120px; height: 26px; border-radius: 999px;
  bottom: 22px;
  background: radial-gradient(closest-side, rgba(16,34,58,.18), transparent 70%);
  filter: blur(1px);
  z-index: 1;
}

.bg-graphic .line{
  width: 240px; height: 140px;
  border-radius: 18px;
  padding: 14px;
}
.bg-graphic .line-a{ left: 26%; top: 10%; transform: rotate(-2deg); }
.bg-graphic .line-b{ left: 58%; top: 18%; transform: rotate(3deg); }
.bg-graphic .line-c{ left: 34%; top: 62%; transform: rotate(-1deg); }

.bg-graphic .panel{
  position: relative;
  display:block;
  width: 100%; height: 100%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.40));
  border: 1px solid rgba(16,34,58,.10);
  overflow:hidden;
}
.bg-graphic .grid{
  position:absolute; inset:0;
  background:
    linear-gradient(to right, var(--muted2) 1px, transparent 1px) 0 0 / 26px 100%,
    linear-gradient(to bottom, var(--muted2) 1px, transparent 1px) 0 0 / 100% 22px;
  opacity: .9;
}
.bg-graphic .path{
  position:absolute;
  inset: 10px 10px 16px 10px;
  border-radius: 12px;
}
.bg-graphic .path::before{
  content:"";
  position:absolute; inset:0;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(47,0,255,.95), rgba(30,3,150,.85));
  clip-path: polygon(
    0% 78%, 12% 66%, 24% 72%, 36% 48%, 50% 58%, 62% 34%, 74% 44%, 86% 22%, 100% 30%,
    100% 34%, 86% 26%, 74% 48%, 62% 38%, 50% 62%, 36% 52%, 24% 76%, 12% 70%, 0% 82%
  );
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.45));
}
.bg-graphic .dots{
  position:absolute; inset: 10px 10px 16px 10px; pointer-events:none;
}
.bg-graphic .dots::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 12% 66%, rgba(47,0,255,.90) 0 3px, transparent 4px),
    radial-gradient(circle at 36% 48%, rgba(30,3,150,.85) 0 3px, transparent 4px),
    radial-gradient(circle at 62% 34%, rgba(47,0,255,.90) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 22%, rgba(30,3,150,.85) 0 3px, transparent 4px);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.40));
  opacity: .95;
}
.bg-graphic .line-b .path::before{
  clip-path: polygon(
    0% 62%, 14% 70%, 28% 50%, 40% 58%, 52% 40%, 64% 46%, 76% 28%, 88% 36%, 100% 20%,
    100% 24%, 88% 40%, 76% 32%, 64% 50%, 52% 44%, 40% 62%, 28% 54%, 14% 74%, 0% 66%
  );
}
.bg-graphic .line-c .path::before{
  clip-path: polygon(
    0% 74%, 16% 60%, 30% 64%, 44% 42%, 58% 48%, 72% 30%, 86% 40%, 100% 26%,
    100% 30%, 86% 44%, 72% 34%, 58% 52%, 44% 46%, 30% 70%, 16% 66%, 0% 78%
  );
}

.bg-graphic .bar{
  width: 240px; height: 140px;
  left: 72%; top: 52%;
  padding: 14px;
  transform: rotate(-2deg);
}
.bg-graphic .bars{
  position:absolute;
  left: 14px; right: 14px; bottom: 18px; top: 18px;
  display:flex;
  align-items:flex-end;
  gap: 10px;
}
.bg-graphic .bars::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(to top, rgba(47,0,255,.85), rgba(30,3,150,.78)) left bottom / 14% 48% no-repeat,
    linear-gradient(to top, rgba(30,3,150,.80), rgba(47,0,255,.70)) 22% bottom / 14% 68% no-repeat,
    linear-gradient(to top, rgba(47,0,255,.72), rgba(23,3,110,.62)) 44% bottom / 14% 36% no-repeat,
    linear-gradient(to top, rgba(23,3,110,.70), rgba(47,0,255,.62)) 66% bottom / 14% 78% no-repeat,
    linear-gradient(to top, rgba(47,0,255,.78), rgba(30,3,150,.66)) 88% bottom / 14% 54% no-repeat;
  border-radius: 10px;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.45));
  opacity: .95;
}
.bg-graphic .bar-dots{
  position:absolute; inset: 14px 14px 14px 14px;
  pointer-events:none;
}
.bg-graphic .bar-dots::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 22% 62%, rgba(16,34,58,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 66% 34%, rgba(16,34,58,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 54%, rgba(16,34,58,.12) 0 2px, transparent 3px);
  opacity: .9;
}

.bg-graphic .card{
  width: 180px; height: 96px;
  border-radius: 16px;
  overflow:hidden;
}
.bg-graphic .card-a{ left: 10%; top: 58%; transform: rotate(1deg); }
.bg-graphic .card-b{ left: 18%; top: 78%; transform: rotate(-2deg); }
.bg-graphic .card-c{ left: 52%; top: 44%; transform: rotate(2deg); width: 200px; }

.bg-graphic .card-skel{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.20), rgba(255,255,255,.55), rgba(255,255,255,.20)) 0 0 / 220px 100%,
    linear-gradient(0deg, rgba(16,34,58,.08), rgba(16,34,58,.08)) 16px 18px / 60% 10px no-repeat,
    linear-gradient(0deg, rgba(16,34,58,.06), rgba(16,34,58,.06)) 16px 40px / 80% 10px no-repeat,
    linear-gradient(0deg, rgba(16,34,58,.05), rgba(16,34,58,.05)) 16px 62px / 50% 10px no-repeat,
    radial-gradient(circle at 88% 28%, rgba(47,0,255,.18) 0 10px, transparent 11px);
  opacity: .95;
}

.bg-graphic .feather{
  width: 150px; height: 150px;
  left: 82%; top: 10%;
  border-radius: 28px;
  display:grid;
  place-items:center;
  transform: rotate(6deg);
}
.bg-graphic .feather-core{
  width: 92px; height: 118px;
  position: relative;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,.35));
}
.bg-graphic .feather-core::before{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47,0,255,.86), rgba(30,3,150,.70));
  border-radius: 70% 30% 60% 40% / 60% 30% 70% 40%;
  transform: rotate(-18deg);
  clip-path: polygon(
    50% 0%,
    78% 10%,
    92% 30%,
    86% 56%,
    70% 78%,
    50% 100%,
    28% 82%,
    14% 60%,
    10% 34%,
    18% 12%
  );
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.25);
}
.bg-graphic .feather-core::after{
  content:"";
  position:absolute;
  left: 46%;
  top: 10%;
  width: 6px;
  height: 96px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
  transform: rotate(-18deg);
  box-shadow:
    -18px 10px 0 -2px rgba(255,255,255,.22),
    -14px 22px 0 -2px rgba(255,255,255,.18),
    -10px 34px 0 -2px rgba(255,255,255,.16),
    14px 18px 0 -2px rgba(255,255,255,.20),
    10px 32px 0 -2px rgba(255,255,255,.16),
    8px 46px 0 -2px rgba(255,255,255,.14);
}

@media (prefers-reduced-motion: no-preference){
  .bg-graphic .pie{ animation: bg-float1 6.5s ease-in-out infinite; }
  .bg-graphic .line-a{ animation: bg-float2 7.2s ease-in-out infinite; }
  .bg-graphic .line-b{ animation: bg-float3 8.0s ease-in-out infinite; }
  .bg-graphic .line-c{ animation: bg-float4 7.6s ease-in-out infinite; }
  .bg-graphic .bar{ animation: bg-float3 7.8s ease-in-out infinite; }
  .bg-graphic .card-a{ animation: bg-float2 8.6s ease-in-out infinite; }
  .bg-graphic .card-b{ animation: bg-float4 9.0s ease-in-out infinite; }
  .bg-graphic .card-c{ animation: bg-float1 8.2s ease-in-out infinite; }
  .bg-graphic .feather{ animation: bg-float2 9.2s ease-in-out infinite; }
}

@keyframes bg-float1{ 0%,100%{ transform: translateY(0) rotate(0deg);} 50%{ transform: translateY(-8px) rotate(.6deg);} }
@keyframes bg-float2{ 0%,100%{ transform: translateY(0) rotate(-2deg);} 50%{ transform: translateY(-10px) rotate(-1deg);} }
@keyframes bg-float3{ 0%,100%{ transform: translateY(0) rotate(3deg);} 50%{ transform: translateY(-9px) rotate(2deg);} }
@keyframes bg-float4{ 0%,100%{ transform: translateY(0) rotate(-1deg);} 50%{ transform: translateY(-11px) rotate(0deg);} }

@media (max-width: 900px){
  .bg-graphic{ min-height: 680px; }
  .bg-graphic .pie{ left: 6%; top: 8%; }
  .bg-graphic .line-a{ left: 44%; top: 10%; }
  .bg-graphic .line-b{ left: 10%; top: 40%; }
  .bg-graphic .line-c{ left: 46%; top: 44%; }
  .bg-graphic .bar{ left: 14%; top: 70%; }
  .bg-graphic .card-a{ left: 58%; top: 70%; }
  .bg-graphic .card-b{ left: 10%; top: 86%; }
  .bg-graphic .card-c{ left: 52%; top: 30%; }
  .bg-graphic .feather{ left: 72%; top: 8%; }
}

.page-header,
.intro,
.intro-search-row,
.split,
.status,
.search,
.results {
  width: min(var(--page-max), calc(100% - 28px));
  margin-left: auto;
  margin-right: auto;
}

.page-header {
  padding: 34px 0 16px;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 84px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #1e0396);
}

.page-header h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #17036e;
}

.tagline {
  margin: 0;  
  color: var(--muted);
  font-size: 1rem;
}

.intro {
  padding: 18px 0 24px;
  color: var(--muted);
  max-width: 80ch;
}

.page-menu,
.page-placeholder {
  width: min(var(--page-max), calc(100% - 28px));
  margin-left: auto;
  margin-right: auto;
}

.page-menu {
  padding: 8px 0 6px;
  display: flex;
  justify-content: center;
}

.page-menu-track {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #e9eef6;
  border: 1px solid var(--border);
}

.page-menu-item {
  background: transparent;
  color: #3d4f64;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.page-menu-item:hover {
  transform: none;
  filter: none;
  background: #dde5f2;
}

.page-menu-item.active {
  background: #17036e;
  color: #fff;
}

.page-placeholder {
  padding: 20px 0 28px;
  color: var(--muted);
}

.page-placeholder h3 {
  margin: 0 0 6px;
  color: var(--text);
}

.insight-workbench-section {
  width: 100%;
  margin: 0 auto;
  min-height: 100%;
  background-image: none;
  border-radius: 0;
  box-shadow: inset 0 0 120px 32px rgba(243, 245, 248, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
}

.insight-workbench-panel {
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(1px);
  box-shadow: 0 18px 40px rgba(16, 34, 58, 0.16);
}

.insight-workbench-stack {
  width: min(var(--page-max), 100%);
  display: grid;
  gap: 24px;
}

.insight-workbench-primary {
  width: 100%;
  display: flex;
  justify-content: center;
}

.insight-workbench-primary .insight-workbench-panel {
  width: min(672px, 100%);
}

.insight-workbench-lower {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.insight-workbench-title {
  margin: 0;
  font-size: 24px;
  color: #0e2850;
}

.insight-workbench-copy {
  margin: 0;
  color: #2b4464;
  font-size: 14px;
  line-height: 1.4;
}

.insight-workbench-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.insight-workbench-form label {
  color: #153457;
}

.insight-workbench-form input[type="email"] {
  background: rgba(255, 255, 255, 0.86);
}

.insight-workbench-form .dropzone {
  background: rgba(255, 255, 255, 0.86);
}

.insight-status {
  padding: 0;
}

.insight-status textarea {
  background: rgba(255, 255, 255, 0.88);
}

.insight-support-panel {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  text-decoration: none;
  background:
    radial-gradient(200px at 20% 40%, rgba(255, 221, 0, 0.493), transparent),
    radial-gradient(300px at 80% 70%, rgba(255, 221, 0, 0.425), transparent),
  #f3f5f8; 
  border: 1px solid rgba(255, 221, 0, 0.062);
  border-radius: 21px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(255, 221, 0,0.08);
  backdrop-filter: blur(1px);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.insight-support-title {
  margin: 0;
  font-size: 18px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0e2850;
}

.insight-support-body {
  display: grid;
  align-content: center;
  gap: 14px;
}

.insight-support-copy {
  margin: 0;
  color: #2b4464;
  font-size: 14px;
  line-height: 1.4;
}

.insight-support-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.insight-support-link img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

.insight-nav-panel {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background:
  radial-gradient(at 20% 30%, rgba(47,0,255,0.2), transparent 50%),
  radial-gradient(at 80% 20%, rgba(23,3,110,0.2), transparent 50%),
  radial-gradient(at 50% 80%, rgba(47,0,255,0.1), transparent 60%),
  #f3f5f87c;
  border: 1px solid rgba(245, 245, 245, 0.027);
  border-radius: 21px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(26, 3, 128,0.16);
  backdrop-filter: blur(1px);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.insight-nav-title {
  margin: 0;
  font-size: 18px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0e2850;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.insight-workbench-lower .insight-nav-panel {
  min-height: 100%;
}

.insight-nav-panel:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(16, 34, 58, 0.19);
}

.insight-nav-copy h3 {
  margin: 0 0 4px;
  color: #0e2850;
  font-size: 20px;
}

.insight-nav-copy p {
  margin: 0;
  color: #2b4464;
  font-size: 14px;
  line-height: 1.4;
}

.insight-nav-icon {
  color: #17036e;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}

.chevron {
  --s: 10px;
  height: 44px;
  aspect-ratio: 3/5;
  clip-path: polygon(0 0, var(--s) 0, 100% 50%, var(--s) 100%, 0 100%, calc(100% - var(--s)) 50%);
  background: #1e0396;
  flex: 0 0 auto;
}

.insight-workbench-panel-donate {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  background:
    radial-gradient(at 20% 30%, rgba(0, 0, 0, 0.2), transparent 50%),
    radial-gradient(at 80% 20%, rgba(0, 0, 0, 0.2), transparent 50%),
    radial-gradient(at 50% 80%, rgba(0, 0, 0, 0.1), transparent 60%),
    #f3f5f87c;
  border: 1px solid rgba(245, 245, 245, 0.027);
  border-radius: 21px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(26, 3, 128, 0.16);
  backdrop-filter: blur(1px);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.insight-workbench-panel-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(16, 34, 58, 0.19);
}

.insight-donate-title {
  margin: 0;
  font-size: 18px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.insight-donate-body {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.intro-search-row {
  width: min(var(--page-max), calc(100% - 28px));
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.intro-search-row .intro,
.intro-search-row .search {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.intro-search-row .intro {
  padding: 18px 0 22px;
}

.split {
  display: flex;
  gap: 24px;
  padding: 0 0 24px;
  flex-wrap: wrap;
}

.split-left,
.split-right {
  flex: 1 1 340px;
  min-width: 280px;
}

.image-placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(17, 117, 255, 0.08),
      rgba(17, 117, 255, 0.08) 12px,
      rgba(233, 93, 42, 0.08) 12px,
      rgba(233, 93, 42, 0.08) 24px
    ),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}

.hero-logo {
  max-width: 78%;
  max-height: 72%;
  object-fit: contain;
}

.helper-copy {
  margin: 12px 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.helper-copy a,
.intro a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.helper-copy a:hover,
.intro a:hover {
  text-decoration: underline;
}

.page-header .title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: nowrap;
}

.page-header-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.page-header h1,
.page-header h2,
.page-header h3 {
  margin: 0;
  white-space: nowrap;
}

.page-header h2,
.page-header h3 {
  font-size: 23px;
}

form {
  background: var(--card);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

label {
  font-weight: 600;
  color: #2f415a;
}

input[type="email"],
input[type="text"],
input[type="datetime-local"],
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #8db5f0;
  box-shadow: 0 0 0 3px rgba(17, 117, 255, 0.14);
}

.dropzone {
  position: relative;
  border: 2px dashed #bfd0e8;
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  color: var(--muted);
  background: #f8fbff;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.dropzone.dragging {
  border-color: #1e5fd7;
  background: #eef5ff;
  box-shadow: 0 0 0 3px rgba(30, 95, 215, 0.16);
}

.dropzone.has-file {
  border-color: #198754;
  background: #edf9f2;
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone-label {
  margin: 0;
  font-weight: 600;
}

.dropzone-label.has-file {
  color: #136f44;
}

button {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, filter 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.status {
  padding: 0 0 30px;
}

textarea {
  width: 100%;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  background: var(--card);
}

.search {
  padding: 18px 0 22px;
  display: flex;
  justify-content: flex-end;
  position: relative;
  min-height: 64px;
}

.search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.search-row input[type="email"],
.search-row input[type="text"] {
  min-width: 220px;
}

.search p {
  margin: 8px 0 0;
  width: 100%;
  text-align: right;
}

.search-overlay {
  position: absolute;
  inset: 0 0 22px 0;
  background: rgba(243, 245, 248, 0.72);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.search-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(16, 34, 58, 0.2);
  border-top-color: var(--accent);
  display: inline-block;
  animation: wb-spin 0.8s linear infinite;
}

.results {
  padding: 8px 0 18px;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.results report-workbench {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}

.page-footer {
  width: min(var(--page-max), calc(100% - 28px));
  margin: 8px auto 12px;
  padding-top: 6px;
  text-align: center;
  color: var(--muted);
  flex: 0 0 auto;
}

.page-footer-links {
  font-size: 13px;
  line-height: 1.12;
  margin-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-footer-links a {
  color: #043e77;
  text-decoration: none;
  font-weight: 500;
}

.page-footer-links a:hover {
  text-decoration: underline;
}

.page-footer-copy {
  font-size: 12px;
  line-height: 1.04;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 13px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 8px;
  text-align: left;
}

.results table tbody tr {
  cursor: pointer;
}

.results table tbody tr.is-selected {
  background: #eef4fb;
}

th {
  background: #eef4fb;
  font-weight: 700;
}

.error {
  color: #b42318;
}

.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;
}

.wb-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  position: relative;
}

.wb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 34, 58, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
}

.wb-modal {
  width: min(520px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

.wb-modal h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text);
}

.wb-modal p {
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.4;
}

.wb-error-section,
.wb-global-settings-row {
  grid-column: 1 / -1;
}

.wb-main {
  grid-column: 1;
  flex: 1 1 auto;
}

.wb-error-section {
  width: 100%;
  border: 1px solid #f5c2c7;
  background: #fff5f6;
  color: #7a1622;
  border-radius: 12px;
  padding: 14px 16px;
}

.wb-error-section h4 {
  margin: 0 0 6px;
}

.wb-error-section p {
  margin: 0;
}

.wb-global-settings-row {
  width: 100%;
  padding: 0;
  border: 1px solid #d6dde8;
  border-radius: 10px;
  background: #edfbff;
  overflow: hidden;
}

.wb-global-settings-header {
  display: none;
}

.wb-global-settings-body {
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 68px;
}

.wb-global-setting {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.wb-global-setting label {
  font-size: 12px;
  color: #2f3742;
  font-weight: 500;
  display: none;
}

.wb-global-filter-chip {
  border: 0;
  border-right: 1px solid #d6dde8;
  background: #edfbff;
  color: #7e8794;
  min-width: 190px;
  padding: 0 26px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
}

.wb-global-filter-chip:hover {
  background: #edfbff;
  filter: none;
  transform: none;
}

.wb-global-filter-icon {
  font-size: 24px;
  line-height: 1;
  color: #1e0396;
}

.wb-global-setting-segment {
  flex: 1;
  min-width: 180px;
  padding: 14px 28px;
  border-right: 1px solid #d6dde8;
  background: #edfbff;
}

.wb-global-setting-segment label {
  display: block;
  font-size: 15px;
  color: #2e3742;
  margin: 0;
}

.wb-global-setting-segment select,
.wb-global-setting-segment input {
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: #4e5968;
  padding: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
}

.wb-global-setting-segment select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231e0396' d='M1 0l4 4 4-4 1 1-5 5L0 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.wb-global-setting-segment select:focus,
.wb-global-setting-segment input:focus {
  outline: none;
}

.wb-global-setting-brand small {
  color: #727d8a;
  font-size: 11px;
  margin-top: 2px;
  white-space: nowrap;
}

.wb-scope-toggle {
  margin-top: 6px;
  display: inline-flex;
  border: 1px solid #c7cfdb;
  border-radius: 999px;
  overflow: hidden;
  background: #edf2f8;
}

.wb-scope-toggle button {
  border: 0;
  background: transparent;
  color: #4a5564;
  padding: 6px 12px;
  min-width: 110px;
  font-size: 12px;
  font-weight: 600;
}

.wb-scope-toggle button:hover {
  filter: none;
  transform: none;
  background: #e5ebf3;
}

.wb-scope-toggle button.active {
  background: #1e0396;
  color: #fff;
}

.wb-scope-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  border-radius: 999px;
  background: #1e0396;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.wb-global-apply-row {
  margin: 0;
  padding: 14px 16px;
  border-left: 1px solid #d6dde8;
  background: #edfbff;
  align-items: center;
}

.wb-global-settings-collapsed {
  padding: 0;
}

.wb-global-settings-collapsed .wb-global-filter-chip {
  width: 100%;
  min-height: 64px;
}

.wb-control-message {
  margin: 8px 12px 12px;
  color: #39485a;
  font-size: 13px;
}

.wb-control-message.wb-control-error {
  color: #b42318;
}

.wb-tab-status {
  margin: 4px 0 8px;
  color: #3a4b60;
  font-size: 13px;
}

.wb-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.wb-btn-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  display: inline-block;
  margin-right: 8px;
  vertical-align: text-bottom;
  animation: wb-spin 0.8s linear infinite;
}

@keyframes wb-spin {
  to {
    transform: rotate(360deg);
  }
}
.wb-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  border: none;
  border-radius: 14px;
  padding: 0;
  box-shadow: none;
}

.wb-content-layout {
  display: grid;
  gap: 12px;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.wb-content-layout > * {
  min-height: 0;
}

.wb-main.config-collapsed .wb-content-layout {
  grid-template-columns: 88px minmax(0, 1fr);
  padding-right: 64px;
}

.wb-main.config-expanded .wb-content-layout {
  grid-template-columns: 88px minmax(0, 1fr);
  padding-right: 0;
}

.wb-tabs {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  height: 100%;
  background: #17036e;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.wb-tabs-logo {
  margin-top: auto;
  padding: 8px 8px 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 76px;
  flex-shrink: 0;
}

.wb-tabs-logo img {
  width: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

.wb-tab {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  color: #ecf3ff;
  min-height: 95px;
  padding: 12px 10px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  font-weight: 500;
}

.wb-tab:hover {
  filter: none;
  transform: none;
  background: rgba(255, 255, 255, 0.12);
}

.wb-tab.active {
  background: rgba(125, 192, 255, 0.34);
  color: #fff;
}

.wb-tab-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgb(252, 252, 252);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wb-tab-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.wb-tab-label {
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.wb-panel-stack {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: none;
  border-radius: 10px;
  padding: 0 24px 0 0;
  display: block;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  position: relative;
}

.wb-grid {
  width: 100%;
  min-height: 100%;
  padding-right: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
  align-content: start;
  position: relative;
}

.wb-panel-stack > .wb-tab-status {
  padding-right: 24px;
}

.wb-drop-zones {
  position: absolute;
  inset: 0 24px 0 0;
  pointer-events: none;
  z-index: 1;
}

.wb-drop-zone {
  position: absolute;
  border: 2px dashed rgba(30, 3, 150, 0.5);
  border-radius: 12px;
  background: rgba(30, 3, 150, 0.08);
  box-shadow: inset 0 0 0 1px rgba(30, 3, 150, 0.15);
}

.wb-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: none;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 153px;
  min-width: 187px;
  width: 100%;
  flex: 0 0 auto;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  container-type: inline-size;
  width: auto;
  min-width: 0;
  z-index: 2;
}

.wb-card.is-drag-source {
  opacity: 0.88;
  box-shadow: 0 14px 24px rgba(18, 33, 56, 0.18);
  transform: scale(1.01);
}

.wb-card.is-drag-target {
  border-color: #1e0396;
  box-shadow: 0 0 0 1px #1e0396 inset, 0 10px 24px rgba(30, 3, 150, 0.18);
  transform: translateY(-4px);
  position: relative;
}

.wb-card.is-drag-target::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 2px dashed rgba(30, 3, 150, 0.75);
  pointer-events: none;
  animation: wb-drop-pulse 0.9s ease-in-out infinite;
}

.wb-panel-stack.is-dragging .wb-card:not(.is-drag-source):not(.is-drag-target) {
  opacity: 0.9;
}

.wb-panel-stack.is-dragging,
.wb-panel-stack.is-dragging * {
  user-select: none;
}

@keyframes wb-drop-pulse {
  0% {
    border-color: rgba(30, 3, 150, 0.35);
  }
  50% {
    border-color: rgba(30, 3, 150, 0.95);
  }
  100% {
    border-color: rgba(30, 3, 150, 0.35);
  }
}

.wb-card.is-resizable {
  resize: both;
  overflow: auto;
  min-width: 260px;
  min-height: 180px;
}

.wb-card-size-summary {
  width: auto;
  min-height: 187px;
  aspect-ratio: 1 / 1;
}

.wb-card-size-wide {
  width: auto;
  min-height: 221px;
}

.wb-card-head {
  padding: 0 10px;
  min-height: 0;
  max-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  background: transparent;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.16s ease, opacity 0.12s ease, padding 0.16s ease;
}

.wb-card:hover .wb-card-head {
  padding: 8px 10px;
  min-height: 44px;
  max-height: 48px;
  opacity: 1;
  pointer-events: auto;
}

.wb-card:hover {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 6px 14px rgba(18, 33, 56, 0.08);
}

.wb-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #eae9f2;
  letter-spacing: 0.02em;
  margin-right: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-card-actions {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
  flex-wrap: wrap;
}

.wb-card-icon-btn {
  min-width: 24px;
  height: 24px;
  padding: 0 4px;
  border-radius: 7px;
  background: #eff4fb;
  border: 1px solid #d7e0ee;
  color: #304963;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.wb-card-drag-btn {
  cursor: grab;
}

.wb-card-drag-btn:active {
  cursor: grabbing;
}

.wb-card-select-checkbox {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #ecf2fd;
  border: 1px solid #cdd8ea;
}

.wb-card-select-checkbox input[type="checkbox"] {
  width: 12px;
  height: 12px;
  margin: 0;
}

.wb-selected-card-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #22384f;
  justify-content: flex-start;
  width: 100%;
}

.wb-selected-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 72px);
  min-width: 0;
  flex: 0 1 auto;
  max-width: none;
}

.wb-config-inner .wb-selected-card-title {
  display: inline-flex;
  margin: 0;
  white-space: normal;
}

.wb-selected-card-title span {
  display: block;
  flex: 1 1 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-selected-card-order {
  display: inline-flex;
  gap: 4px;
  flex: 0 0 auto;
  margin-left: auto;
}

.wb-selected-card-order button {
  min-width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 6px;
}

.wb-card-icon-btn:hover {
  transform: none;
  filter: none;
  background: #e5eefb;
}

.wb-card-menu {
  position: absolute;
  top: 30px;
  right: 0;
  width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(16, 34, 58, 0.16);
  padding: 8px;
  display: grid;
  gap: 4px;
  z-index: 3;
}

.wb-card-body {
  padding: 18px;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(18, 33, 56, 0.08);
  transition: box-shadow 0.16s ease, transform 0.16s ease, border-radius 0.16s ease;
}

.wb-card:hover .wb-card-body {
  box-shadow: 0 10px 24px rgba(18, 33, 56, 0.12);
  transform: translateY(-2px);
}

.wb-summary-data-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  min-height: 0;
}

.wb-summary-data-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 16px 16px 0 0;
}

.wb-summary-data-header {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wb-summary-data-content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.wb-summary-data-image {
  width: clamp(56px, 4.2vw, 64px);
  height: clamp(56px, 4.2vw, 64px);
  max-width: 64px;
  max-height: 64px;
  opacity: 0.6;
  flex: 0 0 auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wb-summary-data-value-label {
  font-family: "Manrope", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-summary-data-title {
  min-width: 0;
  font-family: "Manrope", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-summary-data-value {
  min-width: 0;
  font-family: "Manrope", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0;
  color: var(--accent-strong);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-metric-summary-card .wb-summary-data-content {
  gap: 8px;
}

.wb-metric-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.wb-metric-meta-column {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wb-metric-meta-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: baseline;
}

.wb-metric-meta-label {
  min-width: 0;
  font-family: "Manrope", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-metric-meta-value {
  font-family: "Manrope", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.wb-metric-icon-danger {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d13f3f;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.wb-metric-strip-wrap {
  margin-top: 6px;
  display: grid;
  gap: 4px;
}

.wb-metric-strip {
  position: relative;
  height: 12px;
}

.wb-metric-strip-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  border-radius: 99px;
  background: var(--border);
}

.wb-metric-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wb-metric-marker-hit {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  z-index: 2;
}

.wb-metric-marker-hit::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(16, 34, 58, 0.94);
  color: #fff;
  font-family: "Manrope", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.wb-metric-marker-hit:hover::after,
.wb-metric-marker-hit:focus-visible::after {
  opacity: 1;
}

.wb-metric-marker-avg {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.wb-metric-marker-tail {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--accent);
  transform: none;
}

.wb-metric-marker-sla {
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--text);
}

.wb-metric-strip-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: "Manrope", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.wb-metric-strip-legend {
  display: none !important;
}

@container (max-width: 360px) {
  .wb-summary-data-card {
    padding: 16px;
    gap: 12px;
  }

  .wb-summary-data-value {
    font-size: 30px;
  }

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

.wb-table-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
}

.wb-table-controls input {
  width: min(320px, 100%);
}

.wb-table-scroll {
  border: 1px solid var(--border);
  border-radius: 10px;
  max-height: 220px;
  overflow: hidden;
}

.wb-table-scroll.x-scroll {
  overflow-x: auto;
}

.wb-table-scroll.y-scroll {
  overflow-y: auto;
}

.wb-data-table {
  min-width: 640px;
  font-size: 12px;
}

.wb-th-action {
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  background: transparent;
  color: #486383;
  border: none;
}

.wb-table-pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.wb-table-pagination button {
  min-width: 28px;
  height: 28px;
  padding: 0;
}

.wb-chart-card {
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.wb-echart {
  width: 100%;
  min-height: 260px;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdff;
}

.wb-config-field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.wb-config-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.wb-config-value {
  font-size: 13px;
}

.wb-config-checkboxes {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.wb-config-radio-group {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.wb-config-chart-axis-list {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.wb-config-chart-axis-row {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.wb-config-axis-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.wb-config-row-label {
  min-width: 0;
  font-size: 12px;
  color: #2c3d56;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-chart-bar-label {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-custom-card {
  border: 1px dashed #cabdf0;
  border-radius: 10px;
  padding: 10px;
  min-height: 120px;
  background: #fbf9ff;
}

.wb-custom-card ul {
  margin: 0;
  padding-left: 20px;
}

.wb-custom-paragraph {
  margin: 0 0 6px;
}

.wb-subtab,
.wb-config-toggle {
  background: #eef4fb;
  color: #1f2b3a;
  border: 1px solid #d3dfef;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.wb-subtab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-strong);
}

.wb-config {
  position: absolute;
  top: 12px;
  right: 20px;
  bottom: 20px;
  width: min(432px, calc(100% - 40px));
  max-width: 432px;
  min-width: 384px;
  background: rgba(237, 251, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
  z-index: 30;
  overflow: hidden;
}

.wb-config-inner {
  margin-top: 0;
  font-size: 13px;
  color: var(--muted);
  max-height: calc(100% - 40px);
  overflow-y: auto;
  padding-right: 2px;
}

.wb-config-inner label {
  display: block;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #2c3d56;
}

.wb-config-inner input,
.wb-config-inner select,
.wb-config-inner textarea {
  width: 100%;
}

.wb-config-sections {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  height: calc(100% - 28px);
}

.wb-config-section {
  border: 1px solid rgba(112, 134, 162, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

.wb-config-section.expanded {
  flex: 1 1 auto;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}

.wb-config-section-toggle {
  width: 100%;
  border: 0;
  background: rgba(237, 246, 255, 0.76);
  color: #223a58;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
}

.wb-config-section-toggle:hover {
  transform: none;
  filter: none;
  background: rgba(226, 238, 252, 0.86);
}

.wb-config-section-body {
  padding: 10px 12px 12px;
  overflow-y: auto;
}

.wb-config-section.expanded .wb-config-section-body {
  flex: 1 1 auto;
}

.wb-axis-filter-panel {
  border-top: 1px solid #d7e2f0;
  padding-top: 10px;
}

.wb-axis-filter-actions {
  display: flex;
  gap: 8px;
}

.wb-axis-filter-actions button,
.wb-axis-filter-pages button {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.wb-axis-filter-pages {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wb-axis-filter-pages button.active {
  background: var(--accent-strong);
  color: #fff;
}

.wb-shell-config-trigger {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  justify-items: center;
  gap: 3px;
  z-index: 35;
}

.wb-shell-config-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #17036e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.wb-shell-config-btn:hover {
  transform: none;
  filter: none;
}

.wb-shell-config-image {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.wb-shell-config-label {
  font-size: 10px;
  line-height: 1;
  color: #17036e;
}

.split,
.search,
.results,
.status,
.wb-shell {
  animation: riseIn 0.32s ease both;
}

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

@media (max-width: 1200px) {
  .insight-workbench-lower {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-workbench-lower .insight-nav-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .page-header,
  .intro,
  .intro-search-row,
  .page-menu,
  .page-placeholder,
  .insight-workbench-section,
  .split,
  .status,
  .search,
  .results,
  .page-footer {
    width: calc(100% - 24px);
  }

  .intro-search-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .intro-search-row .intro {
    padding-bottom: 8px;
  }

  .intro-search-row .search {
    padding-top: 0;
  }

  .search {
    justify-content: stretch;
  }

  .search-row {
    justify-content: stretch;
    width: 100%;
  }

  .search-row input[type="email"],
  .search-row input[type="text"] {
    min-width: 0;
    width: 100%;
  }

  .search p {
    text-align: left;
  }

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

  .wb-main.config-collapsed .wb-content-layout,
  .wb-main.config-expanded .wb-content-layout {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .wb-global-settings-body {
    flex-wrap: wrap;
  }

  .wb-global-filter-chip {
    min-width: 150px;
    padding: 0 14px;
  }

  .wb-global-setting-segment {
    min-width: 220px;
    flex: 1 1 220px;
  }

  .wb-global-apply-row {
    width: 100%;
    justify-content: flex-end;
    border-left: 0;
    border-top: 1px solid #d6dde8;
  }

  .wb-content-layout {
    min-height: 0;
  }

  .wb-tabs {
    width: 100%;
    border-radius: 18px;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
  }

  .wb-tab {
    min-height: 74px;
    width: calc(50% - 0px);
  }

  .wb-tabs-logo {
    width: 100%;
    justify-content: flex-end;
    padding-top: 10px;
  }

  .wb-config {
    position: fixed;
    top: 84px;
    right: 16px;
    bottom: 16px;
    width: min(92vw, 420px);
    max-width: 420px;
    min-width: 0;
  }

  .wb-shell-config-trigger {
    position: fixed;
    top: 86px;
    right: 14px;
  }

  .wb-panel-stack {
    max-height: none;
  }

  .wb-card,
  .wb-card-size-summary,
  .wb-card-size-wide {
    width: 100%;
    aspect-ratio: auto;
  }

  .wb-row,
  .wb-panel-stack > .wb-tab-status {
    padding-right: 0;
  }

  .insight-workbench-section {
    padding: 16px;
    align-items: flex-start;
  }

  .insight-workbench-panel {
    width: 100%;
  }

  .insight-workbench-lower {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .insight-workbench-lower .insight-nav-panel {
    grid-column: auto;
  }
}
