/* Stylised snapshot of Regno VWR: a dark VWR workspace over layered cards.
   Every size is in cqw (percent of the snapshot's own width), so it scales as one picture. */
.vwr-snapshot {
  container-type: inline-size;
  position: relative;
  width: 75%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1/1.02;
  font-family: var(--sans, "DM Sans", Arial, sans-serif);
}
.vwr-snapshot * {
  box-sizing: border-box;
}
.vwr-snapshot p,
.vwr-snapshot dl,
.vwr-snapshot ul {
  margin: 0;
}
.vwr-layer {
  position: absolute;
  border-radius: 2.2cqw;
  overflow: hidden;
}

/* Back cards */
.vwr-layer-wave {
  left: 0;
  top: 20%;
  width: 46%;
  height: 58%;
  background:
    repeating-linear-gradient(115deg, #ffffff14 0 1px, transparent 1px 7px),
    linear-gradient(160deg, #c9b5ec, #9c7fd3);
}
.vwr-layer-wave svg {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 100%;
  height: 40%;
}
.vwr-layer-glow {
  right: 0;
  top: 2%;
  width: 58%;
  height: 62%;
  background:
    radial-gradient(circle, #00000059 1.1px, transparent 1.3px) 0 0/6px 6px,
    radial-gradient(
      ellipse at 70% 40%,
      #ff8fb8 0,
      #b46be0 30%,
      #3d2266 62%,
      #15101d 85%
    );
}
.vwr-layer-paper {
  left: 22%;
  bottom: 0;
  width: 76%;
  height: 30%;
  background: #ecebef;
}
.vwr-layer-paper pre {
  position: absolute;
  left: 5%;
  bottom: 9%;
  margin: 0;
  font: 1.6cqw/1.6 var(--mono, "IBM Plex Mono", monospace);
  color: #8c8696;
  transition: opacity 0.4s;
}

/* The VWR window */
.vwr-window {
  position: absolute;
  left: 5%;
  top: 7%;
  width: 75%;
  height: 78%;
  background: #110f18;
  border: 1px solid #2d2738;
  border-radius: 2.2cqw;
  box-shadow:
    0 3cqw 7cqw #0a061299,
    0 0.4cqw 1.2cqw #0a061266;
  display: flex;
  flex-direction: column;
  color: #e9e4f1;
}
.vwr-head {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  height: 6cqw;
  padding: 0 2.4cqw;
  border-bottom: 1px solid #26212f;
  flex: none;
}
.vwr-logo {
  display: flex;
  align-items: center;
  gap: 0.9cqw;
  font-weight: 700;
  font-size: 1.9cqw;
  letter-spacing: 0.1cqw;
  color: #fff;
}
.vwr-logo svg {
  width: 2.1cqw;
  height: 2.1cqw;
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}
.vwr-logo b {
  color: #bca0d8;
}
.vwr-tools {
  display: flex;
  gap: 1.2cqw;
}
.vwr-tools i {
  width: 1.5cqw;
  height: 1.5cqw;
  border-radius: 0.3cqw;
  border: 1px solid #5d5669;
}
.vwr-tools i:nth-child(2) {
  background: #7449a7;
  border-color: #7449a7;
}
.vwr-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1cqw;
  font-size: 1.5cqw;
  color: #9d93a8;
}
.vwr-user i {
  width: 2.4cqw;
  height: 2.4cqw;
  border-radius: 50%;
  background: linear-gradient(135deg, #bca0d8, #ff8fb8);
}
.vwr-tabs {
  display: flex;
  gap: 1cqw;
  padding: 1.4cqw 2.4cqw;
  flex: none;
}
.vwr-tabs span {
  font-size: 1.55cqw;
  padding: 0.6cqw 1.5cqw;
  border-radius: 99px;
  color: #9d93a8;
  border: 1px solid #2d2738;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.vwr-tabs .is-active {
  background: #bca0d8;
  border-color: #bca0d8;
  color: #15101d;
  font-weight: 600;
}

.vwr-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1.55fr 1fr 1fr;
  gap: 1.2cqw;
  padding: 0 2.4cqw 5cqw;
}
.vwr-panel {
  position: relative;
  background: #18151f;
  border: 1px solid #29232f;
  border-radius: 1.2cqw;
  padding: 1.2cqw 1.5cqw;
  min-height: 0;
  overflow: hidden;
}
.vwr-panel-head {
  font-size: 1.4cqw;
  color: #9d93a8;
  display: flex;
  gap: 1cqw;
  align-items: center;
}
.vwr-panel-head span {
  color: #e9e4f1;
}
.vwr-p-chart {
  grid-column: 1/3;
}
.vwr-p-chart svg {
  position: absolute;
  left: 1.5cqw;
  top: 4.4cqw;
  width: calc(100% - 3cqw);
  height: calc(100% - 5.8cqw);
  overflow: visible;
}
.vwr-p-chart .grid {
  stroke: #26212f;
  stroke-width: 0.6;
}
.vwr-p-chart .zone {
  fill: #ff6f9f1a;
  stroke: #ff6f9f;
  stroke-width: 0.5;
  stroke-dasharray: 1.5 1.5;
}
.vwr-p-chart .base,
.vwr-p-chart .now {
  fill: none;
  stroke-width: 1.4;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.vwr-p-chart .base {
  stroke: #f5c84c;
}
.vwr-p-chart .now {
  stroke: #4cc9f0;
  stroke-width: 1.8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.vwr-snapshot.is-drawn .vwr-p-chart .now {
  animation: vwr-draw 1.8s ease-out forwards;
}
.vwr-legend {
  position: absolute;
  right: 1.5cqw;
  top: 1.2cqw;
  display: flex;
  gap: 2cqw;
  font-size: 1.35cqw;
  color: #9d93a8;
}
.vwr-legend span::before {
  content: "";
  display: inline-block;
  width: 2.4cqw;
  border-top: 0.35cqw solid #4cc9f0;
  vertical-align: middle;
  margin-right: 0.7cqw;
}
.vwr-legend .base::before {
  border-color: #f5c84c;
}
.vwr-legend .forecast::before {
  border-top-style: dashed;
  border-color: #bca0d8;
}
.vwr-p-chart .forecast-cone {
  fill: #bca0d829;
  stroke: none;
}
.vwr-p-chart .forecast {
  fill: none;
  stroke: #bca0d8;
  stroke-width: 1.4;
  stroke-dasharray: 3 2.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.vwr-p-chart .forecast-edge {
  stroke: #bca0d8;
  stroke-width: 0.6;
  stroke-dasharray: 1 1.6;
  opacity: 0.7;
  vector-effect: non-scaling-stroke;
}
.vwr-forecast-tag {
  position: absolute;
  right: 1.5cqw;
  bottom: 1.2cqw;
  font-size: 1.2cqw;
  letter-spacing: 0.12cqw;
  text-transform: uppercase;
  color: #d9c8f2;
  background: #2a2433;
  border: 1px solid #bca0d8;
  border-radius: 99px;
  padding: 0.3cqw 0.9cqw;
}

.vwr-p-values dl {
  margin-top: 0.8cqw;
  display: grid;
  gap: 0.3cqw;
}
.vwr-p-values dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.vwr-p-values dt {
  font-size: 2cqw;
  color: #4cc9f0;
}
.vwr-p-values div:nth-child(2) dt {
  color: #f5c84c;
}
.vwr-p-values div:nth-child(3) dt {
  color: #bca0d8;
}
.vwr-p-values dd {
  margin: 0;
  font-size: 2.3cqw;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.vwr-p-gauge svg {
  display: block;
  width: 70%;
  margin: 0.2cqw auto 0;
}
.vwr-p-gauge path {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}
.vwr-p-gauge .track {
  stroke: #2a2433;
}
.vwr-p-gauge .fill {
  stroke: #bca0d8;
  stroke-dasharray: 100;
  transition: stroke-dashoffset 0.8s ease;
}
.vwr-p-gauge text {
  text-anchor: middle;
  fill: #fff;
}
.vwr-p-gauge .value {
  font-size: 15px;
  font-weight: 600;
}
.vwr-p-gauge .label {
  font-size: 6.5px;
  fill: #9d93a8;
}

.vwr-p-ai {
  grid-column: 1/3;
  padding-right: 12cqw;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  grid-template-rows: auto 1fr;
  column-gap: 1.6cqw;
  row-gap: 0.7cqw;
  background: linear-gradient(180deg, #1e1830, #18151f);
  border-color: #372c4a;
}
.vwr-p-ai .vwr-panel-head {
  grid-column: 1/3;
}
.vwr-ai-spark {
  display: inline-flex;
  width: 1.7cqw;
  height: 1.7cqw;
  color: #ff8fb8;
}
.vwr-ai-spark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.vwr-p-ai .vwr-panel-head span:not(.vwr-ai-spark) {
  color: #e9e4f1;
  font-weight: 600;
}
.vwr-q {
  grid-row: 2;
  align-self: center;
  justify-self: start;
  font-size: 1.7cqw;
  line-height: 1.35;
  background: #2a2433;
  border-radius: 1.2cqw 1.2cqw 1.2cqw 0.3cqw;
  padding: 1cqw 1.4cqw;
  color: #e9e4f1;
}
.vwr-a-stack {
  grid-row: 2;
  grid-column: 2;
  display: grid;
  align-content: center;
  gap: 0.85cqw;
}
.vwr-a-row {
  display: grid;
  gap: 0.2cqw;
}
.vwr-a {
  font-size: 1.6cqw;
  line-height: 1.3;
}
.vwr-a strong {
  font-weight: 600;
  color: #ff8fb8;
}
.vwr-ev {
  font: 1.15cqw var(--mono, "IBM Plex Mono", monospace);
  color: #9d93a8;
}
.vwr-q,
.vwr-a,
.vwr-ev,
[data-vwr-values] dd,
[data-vwr-asset],
.vwr-sources-card li,
.vwr-layer-paper pre {
  transition: opacity 0.35s;
}
.vwr-snapshot.is-switching
  :is(
    .vwr-q,
    .vwr-a,
    .vwr-ev,
    [data-vwr-values] dd,
    [data-vwr-asset],
    .vwr-sources-card li,
    .vwr-layer-paper pre
  ) {
  opacity: 0;
}

/* Floating AI status pill */
.vwr-ai {
  position: absolute;
  left: 50%;
  bottom: -3.2cqw;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  height: 6.6cqw;
  padding: 0 3cqw 0 2.4cqw;
  background: #fff;
  border: 1px solid #e3dfe9;
  border-radius: 99px;
  box-shadow: 0 1.4cqw 3cqw #0a061266;
  font-size: 2.2cqw;
  color: #4a4456;
  white-space: nowrap;
}
.vwr-ai-bars {
  display: flex;
  align-items: center;
  gap: 0.55cqw;
  height: 3.2cqw;
}
.vwr-ai-bars i {
  width: 0.6cqw;
  height: 100%;
  border-radius: 1cqw;
  background: #211d2c;
  animation: vwr-pulse 1.1s ease-in-out infinite;
}
.vwr-ai-bars i:nth-child(2) {
  animation-delay: 0.15s;
  height: 60%;
}
.vwr-ai-bars i:nth-child(3) {
  animation-delay: 0.3s;
  height: 80%;
}
.vwr-ai-bars i:nth-child(4) {
  animation-delay: 0.45s;
  height: 45%;
}

/* Floating sources card: what goes in, the standard it becomes, where it is stored */
.vwr-sources-card {
  position: absolute;
  right: 0;
  top: 45%;
  width: 29%;
  background: #f7f5fa;
  border-radius: 2.2cqw;
  box-shadow: 0 2.4cqw 5cqw #0a061280;
  padding: 2.2cqw;
  color: #211d2c;
}
.vwr-sources-card small {
  font: 1.35cqw var(--mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.15cqw;
  text-transform: uppercase;
  color: #8a8494;
}
.vwr-sources-card ul {
  list-style: none;
  padding: 0;
  margin-top: 1.2cqw !important;
  display: grid;
  gap: 0.9cqw;
}
.vwr-sources-card li {
  position: relative;
  font-size: 1.7cqw;
  padding: 0.9cqw 1.2cqw 0.9cqw 2.8cqw;
  background: #fff;
  border: 1px solid #e3dfe9;
  border-radius: 1cqw;
}
.vwr-sources-card li::before {
  content: "";
  position: absolute;
  left: 1.2cqw;
  top: 50%;
  width: 0.9cqw;
  height: 0.9cqw;
  margin-top: -0.45cqw;
  border-radius: 50%;
  background: #4cc9f0;
}
.vwr-sources-card li:nth-child(2)::before {
  background: #f5c84c;
}
.vwr-sources-card li:nth-child(3)::before {
  background: #bca0d8;
}
.vwr-standard {
  position: relative;
  margin-top: 3cqw;
  background: #1c3a2e;
  color: #fff;
  text-align: center;
  border-radius: 1.2cqw;
  padding: 1.4cqw 1cqw;
  font-size: 2.1cqw;
  font-weight: 600;
}
.vwr-standard::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2.6cqw;
  height: 2.2cqw;
  border-left: 1px dashed #8a8494;
}
.vwr-standard span {
  display: block;
  font: 500 1.15cqw var(--mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.12cqw;
  text-transform: uppercase;
  color: #a9c7b8;
  margin-top: 0.4cqw;
}
.vwr-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8cqw;
  margin-top: 1.4cqw;
  font-size: 1.65cqw;
  color: #5d3f80;
  background: #f1eafc;
  border: 1px solid #cdb8ec;
  border-radius: 99px;
  padding: 0.8cqw 0;
}
.vwr-lock svg {
  width: 1.8cqw;
  height: 1.8cqw;
}

@keyframes vwr-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes vwr-pulse {
  0%,
  100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vwr-snapshot.is-drawn .vwr-p-chart .now,
  .vwr-ai-bars i {
    animation: none;
  }
  .vwr-p-chart .now {
    stroke-dashoffset: 0;
  }
}
