:root {
  --studio-bg: #f3f4f1;
  --studio-panel: #ffffff;
  --studio-ink: #15211d;
  --studio-muted: #68736e;
  --studio-faint: #929b96;
  --studio-accent: #176b4d;
  --studio-accent-hover: #10583e;
  --studio-accent-soft: #e9f2ed;
  --studio-warm: #c6643c;
  --studio-border: #dde2de;
  --studio-border-strong: #cbd2cd;
  --studio-shadow: 0 1px 2px rgba(25, 39, 32, .04), 0 12px 32px rgba(25, 39, 32, .045);
}

html {
  background: var(--studio-bg);
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(rgba(21, 33, 29, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 33, 29, .025) 1px, transparent 1px),
    var(--studio-bg);
  background-size: 32px 32px;
  color: var(--studio-ink);
  font-family: "Manrope", sans-serif;
}

body::before,
body::after,
.ambient {
  display: none;
}

.shell-header {
  position: sticky;
  z-index: 30;
  top: 0;
  max-width: none;
  min-height: 64px;
  margin: 0;
  padding: 0 clamp(20px, 3vw, 48px);
  border: 0;
  border-bottom: 1px solid var(--studio-border);
  border-radius: 0;
  background: rgba(250, 251, 249, .92);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--studio-ink);
  box-shadow: none;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: .7rem;
  letter-spacing: -.02em;
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.brand-subtitle {
  color: var(--studio-faint);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.shell-nav {
  gap: 6px;
}

.shell-nav a {
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--studio-muted);
  font-family: "Manrope", sans-serif;
  font-size: .78rem;
}

.shell-nav a:hover {
  background: #edf0ed;
  color: var(--studio-ink);
}

.shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.studio-shell {
  width: 100%;
  max-width: none;
  gap: 0;
}

.studio-hero {
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--studio-border);
  border-radius: 0;
  background: #fafbf9;
  box-shadow: none;
  color: var(--studio-ink);
}

.studio-hero-top {
  align-items: center;
  min-height: 112px;
  padding: 22px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid var(--studio-border);
  flex-wrap: nowrap;
}

.studio-hero-copy {
  max-width: 820px;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
}

.studio-badge {
  grid-row: 1 / span 2;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #cfe0d7;
  border-radius: 6px;
  background: var(--studio-accent-soft);
  color: var(--studio-accent);
  font-size: .64rem;
  letter-spacing: .08em;
}

.studio-hero h1 {
  max-width: none;
  color: var(--studio-ink);
  font: 400 clamp(1.8rem, 3vw, 2.65rem)/1 "Instrument Serif", Georgia, serif;
  letter-spacing: -.025em;
}

.studio-hero p {
  color: var(--studio-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.studio-pill-row {
  gap: 6px;
}

.studio-pill {
  padding: 6px 9px;
  border: 1px solid var(--studio-border);
  border-radius: 6px;
  background: #fff;
  color: var(--studio-muted);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .015em;
}

.studio-uploader {
  grid-template-columns: minmax(620px, 1.45fr) minmax(380px, .75fr);
  gap: 0;
}

.studio-panel {
  border: 0;
  border-right: 1px solid var(--studio-border);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.studio-panel:last-child {
  border-right: 0;
}

.studio-panel-inner {
  gap: 16px;
  padding: 24px clamp(24px, 4vw, 64px);
}

.studio-uploader > .studio-panel:last-child .studio-panel-inner {
  padding-left: 28px;
  padding-right: 28px;
}

.studio-uploader-card {
  gap: 14px;
}

.studio-uploader-card h3,
.studio-section h3,
.studio-inspector h3,
.studio-sidebar h3,
.studio-canvas-head h3 {
  color: var(--studio-ink);
  font: 700 .92rem/1.25 "Manrope", sans-serif;
  letter-spacing: -.02em;
}

.studio-small {
  margin: 4px 0 0;
  color: var(--studio-muted);
  font-size: .74rem;
  line-height: 1.55;
}

.studio-form-grid {
  gap: 12px;
}

.studio-field {
  gap: 6px;
}

.studio-field > span,
.studio-field label {
  color: #53605a;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.studio-field input,
.studio-field select {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--studio-border-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--studio-ink);
  font: 500 .78rem/1.4 "Manrope", sans-serif;
  box-shadow: 0 1px 1px rgba(21, 33, 29, .025);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.studio-field input:focus,
.studio-field select:focus {
  border-color: var(--studio-accent);
  box-shadow: 0 0 0 3px rgba(23, 107, 77, .1);
}

.studio-dropzone {
  grid-template-columns: auto 1fr minmax(220px, .55fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed #b9c8c0;
  border-radius: 8px;
  background: #f7faf8;
}

.studio-dropzone strong {
  font: 700 .76rem/1.2 "Manrope", sans-serif;
}

.studio-dropzone p {
  color: var(--studio-muted);
  font-size: .7rem;
  line-height: 1.4;
}

.studio-file-input {
  width: 100%;
  padding: 0 !important;
  color: var(--studio-muted) !important;
  font-size: .7rem !important;
}

.studio-file-input::file-selector-button {
  margin-right: 8px;
  padding: 7px 10px;
  border: 1px solid var(--studio-border-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--studio-ink);
  font: 700 .68rem "Manrope", sans-serif;
  cursor: pointer;
}

.studio-actions {
  gap: 8px;
}

.studio-primary,
.studio-secondary,
.studio-ghost {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  font-family: "Manrope", sans-serif;
  font-size: .73rem;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.studio-primary {
  background: var(--studio-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 88, 62, .18);
}

.studio-primary:hover {
  background: var(--studio-accent-hover);
}

.studio-secondary {
  background: var(--studio-ink);
  color: #fff;
}

.studio-ghost {
  border: 1px solid var(--studio-border-strong);
  background: #fff;
  color: var(--studio-muted);
}

.studio-note,
.studio-config-note {
  padding: 10px 12px;
  border: 1px solid #d9e6df;
  border-radius: 7px;
  background: #f4f8f5;
  color: #52665c;
  font-size: .71rem;
  line-height: 1.5;
}

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

.studio-template-button {
  min-height: 50px;
  padding: 8px 9px;
  border: 1px solid var(--studio-border);
  border-radius: 7px;
  background: #fff;
  color: var(--studio-muted);
  font-family: "Manrope", sans-serif;
  font-size: .67rem;
  line-height: 1.3;
  text-align: center;
}

.studio-template-button.is-active {
  border-color: #a9c7b8;
  background: var(--studio-accent-soft);
  color: var(--studio-accent);
}

.studio-metrics {
  gap: 0;
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  overflow: hidden;
}

.studio-metric {
  min-width: 0;
  padding: 11px 12px;
  border: 0;
  border-right: 1px solid var(--studio-border);
  border-radius: 0;
  background: #fafbf9;
}

.studio-metric:last-child {
  border-right: 0;
}

.studio-metric span {
  color: var(--studio-faint);
  font-size: .57rem;
  letter-spacing: .07em;
}

.studio-metric strong {
  margin-top: 5px;
  overflow: hidden;
  color: var(--studio-ink);
  font: 700 1rem/1.1 "Manrope", sans-serif;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-workspace {
  grid-template-columns: 230px minmax(520px, 1fr) 280px;
  gap: 0;
  min-height: calc(100vh - 450px);
  background: #e9ece8;
}

.studio-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(600px, 1.2fr);
  align-items: center;
  gap: 32px;
  padding: 20px clamp(24px, 4vw, 52px);
  border-bottom: 1px solid var(--studio-border);
  background: #fff;
}

.studio-guide-copy h2 {
  margin: 4px 0 6px;
  color: var(--studio-ink);
  font: 400 clamp(1.45rem, 2.2vw, 2rem)/1.05 "Instrument Serif", Georgia, serif;
  letter-spacing: -.025em;
}

.studio-guide-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--studio-muted);
  font-size: .73rem;
  line-height: 1.55;
}

.studio-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.studio-guide-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  background: #fafbf9;
}

.studio-guide-step.is-current {
  border-color: #a9c7b8;
  background: var(--studio-accent-soft);
}

.studio-guide-number {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--studio-border-strong);
  border-radius: 50%;
  color: var(--studio-muted);
  font-size: .65rem;
  font-weight: 700;
}

.studio-guide-step.is-complete .studio-guide-number {
  border-color: var(--studio-accent);
  background: var(--studio-accent);
  color: #fff;
}

.studio-guide-step strong,
.studio-guide-step small {
  display: block;
}

.studio-guide-step strong {
  color: var(--studio-ink);
  font-size: .68rem;
}

.studio-guide-step small {
  margin-top: 3px;
  color: var(--studio-muted);
  font-size: .59rem;
  line-height: 1.35;
}

.studio-sidebar,
.studio-inspector,
.studio-canvas-wrap {
  border: 0;
  border-radius: 0;
  background: var(--studio-panel);
  box-shadow: none;
}

.studio-sidebar {
  border-right: 1px solid var(--studio-border);
}

.studio-inspector {
  border-left: 1px solid var(--studio-border);
}

.studio-sidebar-head,
.studio-inspector-head,
.studio-canvas-head {
  gap: 2px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--studio-border);
}

.studio-sidebar-body,
.studio-inspector-body {
  padding: 14px;
}

.studio-canvas-body {
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(rgba(21, 33, 29, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 33, 29, .028) 1px, transparent 1px),
    #f4f5f2;
  background-size: 24px 24px;
}

.studio-section-kicker {
  color: var(--studio-faint);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-field-list {
  gap: 5px;
  max-height: calc(100vh - 260px);
}

.studio-field-chip {
  position: relative;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

.studio-field-chip:hover {
  background: #f4f6f4;
}

.studio-field-chip.is-active {
  border-color: #cce0d5;
  background: var(--studio-accent-soft);
  box-shadow: none;
}

.studio-field-chip strong {
  overflow: hidden;
  color: var(--studio-ink);
  font-size: .73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-field-chip span {
  color: var(--studio-muted);
  font-size: .63rem;
}

.studio-type-pill {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 19px;
  padding: 0 6px;
  border-radius: 4px;
  background: #edf0ed;
  color: var(--studio-muted);
  font-size: .55rem;
}

.studio-canvas-head {
  padding: 16px 20px 13px;
  background: #fff;
}

.studio-canvas-toolbar {
  flex-wrap: nowrap;
}

.studio-report-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.studio-action-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--studio-border-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--studio-muted);
  font: 700 .63rem "Manrope", sans-serif;
  cursor: pointer;
}

.studio-action-button:hover {
  border-color: #aab6af;
  background: #f5f7f5;
  color: var(--studio-ink);
}

.studio-action-button--primary {
  border-color: var(--studio-accent);
  background: var(--studio-accent);
  color: #fff;
}

.studio-action-button--primary:hover {
  border-color: var(--studio-accent-hover);
  background: var(--studio-accent-hover);
  color: #fff;
}

.studio-report-actions .studio-pill {
  display: none;
}

.studio-visual-picker {
  display: flex;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  background: #fff;
  overflow-x: auto;
  box-shadow: 0 1px 2px rgba(21, 33, 29, .03);
}

.studio-picker-intro strong,
.studio-picker-intro span {
  display: block;
}

.studio-picker-intro strong {
  color: var(--studio-ink);
  font-size: .7rem;
}

.studio-picker-intro span {
  margin-top: 2px;
  color: var(--studio-muted);
  font-size: .62rem;
}

.studio-visual-card {
  grid-template-columns: 26px auto;
  align-items: center;
  gap: 7px;
  min-width: 105px;
  min-height: 42px;
  padding: 6px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

.studio-visual-card:hover {
  transform: none;
  background: #f2f4f2;
  box-shadow: none;
}

.studio-visual-card.is-active {
  border: 0;
  background: var(--studio-accent-soft);
  box-shadow: none;
}

.studio-visual-card strong {
  font-size: .66rem;
  line-height: 1.2;
}

.studio-visual-preview {
  min-height: 24px;
}

.studio-mini-bars i:nth-child(1) { height: 7px; }
.studio-mini-bars i:nth-child(2) { height: 14px; }
.studio-mini-bars i:nth-child(3) { height: 10px; }
.studio-mini-bars i:nth-child(4) { height: 18px; }
.studio-mini-line i:nth-child(1) { height: 8px; }
.studio-mini-line i:nth-child(2) { height: 13px; }
.studio-mini-line i:nth-child(3) { height: 7px; }
.studio-mini-line i:nth-child(4) { height: 17px; }
.studio-mini-line i:nth-child(5) { height: 14px; }
.studio-mini-kpi i { min-height: 9px; }
.studio-mini-table i { min-height: 5px; }
.studio-mini-donut i {
  width: 24px;
  height: 24px;
}

.studio-mini-bars i,
.studio-mini-kpi i,
.studio-mini-table i,
.studio-mini-line i {
  background: var(--studio-accent);
}

.studio-canvas {
  gap: 12px;
}

.studio-tile {
  grid-column: span 6;
  min-height: 250px;
  padding: 18px;
  border: 1px solid var(--studio-border);
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--studio-shadow);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.studio-tile--wide,
.studio-tile--narrow {
  grid-column: span 6;
}

.studio-tile:hover {
  border-color: #bac4be;
  transform: translateY(-1px);
}

.studio-tile.is-selected {
  border-color: var(--studio-accent);
  box-shadow: 0 0 0 3px rgba(23, 107, 77, .1), var(--studio-shadow);
}

.studio-tile-head h4 {
  font: 700 .82rem/1.2 "Manrope", sans-serif;
  letter-spacing: -.018em;
}

.studio-tile-head p {
  margin-top: 4px;
  color: var(--studio-faint);
  font-size: .64rem;
}

.studio-tile-chip {
  min-height: 21px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: .55rem;
  letter-spacing: .04em;
}

.studio-kpi-value {
  font: 400 clamp(2.8rem, 5vw, 4.5rem)/.95 "Instrument Serif", Georgia, serif;
  letter-spacing: -.045em;
}

.studio-kpi-foot {
  color: var(--studio-muted);
  font-size: .7rem;
}

.studio-list {
  gap: 9px;
}

.studio-list-row {
  grid-template-columns: minmax(80px, .9fr) 2fr auto;
  font-size: .68rem;
}

.studio-track {
  height: 6px;
  background: #edf0ed;
}

.studio-fill {
  background: var(--viz-primary, var(--studio-accent));
}

.studio-line-chart {
  max-height: 210px;
  overflow: visible;
}

.studio-chart-grid {
  stroke: #e2e7e3;
  stroke-width: 1;
}

.studio-chart-line {
  fill: none;
  stroke: var(--viz-primary, #177a58);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-chart-point circle {
  fill: var(--viz-primary, #177a58);
  stroke: #fff;
  stroke-width: 2;
  transition: r .12s ease, fill .12s ease;
}

.studio-chart-point:hover circle {
  r: 6;
  fill: var(--studio-warm);
}

.studio-chart-axis-label,
.studio-chart-value-label {
  fill: var(--studio-muted);
  font: 500 9px "Manrope", sans-serif;
}

.studio-chart-value-label {
  fill: var(--studio-ink);
  font-weight: 700;
}

.studio-table-wrap {
  border-color: var(--studio-border);
  border-top: 2px solid var(--viz-primary, var(--studio-accent));
  border-radius: 7px;
  background: #fff;
}

.studio-table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.studio-table-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(320px, 100%);
}

.studio-table-search svg {
  position: absolute;
  left: 10px;
  width: 15px;
  fill: none;
  stroke: var(--studio-muted);
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.studio-table-search input {
  width: 100%;
  min-height: 36px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--studio-border-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--studio-ink);
  font: 500 .68rem "Manrope", sans-serif;
}

.studio-table-search input:focus {
  border-color: var(--viz-primary, var(--studio-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--viz-primary, var(--studio-accent)) 12%, transparent);
  outline: 0;
}

.studio-table-results {
  flex: 0 0 auto;
  color: var(--studio-faint);
  font-size: .61rem;
}

.studio-table th,
.studio-table td {
  padding: 10px 12px;
  border-bottom-color: #edf0ed;
  font-size: .68rem;
}

.studio-table th {
  padding: 0;
  background: #f5f6f4;
  background: color-mix(in srgb, var(--viz-primary, var(--studio-accent)) 8%, white);
  color: var(--viz-primary, var(--studio-muted));
  font-size: .58rem;
}

.studio-table-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.studio-table-sort:hover {
  background: #e9eeea;
  color: var(--studio-ink);
}

.studio-table-sort:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--viz-primary, var(--studio-accent));
  outline-offset: -2px;
}

.studio-table-sort i {
  color: var(--studio-faint);
  font-size: .72rem;
  font-style: normal;
  letter-spacing: 0;
}

.studio-table th[aria-sort="ascending"] .studio-table-sort,
.studio-table th[aria-sort="descending"] .studio-table-sort {
  background: color-mix(in srgb, var(--viz-primary, var(--studio-accent)) 16%, white);
  color: var(--viz-primary, var(--studio-accent));
}

.studio-table tbody tr:hover {
  background: color-mix(in srgb, var(--viz-primary, var(--studio-accent)) 5%, white);
}

.studio-table-no-results {
  padding: 28px !important;
  color: var(--studio-muted);
  text-align: center !important;
}

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

.studio-empty {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 440px;
  border: 1px dashed #c8d0cb;
  border-radius: 9px;
  background: rgba(255, 255, 255, .62);
  color: var(--studio-muted);
  font-size: .76rem;
}

.studio-empty strong {
  font: 400 1.6rem/1.2 "Instrument Serif", Georgia, serif;
  letter-spacing: -.02em;
}

.studio-empty--dashboard > div {
  display: grid;
  justify-items: center;
  max-width: 430px;
}

.studio-empty--dashboard p {
  margin: 12px 0 22px;
  color: var(--studio-muted);
  font-size: .74rem;
  line-height: 1.7;
}

.studio-empty-kicker {
  margin-bottom: 10px;
  color: var(--studio-accent);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-empty--dashboard .studio-primary {
  min-width: 132px;
}

.studio-inspector-grid {
  gap: 12px;
}

.studio-inspector .studio-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.studio-advanced-field,
.studio-manual-apply {
  display: none;
}

body.studio-has-data:not(.studio-has-selection) .studio-picker-intro,
body.studio-has-data:not(.studio-has-selection) .studio-visual-picker,
body.studio-has-data:not(.studio-has-selection) .studio-inspector-grid > *:not(#studio-inspector-note) {
  display: none;
}

body.studio-has-data:not(.studio-has-selection) #studio-inspector-note {
  padding: 18px;
  border-style: dashed;
  background: #fafbf9;
  color: var(--studio-muted);
  font-size: .74rem;
}

/* Progressive disclosure keeps the first visit focused on one task. */
body:not(.studio-has-data) .studio-workspace,
body:not(.studio-has-data) .studio-uploader > .studio-panel:last-child,
body:not(.studio-has-data) #studio-reset-button,
body:not(.studio-has-data) #studio-loader-form > .studio-dropzone + .studio-form-grid {
  display: none;
}

body:not(.studio-has-data) .studio-hero {
  min-height: calc(100vh - 64px);
  padding: clamp(48px, 9vh, 110px) 20px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(23, 107, 77, .08), transparent 34%),
    #fafbf9;
}

body:not(.studio-has-data) .studio-hero-top {
  display: block;
  min-height: 0;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 0;
  border: 0;
  text-align: center;
}

body:not(.studio-has-data) .studio-hero-copy {
  display: block;
  max-width: none;
}

body:not(.studio-has-data) .studio-badge,
body:not(.studio-has-data) .studio-hero-top > .studio-pill-row {
  display: none;
}

body:not(.studio-has-data) .studio-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: .96;
}

body:not(.studio-has-data) .studio-hero p {
  max-width: 540px;
  margin: 15px auto 0;
  font-size: .92rem;
}

.studio-public-count {
  width: max-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 7px 10px;
  border: 1px solid #d6e3dc;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--studio-accent);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .02em;
}

body.studio-has-data .studio-public-count {
  display: none;
}

body:not(.studio-has-data) .studio-uploader {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

body:not(.studio-has-data) .studio-panel {
  border: 1px solid var(--studio-border);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(21, 33, 29, .08);
}

body:not(.studio-has-data) .studio-panel-inner {
  padding: clamp(22px, 4vw, 34px);
}

body:not(.studio-has-data) .studio-uploader-card > div:first-child {
  text-align: center;
}

body:not(.studio-has-data) .studio-uploader-card h3 {
  font-size: 1rem;
}

body:not(.studio-has-data) .studio-uploader-card > div:first-child .studio-small {
  max-width: 480px;
  margin: 5px auto 0;
}

body:not(.studio-has-data) #studio-loader-form > .studio-form-grid:first-child {
  grid-template-columns: minmax(0, 1fr) 150px;
}

body:not(.studio-has-data) .studio-dropzone {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 116px;
  padding: 20px;
  text-align: center;
}

body:not(.studio-has-data) .studio-dropzone::before {
  content: "or";
  display: block;
  margin-top: -32px;
  padding: 0 10px;
  background: #fff;
  color: var(--studio-faint);
  font-size: .65rem;
  text-transform: uppercase;
}

body:not(.studio-has-data) .studio-file-input {
  width: auto;
  max-width: 100%;
}

body:not(.studio-has-data) .studio-actions {
  justify-content: center;
}

body:not(.studio-has-data) #studio-load-button {
  min-width: 180px;
  min-height: 44px;
}

body:not(.studio-has-data) #studio-message {
  text-align: center;
}

body.studio-has-data .studio-hero-top,
body.studio-has-data .studio-uploader > .studio-panel:last-child {
  display: none;
}

body.studio-has-data .studio-uploader {
  display: block;
}

body.studio-has-data .studio-uploader > .studio-panel:first-child .studio-panel-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px clamp(20px, 3vw, 48px);
}

body.studio-has-data .studio-uploader > .studio-panel:first-child .studio-panel-inner > div:first-child {
  min-width: 210px;
}

body.studio-has-data #studio-loader-form {
  display: block;
}

body.studio-has-data #studio-loader-form > .studio-form-grid,
body.studio-has-data #studio-loader-form > .studio-dropzone {
  display: none;
}

body.studio-has-data #studio-message {
  max-width: 520px;
  margin-left: auto;
}

body.studio-has-data .studio-workspace {
  min-height: calc(100vh - 132px);
}

@media (max-width: 1180px) {
  .studio-uploader {
    grid-template-columns: 1fr;
  }

  .studio-panel {
    border-right: 0;
    border-bottom: 1px solid var(--studio-border);
  }

  .studio-workspace {
    grid-template-columns: 200px minmax(480px, 1fr) 250px;
  }

  .studio-guide {
    grid-template-columns: 1fr;
  }
}

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

  .studio-workspace {
    grid-template-columns: 1fr;
  }

  .studio-sidebar,
  .studio-inspector {
    border: 0;
    border-bottom: 1px solid var(--studio-border);
  }

  .studio-field-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 260px;
  }

  .studio-guide-steps {
    grid-template-columns: 1fr;
  }

  body.studio-has-data .studio-uploader > .studio-panel:first-child .studio-panel-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.studio-has-data #studio-message {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .shell-header {
    padding: 0 16px;
  }

  .shell-nav a:not(:first-child) {
    display: none;
  }

  .studio-hero-top,
  .studio-panel-inner {
    padding: 18px 16px;
  }

  .studio-hero-copy {
    display: block;
  }

  .studio-badge {
    margin-bottom: 10px;
  }

  .studio-hero h1 {
    font-size: 2rem;
  }

  .studio-dropzone,
  .studio-form-grid,
  .studio-metrics,
  .studio-template-grid {
    grid-template-columns: 1fr;
  }

  .studio-metric {
    border-right: 0;
    border-bottom: 1px solid var(--studio-border);
  }

  .studio-metric:last-child {
    border-bottom: 0;
  }

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

  .studio-canvas-body {
    padding: 10px;
  }

  .studio-canvas-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-report-actions {
    justify-content: flex-start;
  }
}

/* Public story */
.viz-marketing {
  padding-inline: clamp(20px, 4vw, 72px);
}

.viz-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--studio-warm);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.viz-landing {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
  min-height: min(680px, calc(100vh - 64px));
  padding-block: clamp(44px, 6vw, 88px);
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 22%, rgba(198, 100, 60, .12), transparent 28%),
    linear-gradient(180deg, #fbfcfa, #f3f4f1);
}

.viz-landing-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 650px;
}

.viz-landing h1,
.viz-platform h2,
.viz-privacy h2,
.viz-section-heading h2 {
  margin: 0;
  color: var(--studio-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
}

.viz-landing h1 {
  max-width: 8ch;
  font-size: clamp(4.3rem, 7.5vw, 8.2rem);
  line-height: .83;
}

.viz-landing-copy > p {
  max-width: 570px;
  margin: 20px 0 0;
  color: #50605a;
  font-size: clamp(.98rem, 1.2vw, 1.15rem);
  line-height: 1.8;
}

.viz-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}

.viz-primary-link,
.viz-text-link {
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.viz-primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  background: var(--studio-ink);
  color: #fff;
  transition: transform .18s ease, background .18s ease;
}

.viz-primary-link:hover {
  transform: translateY(-2px);
  background: var(--studio-accent);
}

.viz-text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid #9da9a3;
  color: var(--studio-ink);
}

.viz-trust-line {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  color: var(--studio-muted);
  font-size: .68rem;
  font-weight: 600;
}

.viz-trust-line span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.viz-trust-line span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--studio-accent);
  content: "";
}

.viz-landing .studio-public-count {
  margin: 22px 0 0;
  border: 0;
  background: transparent;
  color: var(--studio-muted);
  font-size: .7rem;
}

.viz-banner-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(780px, 100%);
  padding: 36px 0 28px;
}

.viz-banner-art::before {
  position: absolute;
  z-index: -1;
  inset: -80px -130px -80px 20%;
  border-radius: 50%;
  background: rgba(23, 107, 77, .09);
  content: "";
}

.viz-demo-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: #15211d;
  box-shadow: 0 46px 90px rgba(21, 33, 29, .24);
  color: #eef3ef;
  transform: rotate(1.5deg);
}

.viz-demo-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(238, 243, 239, .6);
  font-size: .62rem;
}

.viz-demo-toolbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(238, 243, 239, .24);
}

.viz-demo-toolbar span {
  margin-left: auto;
  font-weight: 600;
  letter-spacing: .04em;
}

.viz-demo-grid {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 1px;
  background: rgba(255, 255, 255, .08);
}

.viz-demo-grid article {
  min-width: 0;
  background: #192823;
}

.viz-demo-kpi,
.viz-demo-list {
  padding: 28px;
}

.viz-demo-kpi > span,
.viz-demo-list > span,
.viz-demo-chart-head {
  color: rgba(238, 243, 239, .58);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.viz-demo-kpi strong {
  display: block;
  margin: 20px 0 6px;
  color: #fff;
  font: 400 clamp(2.6rem, 5vw, 4.8rem)/1 "Instrument Serif", Georgia, serif;
}

.viz-demo-kpi small {
  color: rgba(238, 243, 239, .48);
  font-size: .61rem;
}

.viz-demo-chart {
  grid-row: span 2;
  padding: 28px 30px 18px;
}

.viz-demo-chart-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.viz-demo-chart-head small {
  color: #e99a77;
  font-size: inherit;
}

.viz-demo-chart svg {
  width: 100%;
}

.viz-demo-gridline {
  fill: none;
  stroke: rgba(255, 255, 255, .08);
}

.viz-demo-area {
  fill: url(#viz-banner-fill);
}

.viz-demo-line {
  fill: none;
  stroke: #e8734a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.viz-demo-points circle {
  fill: #e8734a;
  stroke: #192823;
  stroke-width: 3;
}

.viz-demo-list > div {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  font-size: .58rem;
}

.viz-demo-list b {
  overflow: hidden;
  color: rgba(238, 243, 239, .68);
  font-weight: 500;
  text-overflow: ellipsis;
}

.viz-demo-list i {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.viz-demo-list i::before {
  display: block;
  width: var(--bar);
  height: 100%;
  background: #69ad8f;
  content: "";
}

.viz-demo-list strong {
  font-size: .58rem;
}

.viz-floating-note {
  position: absolute;
  right: -18px;
  bottom: 0;
  display: grid;
  gap: 5px;
  padding: 15px 18px;
  border: 1px solid rgba(21, 33, 29, .08);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(21, 33, 29, .14);
  transform: rotate(-2deg);
}

.viz-floating-note span {
  color: var(--studio-muted);
  font-size: .58rem;
  text-transform: uppercase;
}

.viz-floating-note strong {
  font-size: .72rem;
}

.viz-platform {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .7fr);
  gap: clamp(50px, 9vw, 150px);
  padding-block: clamp(56px, 7vw, 96px);
  background: #fff;
}

.viz-platform h2,
.viz-privacy h2,
.viz-section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: .96;
}

.viz-platform-copy {
  align-self: end;
  padding-bottom: 4px;
}

.viz-platform-copy p,
.viz-privacy p,
.viz-how-grid p {
  color: var(--studio-muted);
  line-height: 1.8;
}

.viz-platform-copy p {
  margin: 0;
}

.viz-platform-copy p + p {
  margin-top: 20px;
}

.viz-privacy {
  display: grid;
  grid-template-columns: 110px minmax(300px, .8fr) minmax(360px, .7fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  padding-block: clamp(52px, 6vw, 84px);
  background: var(--studio-ink);
  color: #fff;
}

.viz-privacy-mark {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #e99a77;
  font: 400 3.2rem/1 "Instrument Serif", Georgia, serif;
}

.viz-privacy h2 {
  color: #fff;
}

.viz-privacy p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .64);
}

.viz-privacy-facts {
  display: grid;
}

.viz-privacy-facts span {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .56);
  font-size: .76rem;
  line-height: 1.65;
}

.viz-privacy-facts span:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.viz-privacy-facts strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: .78rem;
}

.viz-how {
  padding-block: clamp(96px, 12vw, 160px);
  background: #f4f5f2;
}

.viz-section-heading {
  max-width: 780px;
}

.viz-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(54px, 7vw, 90px);
  border-top: 1px solid var(--studio-border-strong);
}

.viz-how-grid article {
  padding: 30px 38px 8px 0;
}

.viz-how-grid article + article {
  padding-left: 38px;
  border-left: 1px solid var(--studio-border);
}

.viz-how-grid article > span {
  color: var(--studio-warm);
  font: 400 1.5rem/1 "Instrument Serif", Georgia, serif;
}

.viz-how-grid h3 {
  margin: 40px 0 10px;
  font-size: .96rem;
}

.viz-how-grid p {
  max-width: 310px;
  margin: 0;
  font-size: .78rem;
}

.viz-nav-cta {
  background: var(--studio-ink);
  color: #fff !important;
}

.viz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
  border-top: 1px solid var(--studio-border);
  background: #fff;
  color: var(--studio-muted);
  font-size: .7rem;
}

.viz-footer div {
  display: flex;
  gap: 12px;
}

.viz-footer strong {
  color: var(--studio-ink);
}

.viz-footer p {
  margin: 0;
}

.viz-data-promise {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 790px;
  margin: 0 auto 28px;
  padding: 24px 28px;
  border: 1px solid #b8d1c4;
  border-radius: 12px;
  background: #e9f2ed;
  color: var(--studio-ink);
  text-align: left;
}

.viz-data-promise-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--studio-accent);
  color: #fff;
}

.viz-data-promise-mark svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.viz-data-promise span {
  display: block;
  margin-bottom: 5px;
  color: var(--studio-accent);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.viz-data-promise h2 {
  margin: 0;
  font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 "Instrument Serif", Georgia, serif;
  letter-spacing: -.03em;
}

.viz-data-promise p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #496158;
  font-size: .75rem;
  line-height: 1.65;
}

/* Decision tools */
.studio-action-button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.studio-draft-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid #c6d9cf;
  border-radius: 14px;
  background: #edf5f1;
}

.studio-draft-notice[hidden],
.studio-findings[hidden],
.studio-filter-bar[hidden] {
  display: none;
}

.studio-draft-notice div:first-child {
  display: grid;
  gap: 4px;
}

.studio-draft-notice strong {
  color: var(--studio-ink);
  font-size: .84rem;
}

.studio-draft-notice span {
  color: var(--studio-muted);
  font-size: .72rem;
}

.studio-text-button {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--studio-accent);
  font: 700 .72rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.studio-section-heading,
.studio-filter-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.studio-section-heading h3 {
  margin: 5px 0 0;
  font: 400 1.8rem/1 "Instrument Serif", Georgia, serif;
  letter-spacing: -.03em;
}

.studio-findings {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d6ddd8;
  border-radius: 18px;
  background: #fbfcfa;
}

.studio-quality-score {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e6f1eb;
  color: #176b4d;
  font-size: .66rem;
  font-weight: 700;
}

.studio-quality-score.has-warning {
  background: #fff0da;
  color: #9a5a05;
}

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

.studio-finding {
  min-width: 0;
  padding: 15px;
  border: 1px solid #e2e6e3;
  border-radius: 13px;
  background: #fff;
}

.studio-finding::before {
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 13px;
  border-radius: 99px;
  background: #66736d;
  content: "";
}

.studio-finding--positive::before {
  background: #23815e;
}

.studio-finding--accent::before {
  background: #2767b7;
}

.studio-finding--warning::before {
  background: #c47618;
}

.studio-finding span,
.studio-finding small {
  display: block;
  overflow: hidden;
  color: var(--studio-muted);
  font-size: .64rem;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.studio-finding span {
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.studio-finding strong {
  display: block;
  overflow: hidden;
  margin: 7px 0 5px;
  color: var(--studio-ink);
  font: 600 1.25rem/1.12 "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-filter-bar {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dedfd9;
  border-radius: 16px;
  background: #f6f3ed;
}

.studio-filter-heading strong {
  display: block;
  margin-top: 4px;
  font-size: .84rem;
}

.studio-filter-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(110px, 1fr));
  gap: 10px;
}

.studio-filter-grid .studio-field {
  min-width: 0;
}

.studio-filter-grid .studio-field > span {
  color: var(--studio-muted);
  font-size: .62rem;
}

.studio-filter-grid input,
.studio-filter-grid select {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: .72rem;
}

.studio-filter-status {
  color: var(--studio-muted);
  font-size: .68rem;
}

.studio-filter-status strong {
  color: var(--studio-ink);
}

.studio-filter-status button {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--studio-accent);
  font: 700 .68rem "Manrope", sans-serif;
  cursor: pointer;
}

.studio-field-chip {
  overflow: hidden;
  padding: 0;
}

.studio-field-chip.is-hidden {
  opacity: .58;
}

.studio-field-main {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 13px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.studio-field-tools {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  padding: 0 9px 9px;
}

.studio-field-tools button,
.studio-field-tools select {
  width: 100%;
  min-height: 30px;
  border: 1px solid #d8ddd9;
  border-radius: 8px;
  background: #fff;
  color: #43534c;
  font: 600 .62rem "Manrope", sans-serif;
}

.studio-field-tools button {
  padding-inline: 9px;
  cursor: pointer;
}

.studio-tile-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.studio-tile-actions > button {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid #d7ddd9;
  border-radius: 7px;
  background: #fff;
  color: #53625c;
  font: 700 .6rem "Manrope", sans-serif;
  cursor: pointer;
}

.studio-list-row--interactive {
  width: 100%;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.studio-list-row--interactive:hover {
  border-color: #d8e3dd;
  background: #f4f8f6;
}

.studio-chart-point {
  cursor: pointer;
}

.studio-chart-point:hover circle,
.studio-chart-point:focus circle {
  r: 5;
}

@media (max-width: 1180px) {
  .studio-findings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .studio-draft-notice,
  .studio-section-heading,
  .studio-filter-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-findings-grid,
  .studio-filter-grid {
    grid-template-columns: 1fr;
  }
}

/* Refined public story */
body:not(.studio-has-data) .shell-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom-color: rgba(21, 33, 29, .08);
  background: rgba(251, 252, 250, .88);
  backdrop-filter: blur(18px);
}

.viz-landing {
  position: relative;
  min-height: min(720px, calc(100vh - 64px));
  background:
    linear-gradient(rgba(21, 33, 29, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 33, 29, .025) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(232, 115, 74, .13), transparent 27%),
    radial-gradient(circle at 18% 88%, rgba(23, 107, 77, .08), transparent 25%),
    #fbfcfa;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.viz-landing::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 33, 29, .2), transparent);
  content: "";
}

.viz-landing h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 6.6vw, 7.3rem);
  line-height: .88;
}

.viz-landing h1 em {
  color: var(--studio-accent);
  font-weight: inherit;
}

.viz-banner-art {
  animation: viz-dashboard-arrive .7s cubic-bezier(.2, .8, .2, 1) both;
}

.viz-demo-window {
  border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 50px 100px rgba(21, 33, 29, .22), 0 1px 0 rgba(255, 255, 255, .08) inset;
}

.viz-primary-link::after {
  margin-left: 13px;
  font-size: 1rem;
  content: "\2192";
  transition: transform .18s ease;
}

.viz-primary-link:hover::after {
  transform: translateX(3px);
}

.viz-platform {
  padding-block: clamp(64px, 7vw, 96px);
}

.viz-capabilities {
  display: grid;
  gap: clamp(36px, 5vw, 62px);
  padding-block: clamp(66px, 8vw, 108px);
  background: #eef1ec;
}

.viz-capabilities-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .55fr);
  column-gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.viz-capabilities-heading .viz-eyebrow {
  grid-column: 1 / -1;
}

.viz-capabilities-heading h2 {
  max-width: 850px;
  margin: 0;
  color: var(--studio-ink);
  font: 400 clamp(2.8rem, 4.7vw, 5rem)/.96 "Instrument Serif", Georgia, serif;
  letter-spacing: -.045em;
}

.viz-capabilities-heading > p {
  margin: 0 0 4px;
  color: var(--studio-muted);
  font-size: .86rem;
  line-height: 1.8;
}

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

.viz-capability-card {
  position: relative;
  min-height: 330px;
  padding: clamp(24px, 3.2vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(21, 33, 29, .08);
  border-radius: 18px;
  background: #fbfcfa;
}

.viz-capability-card--feature {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  grid-column: 1 / -1;
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
  min-height: 390px;
  background: var(--studio-ink);
  color: #fff;
}

.viz-capability-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(21, 33, 29, .25);
  font: 400 2.2rem/1 "Instrument Serif", Georgia, serif;
}

.viz-capability-card--feature .viz-capability-number {
  color: rgba(255, 255, 255, .22);
}

.viz-capability-card > span,
.viz-capability-card--feature > div:nth-child(2) > span {
  color: var(--studio-warm);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.viz-capability-card h3 {
  max-width: 570px;
  margin: 18px 0 14px;
  color: var(--studio-ink);
  font: 400 clamp(2rem, 3vw, 3.5rem)/1 "Instrument Serif", Georgia, serif;
  letter-spacing: -.035em;
}

.viz-capability-card--feature h3 {
  color: #fff;
}

.viz-capability-card p {
  max-width: 530px;
  margin: 0;
  color: var(--studio-muted);
  font-size: .78rem;
  line-height: 1.75;
}

.viz-capability-card--feature p {
  color: rgba(255, 255, 255, .6);
}

.viz-insight-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-self: end;
}

.viz-insight-preview > span {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

.viz-insight-preview small,
.viz-insight-preview strong {
  display: block;
}

.viz-insight-preview small {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .46);
  font-size: .55rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.viz-insight-preview strong {
  overflow: hidden;
  color: #fff;
  font: 400 clamp(1.25rem, 2vw, 2rem)/1 "Instrument Serif", Georgia, serif;
  text-overflow: ellipsis;
}

.viz-filter-preview,
.viz-export-preview {
  position: absolute;
  right: clamp(24px, 3.2vw, 42px);
  bottom: clamp(24px, 3.2vw, 42px);
  left: clamp(24px, 3.2vw, 42px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.viz-filter-preview i,
.viz-export-preview i {
  padding: 9px 12px;
  border: 1px solid rgba(21, 33, 29, .1);
  border-radius: 999px;
  background: #fff;
  color: #50605a;
  font-size: .61rem;
  font-style: normal;
}

.viz-filter-preview b {
  margin-left: auto;
  color: var(--studio-accent);
  font-size: .64rem;
}

.viz-export-preview i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 13px;
  font-weight: 700;
}

.viz-export-preview i:first-child {
  border-color: transparent;
  background: var(--studio-accent);
  color: #fff;
}

.viz-privacy,
.viz-how {
  padding-block: clamp(70px, 8vw, 108px);
}

.viz-consent {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  width: min(680px, calc(100vw - 44px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 16px;
  background: #15211d;
  box-shadow: 0 28px 80px rgba(10, 19, 15, .28);
  color: #fff;
}

.viz-consent[hidden] {
  display: none;
}

.viz-consent span,
.viz-consent strong {
  display: block;
}

.viz-consent span {
  margin-bottom: 6px;
  color: #80b89f;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.viz-consent strong {
  font: 400 1.55rem/1 "Instrument Serif", Georgia, serif;
}

.viz-consent p {
  max-width: 470px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .58);
  font-size: .68rem;
  line-height: 1.6;
}

.viz-consent-actions {
  display: flex;
  gap: 8px;
}

.viz-consent-actions button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: 700 .64rem "Manrope", sans-serif;
  cursor: pointer;
}

.viz-consent-actions button:last-child {
  border-color: #d88760;
  background: #d88760;
  color: #15211d;
}

.viz-footer-meta {
  align-items: center;
}

.viz-cookie-settings {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #9ba69f;
  background: transparent;
  color: var(--studio-muted);
  font: 600 .68rem "Manrope", sans-serif;
  cursor: pointer;
}

@keyframes viz-dashboard-arrive {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .viz-banner-art {
    animation: none;
  }
}

@media (max-width: 900px) {
  .viz-capabilities-heading,
  .viz-capability-card--feature {
    grid-template-columns: 1fr;
  }

  .viz-capabilities-heading > p {
    margin-top: 18px;
  }

  .viz-capability-card--feature {
    min-height: 0;
  }
}

.viz-mobile-menu {
  display: none;
}

@media (max-width: 760px) {
  .shell-header {
    position: sticky;
    overflow: visible;
    padding-inline: 16px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .viz-mobile-menu {
    display: grid;
    place-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--studio-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }

  .viz-mobile-menu span {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 99px;
    background: var(--studio-ink);
    transition: transform .18s ease, opacity .18s ease;
  }

  .shell-header.is-menu-open .viz-mobile-menu span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .shell-header.is-menu-open .viz-mobile-menu span:nth-child(2) {
    opacity: 0;
  }

  .shell-header.is-menu-open .viz-mobile-menu span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .viz-public-nav {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    padding: 10px;
    border: 1px solid rgba(21, 33, 29, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 60px rgba(13, 32, 25, .18);
  }

  .shell-header.is-menu-open .viz-public-nav {
    display: flex;
  }

  .viz-public-nav a:not([aria-hidden="true"]),
  .viz-public-nav a:not(.viz-nav-cta):not([aria-hidden="true"]) {
    display: flex !important;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--studio-ink);
  }

  .viz-public-nav .viz-nav-cta {
    justify-content: center;
    margin-top: 4px;
    background: #173e34;
    color: #fff;
  }

  body.studio-has-data .viz-mobile-menu,
  body.studio-has-data .viz-public-nav {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-subtitle {
    display: none;
  }
}

/* VizData identity experiment: deep editorial hero and data-path mark */
.brand-mark {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background:
    radial-gradient(circle at 78% 18%, rgba(230, 137, 93, .32), transparent 30%),
    linear-gradient(145deg, #173e34, #10241f);
  box-shadow: 0 8px 22px rgba(16, 36, 31, .17);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: #f7f1e7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.4;
}

.brand-mark circle {
  fill: #e6895d;
  stroke: #173e34;
  stroke-width: 2;
}

.brand-name {
  font-size: 1rem;
}

.viz-nav-cta {
  background: #173e34;
  box-shadow: 0 8px 20px rgba(23, 62, 52, .13);
}

.viz-landing {
  isolation: isolate;
  color: #f7f1e7;
  background:
    radial-gradient(circle at 78% 18%, rgba(230, 137, 93, .24), transparent 25%),
    radial-gradient(circle at 8% 92%, rgba(82, 143, 115, .22), transparent 28%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, #10241f 0%, #17372f 52%, #1d4439 100%);
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
}

.viz-landing::before {
  position: absolute;
  z-index: -1;
  top: -28%;
  right: 28%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .018),
    0 0 0 140px rgba(255, 255, 255, .012);
  content: "";
}

.viz-landing::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

.viz-landing .viz-eyebrow {
  color: #e9a17d;
}

.viz-landing h1 {
  color: #f8f3e9;
  text-shadow: 0 12px 50px rgba(6, 19, 15, .22);
}

.viz-landing h1 em {
  color: #ee9a72;
}

.viz-landing-copy > p {
  color: rgba(247, 241, 231, .7);
}

.viz-landing .viz-primary-link {
  background: #ee9a72;
  box-shadow: 0 14px 30px rgba(8, 25, 19, .2);
  color: #10241f;
}

.viz-landing .viz-primary-link:hover {
  background: #f3b18f;
}

.viz-landing .viz-text-link {
  border-bottom-color: rgba(255, 255, 255, .38);
  color: #f7f1e7;
}

.viz-landing .viz-trust-line {
  color: rgba(247, 241, 231, .58);
}

.viz-landing .viz-trust-line span::before {
  background: #79b594;
  box-shadow: 0 0 0 3px rgba(121, 181, 148, .1);
}

body #viz-public-count.viz-social-proof {
  border-top-color: rgba(255, 255, 255, .14);
}

body #viz-public-count .viz-social-proof-label {
  color: rgba(247, 241, 231, .48);
}

body #viz-public-count .viz-social-proof-value {
  color: #ee9a72;
}

body #viz-public-count .viz-social-proof-copy {
  color: rgba(247, 241, 231, .64);
}

.viz-banner-art::before {
  inset: -90px -110px -90px 12%;
  background:
    radial-gradient(circle at 75% 22%, rgba(238, 154, 114, .4), transparent 22%),
    radial-gradient(circle, rgba(255, 255, 255, .09), transparent 64%);
}

.viz-demo-window {
  border-color: rgba(255, 255, 255, .5);
  background: #f3eee4;
  box-shadow:
    0 54px 100px rgba(5, 17, 13, .34),
    0 1px 0 rgba(255, 255, 255, .8) inset;
  color: #173029;
}

.viz-demo-toolbar {
  border-bottom-color: rgba(23, 48, 41, .08);
  background: #eee7db;
  color: #6a766f;
}

.viz-demo-toolbar i {
  background: #c7bdb0;
}

.viz-demo-toolbar i:first-child {
  background: #dd8460;
}

.viz-demo-grid {
  background: #ddd8ce;
}

.viz-demo-grid article {
  background: #fbf8f2;
}

.viz-demo-kpi > span,
.viz-demo-list > span,
.viz-demo-chart-head {
  color: #748079;
}

.viz-demo-kpi strong,
.viz-demo-list strong {
  color: #173029;
}

.viz-demo-kpi small {
  color: #8b948f;
}

.viz-demo-chart-head small {
  color: #c86240;
}

.viz-demo-gridline {
  stroke: rgba(23, 48, 41, .1);
}

.viz-demo-line {
  stroke: #c86240;
}

.viz-demo-points circle {
  fill: #c86240;
  stroke: #fbf8f2;
}

.viz-demo-list b {
  color: #637169;
}

.viz-demo-list i {
  background: #e6e2da;
}

.viz-demo-list i::before {
  background: #3f8a6b;
}

.viz-floating-note {
  border-color: rgba(255, 255, 255, .22);
  background: #e98e65;
  box-shadow: 0 24px 55px rgba(5, 17, 13, .3);
  color: #10241f;
}

.viz-floating-note span {
  color: rgba(16, 36, 31, .62);
}

@media (max-width: 760px) {
  .viz-landing {
    background:
      radial-gradient(circle at 88% 12%, rgba(230, 137, 93, .23), transparent 25%),
      linear-gradient(145deg, #10241f, #1b4036);
  }

  .viz-landing::before {
    top: -10%;
    right: -60%;
    width: 380px;
    height: 380px;
  }

  .viz-demo-window {
    transform: none;
  }
}

@media (max-width: 700px) {
  .viz-landing h1 {
    max-width: 9ch;
    font-size: clamp(3.5rem, 16vw, 5.1rem);
  }

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

  .viz-capability-card,
  .viz-capability-card--feature {
    grid-column: auto;
    min-height: 370px;
  }

  .viz-capability-card--feature {
    padding-bottom: 24px;
  }

  .viz-insight-preview {
    grid-template-columns: 1fr;
  }

  .viz-insight-preview > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px;
  }

  .viz-insight-preview small {
    margin: 0;
  }

  .viz-consent {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100vw - 24px);
  }

  .viz-consent-actions {
    justify-content: flex-end;
  }
}

body.studio-has-data .viz-data-promise {
  display: none;
}

.studio-palette-field {
  min-width: 0;
  margin: 2px 0;
  padding: 0;
  border: 0;
}

.studio-palette-field legend {
  margin-bottom: 9px;
  color: #34434f;
  font-size: .72rem;
  font-weight: 700;
}

.studio-palette-field small {
  display: block;
  margin-top: 8px;
  color: var(--studio-faint);
  font-size: .62rem;
}

.studio-palette-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.studio-palette {
  display: flex;
  min-height: 40px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--studio-border);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.studio-palette:hover {
  border-color: #aebbb4;
}

.studio-palette.is-active {
  border-color: var(--studio-ink);
  box-shadow: 0 0 0 2px rgba(21, 33, 29, .1);
}

.studio-palette i {
  flex: 1;
  background: #176b4d;
}

.studio-palette i:first-child {
  border-radius: 3px 0 0 3px;
}

.studio-palette i:last-child {
  border-radius: 0 3px 3px 0;
}

.studio-palette[data-palette="forest"] i:nth-child(1) { background: #176b4d; }
.studio-palette[data-palette="forest"] i:nth-child(2) { background: #c6643c; }
.studio-palette[data-palette="forest"] i:nth-child(3) { background: #7ba58f; }
.studio-palette[data-palette="ocean"] i:nth-child(1) { background: #1769aa; }
.studio-palette[data-palette="ocean"] i:nth-child(2) { background: #27a6a1; }
.studio-palette[data-palette="ocean"] i:nth-child(3) { background: #69b8d0; }
.studio-palette[data-palette="ember"] i:nth-child(1) { background: #b84c2e; }
.studio-palette[data-palette="ember"] i:nth-child(2) { background: #d99028; }
.studio-palette[data-palette="ember"] i:nth-child(3) { background: #e7b75f; }
.studio-palette[data-palette="slate"] i:nth-child(1) { background: #334e68; }
.studio-palette[data-palette="slate"] i:nth-child(2) { background: #647d8c; }
.studio-palette[data-palette="slate"] i:nth-child(3) { background: #91a6b2; }

.studio-danger {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #e1c7c2;
  border-radius: 7px;
  background: #fff8f7;
  color: #a13e31;
  font: 700 .67rem "Manrope", sans-serif;
  cursor: pointer;
}

.studio-danger:hover {
  border-color: #bd5b4d;
  background: #fcecea;
}

/* The upload area closes the public story instead of taking over the page. */
body:not(.studio-has-data) .studio-hero {
  min-height: 0;
  padding: clamp(80px, 10vw, 130px) clamp(24px, 6vw, 96px);
  border-bottom: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(23, 107, 77, .08), transparent 32%),
    #fafbf9;
}

body:not(.studio-has-data) .studio-hero-top {
  margin-bottom: 42px;
}

body:not(.studio-has-data) .studio-hero h1 {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
}

body:not(.studio-has-data) .studio-uploader {
  max-width: 790px;
}

/* A loaded report is the workspace. Controls stay out of the way until needed. */
body.studio-has-data .viz-marketing,
body.studio-has-data .viz-public-nav,
.studio-sidebar,
.studio-guide-steps,
.studio-inspector {
  display: none;
}

.studio-workspace,
body.studio-has-data .studio-workspace {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.studio-guide {
  grid-template-columns: minmax(0, 1fr);
  padding: 22px clamp(20px, 4vw, 58px);
}

.studio-guide-copy {
  max-width: 850px;
}

body.studio-has-selection .studio-workspace {
  grid-template-columns: minmax(0, 1fr) 310px;
}

body.studio-has-selection .studio-inspector {
  display: grid;
}

.studio-canvas-wrap {
  min-width: 0;
}

.studio-canvas-head {
  padding: 20px clamp(18px, 3vw, 42px);
}

.studio-canvas-body {
  padding: clamp(16px, 2.5vw, 34px);
}

@media (max-width: 1080px) {
  .viz-landing {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .viz-landing-copy {
    max-width: 720px;
  }

  .viz-landing h1 {
    max-width: 9ch;
  }

  .viz-banner-art {
    width: min(820px, 94%);
    margin-inline: auto;
  }

  .viz-platform,
  .viz-privacy {
    grid-template-columns: 1fr;
  }

  .viz-platform-copy,
  .viz-privacy > div:nth-child(2) {
    max-width: 760px;
  }

  .viz-privacy-mark {
    width: 68px;
    height: 68px;
    font-size: 2.5rem;
  }

  body.studio-has-selection .studio-workspace {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

@media (max-width: 760px) {
  .viz-public-nav a:not(.viz-nav-cta) {
    display: none;
  }

  .viz-marketing {
    padding-inline: 20px;
  }

  .viz-landing {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-block: 48px 60px;
  }

  .viz-landing-copy,
  .viz-banner-art,
  .viz-demo-window {
    width: calc(100vw - 40px);
    max-width: 100%;
  }

  .viz-landing h1 {
    font-size: clamp(3.65rem, 18vw, 5.2rem);
  }

  .viz-eyebrow {
    max-width: 32ch;
    line-height: 1.6;
  }

  .viz-landing-copy > p {
    margin-top: 24px;
    font-size: .94rem;
  }

  .viz-hero-actions,
  .viz-trust-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .viz-trust-line {
    gap: 10px;
  }

  .viz-banner-art {
    width: 100%;
  }

  .viz-demo-window {
    transform: none;
  }

  .viz-demo-grid {
    grid-template-columns: 1fr;
  }

  .viz-demo-chart {
    grid-row: auto;
  }

  .viz-demo-list {
    display: none;
  }

  .viz-floating-note {
    right: -5px;
  }

  .viz-platform,
  .viz-privacy,
  .viz-how {
    padding-block: 86px;
  }

  .viz-platform h2,
  .viz-privacy h2,
  .viz-section-heading h2 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .viz-how-grid {
    grid-template-columns: 1fr;
  }

  .viz-how-grid article,
  .viz-how-grid article + article {
    padding: 25px 0;
    border-left: 0;
    border-bottom: 1px solid var(--studio-border);
  }

  .viz-how-grid h3 {
    margin-top: 18px;
  }

  .viz-footer,
  .viz-footer div {
    align-items: flex-start;
    flex-direction: column;
  }

  .viz-data-promise {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .viz-data-promise-mark {
    width: 48px;
    height: 48px;
  }

  body.studio-has-selection .studio-workspace {
    grid-template-columns: 1fr;
  }

  body.studio-has-selection .studio-inspector {
    border-top: 1px solid var(--studio-border);
  }
}

@media (max-width: 900px) {
  .studio-tile,
  .studio-tile--wide,
  .studio-tile--narrow {
    grid-column: span 12;
  }

  .studio-table-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .studio-table-search {
    width: 100%;
  }
}
