:root {
  font-family: Inter, 'Segoe UI', sans-serif;
  color: #171717;
  background: #fff;

  --line: #e5e7eb;
  --muted: #687386;
  --soft: #f7f7f8;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 1080px;
  background: #fff;
  font-size: 13px;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}

.workspace-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}
.workspace-identity,
.workspace-brand,
.workspace-crumb,
.workspace-utility-nav {
  display: flex;
  align-items: center;
}
.workspace-identity {
  min-width: 0;
  gap: 10px;
}
.workspace-selected-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.workspace-selected-crumb[hidden] {
  display: none;
}
#workspace-active-name {
  display: block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.workspace-brand {
  gap: 9px;
  color: #2563eb;
  text-decoration: none;
}
.workspace-brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}
.workspace-brand strong {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.workspace-slash {
  color: #c4c9d1;
}
.workspace-crumb {
  gap: 8px;
  height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-weight: 500;
  cursor: default;
}
.workspace-crumb:hover {
  background: #f4f4f5;
}
.workspace-customer-mark {
  display: grid;
  width: 21px;
  height: 21px;
  border: 1px solid #d9dde4;
  border-radius: 5px;
  place-items: center;
  color: #445066;
  background: #fafafa;
  font-size: 10px;
  font-weight: 700;
}
.workspace-user-crumb img {
  width: 18px;
  height: 18px;
  opacity: 0.72;
}
.workspace-utility-nav {
  gap: 5px;
}
.workspace-utility-nav a,
.workspace-utility-nav button {
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4b5563;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}
.workspace-utility-nav a:hover,
.workspace-utility-nav button:hover {
  background: #f4f4f5;
  color: #111827;
}
.workspace-signout {
  margin-left: 4px;
}
.workspace-signout svg {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  vertical-align: -2px;
}

.workspace-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
  padding-top: 58px;
}
.workspace-layout.has-catalog {
  grid-template-columns: 232px 300px minmax(0, 1fr);
}
.workspace-sidebar {
  position: sticky;
  top: 58px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 58px);
  padding: 11px 10px;
  border-right: 1px solid var(--line);
  background: #fcfcfc;
}
.workspace-primary-nav {
  display: grid;
  align-content: start;
  gap: 2px;
  overflow-y: auto;
}
.workspace-nav-group {
  display: block;
  margin: 0;
}
.workspace-nav-divider {
  width: calc(100% - 20px);
  height: 0;
  margin: 18px 10px 0;
  border: 0;
  border-top: 1px solid #d3d9e2;
}
.workspace-nav-divider[hidden] {
  display: none;
}
.workspace-nav-group[hidden] {
  display: none;
}
.workspace-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 5px;
  list-style: none;
  cursor: pointer;
}
.workspace-nav-group summary::-webkit-details-marker {
  display: none;
}
.workspace-nav-group summary::after {
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-right: 1px solid #778295;
  border-bottom: 1px solid #778295;
  content: '';
  transform: rotate(-45deg);
}
.workspace-nav-group[open] summary::after {
  transform: rotate(45deg);
}
.workspace-nav-group summary:hover {
  background: #f0f1f2;
}
.workspace-nav-group:has([aria-current='page']) summary h2 {
  color: #245ec7;
}
.workspace-nav-items {
  display: grid;
  gap: 2px;
  padding-top: 2px;
}

.builder-type-group + .builder-type-group {
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid #e4e9f0;
}
.builder-type-group h3 {
  margin: 18px 0 10px;
  color: #667085;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.workspace-nav-group h2 {
  flex: 1;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.workspace-primary-nav button,
.workspace-primary-nav a,
.workspace-nav-group summary {
  align-items: center;
  width: 100%;
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #4b576a;
  text-decoration: none;
  text-align: left;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  cursor: pointer;
}
.workspace-primary-nav button,
.workspace-primary-nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.workspace-primary-nav button:hover,
.workspace-primary-nav a:hover {
  background: #f0f1f2;
}
.workspace-primary-nav button.active {
  background: #edf2fa;
  color: #245ec7;
  font-weight: 600;
}
.workspace-primary-nav .nav-with-icon {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
}
.nav-with-icon svg,
.nav-group-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.workspace-nav-items button {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  padding-left: 20px;
}
.workspace-nav-items button::before {
  width: 5px;
  height: 5px;
  justify-self: center;
  border: 1px solid #a6b1c2;
  border-radius: 1px;
  content: '';
}
.workspace-nav-items button.active::before {
  border-color: currentcolor;
  background: currentcolor;
}
.workspace-domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.workspace-domain-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, 100%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  background: #fff;
  text-decoration: none;
}
.workspace-domain-card:hover {
  border-color: #a9c0eb;
  background: #fbfcff;
}
.workspace-domain-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.workspace-domain-card svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: #64748b;
  stroke-width: 1.5;
}
.workspace-domain-card span {
  display: grid;
  min-width: 0;
  gap: 5px;
}
.workspace-domain-card strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 500;
}
.workspace-domain-card small {
  color: var(--muted);
  font-size: 11px;
}
.workspace-site-crumb {
  color: #4b576a;
  cursor: pointer;
}
#workspace-site-name {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-primary-nav button:focus-visible,
.workspace-nav-group summary:focus-visible {
  outline: 2px solid #9ab8f7;
  outline-offset: -2px;
}
.nav-icon {
  color: #657080;
  font-size: 16px;
  line-height: 1;
}
.nav-icon-image {
  width: 15px;
  height: 15px;
  opacity: 0.68;
}
.nav-rule {
  height: 1px;
  margin: 8px 0 2px;
  background: var(--line);
}
.workspace-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 12px 10px 5px;
  color: #778295;
  font-size: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 3px #dcfce7;
}

.catalog-panel {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #fff;
}
.catalog-panel-head {
  padding: 20px 18px 13px;
}
.catalog-panel-head p {
  margin: 0 0 5px;
  color: #8a94a4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.catalog-panel-head h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.catalog-search {
  display: flex;
  align-items: center;
  height: 34px;
  margin: 0 14px 13px;
  padding: 0 10px;
  border: 1px solid #dfe3e9;
  border-radius: 7px;
  background: #fff;
}
.catalog-search:focus-within {
  border-color: #9bbaf8;
  box-shadow: 0 0 0 3px #eff6ff;
}
.catalog-search img {
  width: 14px;
  opacity: 0.6;
}
.catalog-search input {
  min-width: 0;
  flex: 1;
  padding: 0 7px;
  border: 0;
  outline: 0;
  font-size: 11px;
}
.catalog-categories {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 0 14px 14px;
  scrollbar-width: none;
}
.catalog-categories button {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  background: #fff;
  color: #647084;
  font-size: 9px;
  cursor: pointer;
}
.catalog-categories button.active {
  border-color: #cad8f5;
  background: var(--blue-soft);
  color: #1d4ed8;
}
.catalog-list-head {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px 8px;
  border-top: 1px solid #eef0f3;
  color: #8a94a4;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.catalog-list {
  height: calc(100vh - 225px);
  overflow-y: auto;
  padding: 0 8px 18px;
}
.catalog-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.catalog-item:hover,
.catalog-item.active {
  background: #f2f3f5;
}
.catalog-item strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-item small {
  display: block;
  margin-top: 3px;
  color: #7b8798;
  font-size: 9px;
}
.catalog-item > span:last-child {
  align-self: center;
  color: #a1a9b5;
  font-size: 11px;
}

.workspace-main {
  display: flex;
  min-height: calc(100vh - 58px);
  min-width: 0;
  flex-direction: column;
}
.workspace-view {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 48px 0 80px;
}
.workspace-view[hidden] {
  display: none;
}
.workspace-primary-nav > button[hidden] {
  display: none;
}
.billing-notice {
  padding: 16px 20px;
  border-left: 3px solid #b6c8ed;
  background: #f5f8ff;
  color: #475569;
  font-size: 12px;
  line-height: 1.7;
}
.billing-notice p {
  margin: 4px 0 0;
}
.billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  margin-top: 24px;
}
.portal-utilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
#settings-view,
#support-view {
  scroll-margin-top: 58px;
}
#settings-view .portal-utility-actions {
  gap: 10px;
}
#settings-view .primary-button,
#settings-view .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 14px;
  line-height: 16px;
  text-align: center;
}
#settings-view .portal-utility-panel > .portal-utility-note + .portal-utility-actions {
  margin-top: 16px;
}
#settings-view .portal-utility-divider > .portal-utility-status:not(:empty) {
  margin-top: 12px;
}
.portal-utility-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
}
.portal-utility-panel h2 {
  margin: 0 0 20px;
  font-size: 17px;
}
.portal-utility-panel h3 {
  margin: 0 0 10px;
  font-size: 13px;
}
.portal-utility-form,
.portal-utility-form label {
  display: grid;
  gap: 8px;
}
.portal-utility-form {
  gap: 16px;
}
.portal-utility-form label > span {
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}
.portal-utility-form input,
.portal-utility-form select,
.portal-utility-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dce2ea;
  border-radius: 6px;
  background: #fff;
  color: #172b46;
  font: inherit;
  font-size: 12px;
}
.portal-utility-form input[readonly] {
  background: #f6f8fb;
  color: #64748b;
}
.portal-utility-form textarea {
  resize: vertical;
}
.portal-utility-note,
.portal-help-guides p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
}
.portal-utility-status {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}
.portal-utility-status:empty {
  display: none;
}
.portal-utility-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.portal-utility-actions a {
  display: inline-block;
  text-decoration: none;
}
.portal-utility-divider {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e1e7ef;
}
.portal-utility-divider > .portal-utility-note {
  margin-bottom: 14px;
}
.portal-help-guides details {
  padding: 16px 0;
  border-bottom: 1px solid #e1e7ef;
}
.portal-help-guides summary {
  color: #172b46;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.portal-help-guides p {
  margin-top: 12px;
}
.portal-help-guides + .portal-utility-actions {
  margin-top: 20px;
}
.portal-utility-panel [hidden] {
  display: none !important;
}
.workspace-utility-nav button.active {
  color: #2563eb;
}
.billing-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.billing-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.billing-panel h2,
.billing-invoices h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.billing-panel h3 {
  margin: 24px 0 0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}
.billing-details {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  font-size: 13px;
}
.billing-details > div {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.billing-details dt {
  color: var(--muted);
}
.billing-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.billing-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.billing-panel button:disabled {
  background: #f8fafc;
  color: #7b8798;
  cursor: not-allowed;
}
.billing-invoices {
  margin-top: 32px;
}
.workspace-table-shell.billing-invoice-table {
  overflow-x: auto;
  margin-top: 18px;
}
.billing-invoice-table table {
  min-width: 480px;
}
.workspace-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(340px, 100%);
  min-height: 38px;
  margin-bottom: 20px;
  padding: 0 12px;
  border: 1px solid #dce1e8;
  border-radius: 7px;
  background: #fafafa;
}
.workspace-search img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.workspace-search input {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  outline: none;
  background: transparent;
}
.workspace-search:focus-within {
  outline: 2px solid #9ab8f7;
  outline-offset: 2px;
}
.website-grid,
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.website-card,
.workspace-design-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
}
.website-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}
.website-card:hover,
.website-card[data-selected='true'] {
  border-color: #a9c0eb;
  background: #fbfcff;
}
.website-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.workspace-card-open {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.workspace-card-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #64748b;
  stroke-width: 1.5;
}
.workspace-card-link {
  color: #245ec7;
  font-size: 12px;
}
.workspace-card-rename {
  align-self: flex-end;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #657084;
  font-size: 12px;
  cursor: pointer;
}
.website-card-heading,
.website-card-footer,
.website-card-footer > span,
.design-card-footer,
.workspace-member {
  display: flex;
  align-items: center;
  gap: 10px;
}
.website-card-heading strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 600;
}
.website-mark {
  color: #64748b;
  font-size: 25px;
}
.website-address {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}
.website-card-footer {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: auto;
  color: #657084;
  font-size: 11px;
}
.website-card-footer > span:last-child {
  color: #245ec7;
}
.workspace-note,
.workspace-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.workspace-note {
  margin: 24px 0 0;
}
.working-website {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}
.working-website strong {
  margin-left: 12px;
  color: #344054;
  font-weight: 500;
}
.workspace-table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.workspace-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.workspace-table th,
.workspace-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.workspace-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.workspace-table td {
  color: #344054;
  font-size: 13px;
}
.workspace-member {
  gap: 16px;
  overflow-wrap: anywhere;
}
.workspace-member img {
  width: 34px;
  height: 34px;
  opacity: 0.65;
}
.workspace-member strong {
  color: #1f2937;
  font-size: 13px;
  font-weight: 500;
}
.workspace-member small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.workspace-tag {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #dce1e8;
  border-radius: 5px;
  color: #657084;
  font-size: 10px;
  font-weight: 500;
}
.workspace-member .workspace-tag {
  margin-left: 10px;
}
.workspace-table-foot {
  margin: 0;
  padding: 18px 24px;
  color: var(--muted);
  font-size: 12px;
}
.workspace-design-card h2 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 600;
}
.workspace-design-card p {
  min-height: 40px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.design-card-footer {
  justify-content: space-between;
}
.design-swatch {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 58px;
  padding: 0 12px;
  border-bottom: 1px solid #e7edf7;
}
.design-swatch span {
  width: 26px;
  height: 30px;
  border-radius: 3px 3px 0 0;
  background: #e4ecff;
}
.design-swatch span:nth-child(2) {
  height: 43px;
  background: #2962ff;
}
.design-swatch span:nth-child(3) {
  height: 54px;
  background: #aac2ff;
}
.workspace-page-head,
.dataset-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.page-kicker {
  margin: 0 0 9px;
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.workspace-page-head h1,
.dataset-head h1 {
  margin: 0;
  color: #111827;
  font-size: 29px;
  letter-spacing: -0.04em;
}
#home-view .page-kicker {
  font-size: 11px;
}
#home-view .workspace-page-head h1 {
  font-size: 30px;
}
.workspace-page-head p:last-child,
.dataset-head p:last-child {
  max-width: 650px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.primary-button,
.secondary-button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
}
.primary-button {
  border: 1px solid #1d4ed8;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 12%);
}
.primary-button:hover {
  background: #1d4ed8;
}
.secondary-button {
  border: 1px solid #d8dde5;
  background: #fff;
  color: #344054;
}

.home-section {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.create-section,
.team-section {
  padding: 20px;
}
.create-section {
  min-height: 385px;
  padding: 24px;
  border-color: #dce5f4;
  background: #fbfcff;
  box-shadow: 0 8px 28px rgb(37 99 235 / 4%);
}
.customer-section {
  margin-top: 0;
}
.section-heading .section-kicker {
  margin: 0 0 6px;
  color: #8791a1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.customer-workspace-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  gap: 46px;
  padding: 6px 2px 3px;
}
.customer-feature {
  min-width: 0;
}
.customer-feature > div:first-child {
  display: grid;
  gap: 3px;
  margin-bottom: 13px;
}
.customer-feature strong {
  color: #344054;
  font-size: 11px;
  font-weight: 600;
}
.customer-feature small {
  color: #8a95a6;
  font-size: 10px;
}
.approved-domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.approved-domain-list .approved-domain {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}
.approved-domain > i {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  place-items: center;
  background: #fff;
  color: #4f5c70;
  font-size: 20px;
  font-style: normal;
}
.approved-domain > span {
  display: grid;
  gap: 3px;
}
.approved-domain strong {
  color: #263247;
  font-size: 11px;
  font-weight: 600;
}
.approved-domain small {
  color: #229669;
  font-size: 9px;
}
.approved-domain-list > small {
  display: block;
  color: #8a95a6;
  font-size: 10px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.section-heading h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.section-heading p {
  margin: 5px 0 0;
  color: #7b8798;
  font-size: 11px;
}
.section-heading > button {
  padding: 6px 9px;
  border: 1px solid #dde2e9;
  border-radius: 6px;
  background: #fff;
  color: #445066;
  font-size: 11px;
  cursor: pointer;
}
.create-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.create-card-grid button {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-height: 142px;
  padding: 15px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.create-card-grid button:hover {
  border-color: #bdcdf0;
  box-shadow: 0 7px 20px rgb(15 23 42 / 7%);
  transform: translateY(-1px);
}
.create-icon {
  display: grid;
  width: 29px;
  height: 29px;
  margin-bottom: 14px;
  border-radius: 7px;
  place-items: center;
  background: #eef4ff;
  color: #2563eb;
  font-size: 15px;
}
.create-card-grid strong {
  font-size: 12px;
}
.create-card-grid small {
  margin-top: 6px;
  color: #7c8798;
  font-size: 10px;
  line-height: 1.45;
}
.create-card-grid b {
  margin-top: auto;
  color: #2563eb;
  font-size: 10px;
  font-weight: 600;
}
.create-embed-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 275px;
  gap: 14px;
  border: 1px dashed #8eace7;
  border-radius: 9px;
  background: #fff;
  color: #243147;
  box-shadow: 0 8px 22px rgb(37 99 235 / 7%);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.create-embed-launch:hover {
  border-color: #8eace7;
  background: #fff;
  box-shadow: 0 8px 22px rgb(37 99 235 / 7%);
}
.create-embed-launch[hidden] {
  display: none !important;
}
.create-launch-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  place-items: center;
  background: #fff;
  color: #2563eb;
  font-size: 17px;
}
.create-embed-launch > span:nth-child(2) {
  display: grid;
  gap: 5px;
  text-align: left;
}
.create-embed-launch strong {
  font-size: 13px;
}
.create-embed-launch small {
  color: #7d899a;
  font-size: 10px;
}
.inline-builder {
  margin-top: 4px;
}
.inline-builder[hidden],
.builder-shell[hidden],
#builder-selection [hidden],
#builder-selection[hidden] {
  display: none !important;
}
.inline-builder-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.inline-builder-head button,
.builder-navigation-button {
  padding: 6px 9px;
  border: 1px solid #dce2ea;
  border-radius: 6px;
  background: #fff;
  color: #526075;
  font-size: 10px;
  cursor: pointer;
}

.builder-selection-actions,
.builder-editor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.builder-type-group[hidden] {
  display: none;
}

#builder-selection .builder-type-group {
  margin: 0;
  padding: 0;
  border-top: 0;
}
.inline-type-grid {
  margin-bottom: 17px;
}
.inline-type-grid button {
  min-height: 102px;
}
.inline-type-grid button.active {
  border-color: #8caced;
  background: #f7faff;
  box-shadow: 0 0 0 2px rgb(37 99 235 / 8%);
}

.compact-module {
  overflow: hidden;
}
.flat-module {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.flat-module .module-heading {
  min-height: 66px;
  padding: 12px 2px;
  background: transparent;
}
.flat-module .module-heading:hover {
  background: transparent;
}
.flat-module .module-heading strong {
  font-size: 16px;
}
.flat-module .module-heading small {
  font-size: 11px;
}
.flat-module .module-content {
  border-top: 1px solid #e4e8ee;
  border-bottom: 1px solid #e4e8ee;
}
.flat-module .record-table {
  padding: 0;
}
.module-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 65px;
  padding: 13px 18px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.module-heading:hover {
  background: #fcfcfd;
}
.module-heading > span:first-child {
  display: grid;
  gap: 4px;
}
.module-heading strong {
  font-size: 13px;
}
.module-heading small {
  color: #8490a1;
  font-size: 9px;
}
.module-meta {
  display: flex;
  align-items: center;
  gap: 13px;
}
.module-meta b {
  display: grid;
  min-width: 25px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  place-items: center;
  background: #f0f2f5;
  color: #596579;
  font-size: 10px;
}
.module-meta i {
  width: 14px;
  color: #8993a2;
  font-style: normal;
  text-align: center;
}
.module-content {
  border-top: 1px solid #edf0f3;
}
.record-table {
  padding: 0 9px 9px;
}
.record-row {
  border-bottom: 1px solid #eff1f4;
}
.record-row:last-child {
  border-bottom: 0;
}
.record-summary {
  display: grid;
  grid-template-columns: minmax(170px, 1.5fr) minmax(110px, 0.8fr) minmax(100px, 0.75fr) 105px 60px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 0 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.record-summary:hover {
  background: #f8f9fa;
}
.record-summary strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.record-summary span {
  color: #657084;
  font-size: 11px;
}
.record-summary .record-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: #111827;
}
.record-expanded-copy .record-data-mode {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid #e0e6ef;
  border-radius: 4px;
  color: #52617b;
  background: #f7f9fc;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.builder-data-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 3px;
  gap: 3px;
  border: 1px solid #dce3ed;
  border-radius: 6px;
  background: #f6f8fb;
}

.builder-data-mode button {
  min-width: 0;
  padding: 7px 16px;
  border: 0;
  border-radius: 4px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
}

.builder-data-mode button[aria-pressed='true'] {
  color: #2452a5;
  background: #fff;
  box-shadow: 0 1px 3px rgb(15 23 42 / 8%);
}

.builder-data-mode button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.record-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 2px solid #d9f5e9;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 2px #eaf8f2;
}
.record-summary .record-person {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mini-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid #dce1e8;
  border-radius: 50%;
  place-items: center;
  background: #f5f6f8;
  color: #49566b;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.record-summary .record-open {
  color: #a1a9b5;
  font-size: 12px;
  text-align: right;
}
.record-detail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin: 0 10px 10px;
  padding: 14px;
  border: 1px solid #e7eaf0;
  border-radius: 7px;
  background: #fafbfc;
}
.record-detail-published {
  display: block;
  margin: 0;
  padding: 4px 5px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.record-detail[hidden],
.module-content[hidden] {
  display: none !important;
}
.record-expanded-copy {
  padding: 7px 0 14px;
}
.record-expanded-copy .record-data-mode + .placement-link {
  margin-top: 10px;
}
.record-preview-shell {
  width: min(780px, 100%);
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid #e3e7ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(15 23 42 / 5%);
}
.record-preview-shell iframe {
  display: block;
  width: 100%;
  height: 470px;
  border: 0;
}
.published-iframe-code {
  display: grid;
  gap: 6px;
  width: min(780px, 100%);
  margin-top: 14px;
}
.published-iframe-code > span {
  color: #7d8797;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.iframe-code-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}
.published-iframe-code code {
  min-width: 0;
  overflow-x: auto;
  padding: 11px;
  border: 1px solid #dde2e8;
  border-right: 0;
  border-radius: 6px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: #f8fafc;
  color: #445066;
  font-size: 9px;
  line-height: 1.45;
  white-space: nowrap;
}
.published-iframe-code button {
  min-width: 110px;
  padding: 0 10px;
  border: 1px solid #dce1e8;
  border-radius: 0 6px 6px 0;
  background: #fff;
  color: #475467;
  font-size: 10px;
  white-space: nowrap;
  cursor: pointer;
}
.iframe-code-control button.copied {
  border-color: #b9d6c7;
  background: #edf8f2;
  color: #147a4d;
}
.record-detail-published .record-actions {
  justify-content: flex-end;
  margin-top: 12px;
}
.placement-empty {
  margin-top: 8px !important;
  color: #9099a8 !important;
}
.placement-link {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}
.placement-link > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  place-items: center;
  background: #fff;
}
.placement-link img {
  width: 15px;
  height: 15px;
  opacity: 0.72;
}
.placement-link > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.placement-link strong {
  color: #245ec7;
  font-size: 11px;
  font-weight: 600;
}
.placement-link small {
  overflow: hidden;
  color: #929baa;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.placement-link:hover strong {
  text-decoration: underline;
}
.record-detail p {
  margin: 0;
  color: #647084;
  font-size: 11px;
  line-height: 1.55;
}
.record-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.record-actions button,
.record-actions a {
  padding: 6px 8px;
  border: 1px solid #dce1e8;
  border-radius: 5px;
  background: #fff;
  color: #475467;
  text-decoration: none;
  font-size: 10px;
  cursor: pointer;
}

.team-list {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
}
.team-member {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid #dce1e8;
  border-radius: 50%;
  place-items: center;
  background: #f5f6f8;
  color: #455168;
  font-size: 11px;
  font-weight: 700;
  cursor: default;
}
.team-member[data-lead='true'] {
  border-color: #9cbcf8;
  background: #eef5ff;
  color: #1d4ed8;
}
.team-member::after {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  z-index: 4;
  padding: 5px 7px;
  border-radius: 5px;
  background: #111827;
  color: #fff;
  content: attr(data-name);
  font-size: 9px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition:
    opacity 0.12s,
    transform 0.12s;
  white-space: nowrap;
}
.team-member:hover::after,
.team-member:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.team-note {
  margin-left: 5px;
  color: #8290a4;
  font-size: 10px;
}

.dataset-head {
  padding-top: 4px;
}
.workspace-footer {
  display: flex;
  width: min(1240px, calc(100% - 72px));
  gap: 22px;
  margin: auto auto 0;
  padding: 24px 0 28px;
  border-top: 1px solid #edf0f3;
  color: #7a8699;
  font-size: 10px;
}
.workspace-footer span {
  margin-right: auto;
}
.workspace-footer a {
  color: inherit;
  text-decoration: none;
}
.workspace-footer a:hover {
  color: #25324a;
}
.dataset-grid {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) 270px;
  gap: 18px;
}
.dataset-preview-card,
.dataset-details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.dataset-preview-card {
  overflow: hidden;
}
.dataset-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  padding: 0 15px;
  border-bottom: 1px solid #eceff3;
}
.dataset-preview-head div {
  display: grid;
  gap: 3px;
}
.dataset-preview-head span {
  color: #8a94a4;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}
.dataset-preview-head strong {
  font-size: 11px;
}
.dataset-preview-head button {
  padding: 6px 9px;
  border: 1px solid #dbe1e9;
  border-radius: 6px;
  background: #fff;
  font-size: 9px;
  cursor: pointer;
}
.catalog-comparison-controls {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 0.8fr);
  gap: 12px;
  padding: 13px 15px 0;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
}
.catalog-comparison-controls[hidden] {
  display: none;
}
.catalog-comparison-controls .builder-field {
  min-width: 0;
  margin-bottom: 13px;
}
.catalog-comparison-controls input {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #1f2937;
  font-size: 10px;
  font-weight: 400;
}
.catalog-comparison-controls input:focus {
  border-color: #9ab8f7;
  box-shadow: 0 0 0 3px #eff6ff;
}
.catalog-comparison-controls .builder-suggestions,
.catalog-comparison-controls .builder-metric-menu {
  top: 52px;
}
.dataset-preview-card iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}
.dataset-details {
  padding: 17px;
}
.dataset-details h2 {
  margin: 0 0 13px;
  font-size: 13px;
}
.dataset-details dl {
  margin: 0;
}
.dataset-details dl div {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-bottom: 1px solid #eff1f4;
}
.dataset-details dt {
  color: #8994a4;
  font-size: 8px;
  text-transform: uppercase;
}
.dataset-details dd {
  margin: 0;
  color: #344054;
  font-size: 10px;
  line-height: 1.45;
}
.dataset-related h3 {
  margin: 18px 0 8px;
  font-size: 10px;
}
.dataset-related div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.dataset-related button {
  padding: 5px 7px;
  border: 1px solid #e0e5eb;
  border-radius: 5px;
  background: #fff;
  color: #536076;
  font-size: 8px;
}

.builder-dialog {
  width: min(1180px, calc(100vw - 50px));
  height: min(720px, calc(100vh - 50px));
  padding: 0;
  border: 1px solid #dfe3e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgb(15 23 42 / 25%);
}
.builder-dialog::backdrop {
  background: rgb(15 23 42 / 34%);
  backdrop-filter: blur(2px);
}
.builder-shell {
  display: grid;
  grid-template-rows: 65px minmax(0, 1fr) 60px;
  height: 100%;
}
.inline-builder-shell {
  height: auto;
  overflow: hidden;
  border: 1px solid #dfe5ed;
  border-radius: 9px;
  background: #fff;
}
.inline-builder-shell .builder-body {
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 545px;
}
.builder-shell > header,
.builder-shell > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
}
.builder-shell > header {
  border-bottom: 1px solid var(--line);
}
.builder-shell > header p {
  margin: 0 0 3px;
  color: #8792a3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.builder-shell > header h2 {
  margin: 0;
  font-size: 15px;
}
.icon-button {
  display: grid;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid #dfe3e9;
  border-radius: 6px;
  place-items: center;
  background: #fff;
  color: #6b7483;
  font-size: 18px;
  cursor: pointer;
}
.builder-body {
  display: grid;
  grid-template-columns: 145px 285px minmax(0, 1fr);
  min-height: 0;
}
.builder-steps {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 17px 10px;
  border-right: 1px solid var(--line);
  background: #fafafa;
}
.builder-steps button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7688;
  font-size: 10px;
  text-align: left;
}
.builder-steps button.active {
  background: #eceef1;
  color: #111827;
  font-weight: 600;
}
.builder-steps span {
  display: grid;
  width: 18px;
  height: 18px;
  border: 1px solid #d4dae3;
  border-radius: 50%;
  place-items: center;
  font-size: 8px;
}
.builder-controls {
  --builder-control-height: 34px;

  overflow-y: auto;
  padding: 20px;
  border-right: 1px solid var(--line);
}
.builder-controls label {
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
  color: #4b576a;
  font-size: 9px;
  font-weight: 600;
}
.builder-controls .external-embed-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}
.builder-controls .external-embed-controls[hidden] {
  display: none;
}
.builder-controls .external-embed-controls label {
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
  color: #4b576a;
  font-size: 9px;
  font-weight: 600;
}
.builder-field {
  position: relative;
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
  color: #4b576a;
  font-size: 9px;
  font-weight: 600;
}
.builder-field[hidden] {
  display: none !important;
}
.builder-controls label[hidden] {
  display: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.builder-search-control,
.builder-controls .builder-search-control {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--builder-control-height, 34px);
  padding: 0 9px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  background: #fff;
  gap: 0;
  margin-bottom: 0;
}

.builder-search-control:focus-within {
  border-color: #9ab8f7;
  box-shadow: 0 0 0 3px #eff6ff;
}

.builder-search-control img,
.builder-dropdown-toggle img {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  opacity: 0.6;
}

.builder-controls .builder-search-control input,
.catalog-comparison-controls .builder-search-control input {
  min-width: 0;
  min-height: 0;
  height: 32px;
  flex: 1;
  padding: 0 7px;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.builder-controls .builder-search-control input:focus,
.catalog-comparison-controls .builder-search-control input:focus {
  border: 0;
  box-shadow: none;
}

.builder-search-field.private-title-field .builder-search-control img {
  display: none;
}
.builder-controls input,
.builder-controls select,
.builder-controls .external-embed-controls select {
  width: 100%;
  height: var(--builder-control-height);
  min-height: var(--builder-control-height);
  padding: 0 9px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  outline: 0;
  background-color: #fff;
  color: #1f2937;
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
}
.builder-dropdown-toggle {
  position: relative;
  width: 100%;
  height: var(--builder-control-height);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 30px 0 10px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  background-color: #fff;
  color: #1f2937;
  font-size: 10px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.record-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 13px 12px 5px;
  border-top: 1px solid #edf0f3;
}

.record-pagination[hidden] {
  display: none;
}

.record-pagination button {
  min-width: 29px;
  height: 29px;
  padding: 0 8px;
  border: 1px solid #dce1e8;
  border-radius: 6px;
  background: #fff;
  color: #596579;
  font-size: 10px;
  cursor: pointer;
}

.record-pagination button:hover:not(:disabled) {
  border-color: #b9c9e5;
  color: #245ec7;
}

.record-pagination button[aria-current='page'] {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.record-pagination button:disabled {
  color: #b5bdc9;
  cursor: default;
}
.builder-dropdown-toggle::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 6px;
  height: 6px;
  border-right: 1px solid #748096;
  border-bottom: 1px solid #748096;
  content: '';
  transform: translateY(-70%) rotate(45deg);
}
.builder-dropdown-toggle:focus-visible {
  border-color: #9ab8f7;
  outline: 0;
  box-shadow: 0 0 0 3px #eff6ff;
}
.builder-suggestions,
.builder-metric-menu {
  position: absolute;
  top: 52px;
  right: 0;
  left: 0;
  z-index: 12;
  max-height: 245px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #dce2e9;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(15 23 42 / 14%);
}
.builder-suggestions[hidden],
.builder-metric-menu[hidden],
.builder-code[hidden] {
  display: none !important;
}
.builder-suggestions button,
.builder-metric-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  gap: 8px;
  padding: 6px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #283548;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.builder-suggestions button:hover,
.builder-metric-menu button:hover {
  background: #f3f6fa;
}
.builder-suggestions button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.builder-suggestions button strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.builder-suggestions button small {
  color: #8893a4;
  font-size: 8px;
  font-weight: 400;
}
.builder-suggestions button > i {
  margin-left: auto;
  color: #6c7a90;
  font-size: 14px;
  font-style: normal;
}
.builder-suggestions > p {
  margin: 7px;
  color: #8792a3;
  font-size: 9px;
  font-weight: 400;
}
.builder-metric-menu button > i {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1px solid #d5dce6;
  border-radius: 4px;
  place-items: center;
  color: #225fd5;
  font-size: 9px;
  font-style: normal;
}
.builder-metric-menu button[aria-pressed='true'] {
  color: #174fb9;
  font-weight: 600;
}
.builder-metric-menu button[aria-pressed='true'] > i {
  border-color: #a9c3f8;
  background: #eff5ff;
}
.builder-metric-group + .builder-metric-group {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #edf0f4;
}
.builder-metric-group h3 {
  margin: 4px 8px 3px;
  color: #8792a3;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.builder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.builder-chips[hidden] {
  display: none !important;
}
.builder-chips > span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  gap: 6px;
  padding: 0 5px 0 8px;
  border: 1px solid #dbe3ee;
  border-radius: 13px;
  background: #f7f9fc;
  color: #46546a;
  font-size: 9px;
  font-weight: 500;
}
.builder-chips button {
  display: grid;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: #e9edf3;
  color: #667286;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.builder-field-help {
  color: #8a95a6;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.45;
}
.builder-private-controls[hidden] {
  display: none !important;
}
.builder-data-button {
  width: 100%;
  height: var(--builder-control-height);
  padding: 0 10px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  font-size: 10px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
.builder-controls input:focus,
.builder-controls select:focus {
  border-color: #9ab8f7;
  box-shadow: 0 0 0 3px #eff6ff;
}
.input-suffix {
  position: relative;
}
.input-suffix span {
  position: absolute;
  top: 50%;
  right: 9px;
  color: #8b95a4;
  transform: translateY(-50%);
}
.builder-status {
  margin: 20px 0 0;
  padding: 10px;
  border-radius: 6px;
  background: #f5f7fa;
  color: #7c8798;
  font-size: 9px;
  line-height: 1.5;
}
.builder-preview {
  min-width: 0;
  overflow: auto;
  padding: 18px;
  background: #f6f7f9;
}
.builder-preview-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  color: #596579;
  font-size: 10px;
  font-weight: 600;
}
.builder-preview-head small {
  color: #9aa3b1;
  font-size: 8px;
  font-weight: 500;
}
.builder-preview iframe {
  display: block;
  width: 100%;
  max-width: 700px;
  height: 480px;
  margin: 0 auto;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 28px rgb(15 23 42 / 9%);
}
.builder-code {
  display: grid;
  gap: 6px;
  max-width: 700px;
  margin: 12px auto 0;
}
.builder-code > span {
  color: #7d8797;
  font-size: 8px;
  text-transform: uppercase;
}
.builder-code code {
  min-width: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #dde2e8;
  border-right: 0;
  border-radius: 6px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: #fff;
  color: #445066;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.builder-code button {
  min-width: 58px;
  border: 1px solid #dce1e8;
  border-radius: 0 6px 6px 0;
  background: #fff;
  font-size: 8px;
  cursor: pointer;
}
.builder-shell > footer {
  justify-content: flex-end;
  gap: 7px;
  border-top: 1px solid var(--line);
}
.portal-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  padding: 10px 13px;
  border-radius: 7px;
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 28px rgb(15 23 42 / 25%);
  font-size: 10px;
}

.team-dialog {
  width: 510px;
  padding: 0;
  border: 1px solid #dfe3e9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 25px 70px rgb(15 23 42 / 24%);
}

.publish-dialog {
  width: min(440px, calc(100vw - 40px));
  padding: 0;
  border: 1px solid #dfe3e9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 25px 70px rgb(15 23 42 / 24%);
}
.publish-dialog::backdrop {
  background: rgb(15 23 42 / 34%);
  backdrop-filter: blur(2px);
}
.publish-dialog form > header,
.publish-dialog form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 18px;
}

.private-data-dialog {
  width: min(780px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe3e9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 25px 70px rgb(15 23 42 / 24%);
}
.private-data-dialog::backdrop {
  background: rgb(15 23 42 / 34%);
  backdrop-filter: blur(2px);
}
.private-data-dialog form {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100vh - 40px);
}
.private-data-dialog form > header,
.private-data-dialog form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 18px;
}
.private-data-dialog form > header {
  border-bottom: 1px solid var(--line);
}
.private-data-dialog form > header p {
  margin: 0 0 3px;
  color: #8792a3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.private-data-dialog form > header h2 {
  margin: 0;
  font-size: 15px;
}
.private-data-dialog-body {
  overflow-y: auto;
  padding: 19px;
}
.private-data-guidance {
  padding: 13px 14px;
  border: 1px solid #dce6f7;
  border-radius: 7px;
  background: #f7faff;
}
.private-data-guidance strong {
  color: #2d405e;
  font-size: 10px;
}
.private-data-guidance p {
  margin: 4px 0 0;
  color: #6d7a8d;
  font-size: 9px;
  line-height: 1.5;
}
.private-data-dialog textarea,
.private-data-dialog input {
  width: 100%;
  padding: 8px 9px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #283548;
  font:
    10px/1.45 'Inter',
    'Segoe UI',
    sans-serif;
  resize: vertical;
}
.private-data-dialog input {
  height: 34px;
  padding-top: 0;
  padding-bottom: 0;
}
.private-data-dialog textarea:focus,
.private-data-dialog input:focus {
  border-color: #9ab8f7;
  box-shadow: 0 0 0 3px #eff6ff;
}
.private-data-review-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 18px 0 10px;
}
.private-data-review-head > div {
  display: grid;
  gap: 3px;
}
.private-data-review-head > div:last-child {
  display: flex;
  gap: 6px;
}
.private-data-review-head strong {
  font-size: 11px;
}
.private-data-review-head small {
  color: #8490a1;
  font-size: 9px;
}
.private-series-editor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: start;
  gap: 10px;
}
.private-data-column {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3e7ed;
  border-radius: 7px;
  background: #fafbfc;
}
.private-data-column-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 57px;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid #e4e8ee;
}
.private-data-column-head > strong {
  align-self: center;
  color: #354258;
  font-size: 10px;
}
.private-data-column-head label {
  display: grid;
  min-width: 0;
  gap: 4px;
  color: #7c8798;
  font-size: 8px;
  font-weight: 600;
}
.private-data-column-head input {
  height: 28px;
  min-width: 0;
}
.private-column-count {
  flex: 0 0 auto;
  margin-bottom: 6px;
  color: #7c8798;
  font-size: 8px;
}
.private-column-input {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  height: 286px;
  background: #fff;
}
.private-row-numbers {
  overflow: hidden;
  padding: 8px 0;
  border-right: 1px solid #e2e6ec;
  background: #f4f6f8;
  color: #8a95a5;
  font:
    9px/22px 'Inter',
    'Segoe UI',
    sans-serif;
  text-align: center;
  user-select: none;
}
.private-row-numbers span {
  display: block;
  height: 22px;
}
.private-data-dialog .private-column-input textarea {
  height: 286px;
  padding: 8px 9px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font:
    10px/22px 'Inter',
    'Segoe UI',
    sans-serif;
  white-space: pre;
  resize: none;
}
.private-column-actions {
  display: flex;
  justify-content: space-between;
  min-height: 33px;
  padding: 5px 8px;
  border-top: 1px solid #e4e8ee;
}
.private-column-actions button {
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #7b8798;
  font-size: 8px;
  cursor: pointer;
}
.private-column-actions button[data-remove-private-series] {
  color: #a14a4a;
}
.private-data-status {
  min-height: 16px;
  margin: 10px 0 0;
  color: #66758b;
  font-size: 9px;
}
.private-data-status.warning {
  color: #b54708;
}
.private-data-dialog form > footer {
  justify-content: flex-end;
  gap: 7px;
  border-top: 1px solid var(--line);
}
.publish-dialog form > header {
  border-bottom: 1px solid var(--line);
}
.publish-dialog form > header p {
  margin: 0 0 3px;
  color: #8792a3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.publish-dialog form > header h2 {
  margin: 0;
  font-size: 15px;
}
.publish-dialog-body {
  padding: 19px;
}
.publish-dialog-body > p {
  margin: 0 0 16px;
  color: #697588;
  font-size: 10px;
  line-height: 1.55;
}
.publish-dialog-body label {
  display: grid;
  gap: 6px;
  color: #4b576a;
  font-size: 9px;
  font-weight: 600;
}
.publish-dialog-body input,
.publish-dialog-body select {
  height: 35px;
  padding: 0 9px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  outline: 0;
  font-size: 10px;
  font-family: inherit;
  background: #fff;
  color: #334155;
}
.publish-dialog-body input:focus,
.publish-dialog-body select:focus {
  border-color: #9ab8f7;
  box-shadow: 0 0 0 3px #eff6ff;
}
.publish-dialog form > footer {
  justify-content: flex-end;
  gap: 7px;
  border-top: 1px solid var(--line);
}

.team-dialog::backdrop {
  background: rgb(15 23 42 / 34%);
  backdrop-filter: blur(2px);
}

.team-dialog form > header,
.team-dialog form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 18px;
}

.team-dialog form > header {
  border-bottom: 1px solid var(--line);
}

.team-dialog form > header p {
  margin: 0 0 3px;
  color: #8792a3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-dialog form > header h2 {
  margin: 0;
  font-size: 15px;
}

.team-dialog-body {
  max-height: min(650px, calc(100vh - 180px));
  overflow-y: auto;
  padding: 19px;
}
.team-dialog-body h3 {
  margin: 0 0 5px;
  color: #222c3d;
  font-size: 11px;
}
.team-management-section > div:first-child p {
  margin: 0;
  color: #7b8798;
  font-size: 9px;
}
.team-management-list {
  margin-top: 13px;
}
.team-management-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  border-bottom: 1px solid #edf0f3;
}
.team-management-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.team-dialog-body .team-management-actions label {
  display: block;
  gap: 0;
  margin: 0;
}
.team-dialog-body .team-management-actions select {
  width: 126px;
  height: 28px;
  padding: 0 24px 0 8px;
  border: 1px solid #dfe3e9;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  color: #4f5c70;
  font-size: 9px;
}
.team-dialog-body .team-management-actions select:focus {
  border-color: #9ab8f7;
  box-shadow: 0 0 0 3px #eff6ff;
}
.team-dialog-body .team-management-actions select:disabled {
  background: #f7f8fa;
  color: #9aa3b0;
  cursor: not-allowed;
}
.team-management-row > span:nth-child(2) {
  display: grid;
  gap: 2px;
}
.team-management-row strong {
  font-size: 10px;
  font-weight: 600;
}
.team-management-row small {
  color: #8490a1;
  font-size: 8px;
}
.team-management-row button {
  padding: 5px 8px;
  border: 1px solid #dfe3e9;
  border-radius: 5px;
  background: #fff;
  color: #6a7483;
  font-size: 9px;
  cursor: pointer;
}
.team-management-row button:hover:not(:disabled) {
  border-color: #e8b4b4;
  color: #b42318;
}
.team-management-row button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.team-dialog-divider {
  height: 1px;
  margin: 18px 0;
  background: #e8ebf0;
}

.team-dialog-body > p:first-child {
  margin: 0 0 17px;
  color: #697588;
  font-size: 10px;
  line-height: 1.55;
}
.team-dialog-body > h3 + p {
  margin: 0 0 17px;
  color: #697588;
  font-size: 10px;
  line-height: 1.55;
}

.team-dialog-body label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: #4b576a;
  font-size: 9px;
  font-weight: 600;
}

.team-dialog-body input,
.team-dialog-body select {
  height: 35px;
  padding: 0 9px;
  border: 1px solid #dbe0e7;
  border-radius: 6px;
  background: #fff;
  font-size: 10px;
  font-weight: 400;
}

.team-dialog form > footer {
  justify-content: flex-end;
  gap: 7px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1250px) {
  .workspace-view {
    width: calc(100% - 42px);
  }
  .workspace-footer {
    width: calc(100% - 42px);
  }
  .create-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dataset-grid {
    grid-template-columns: minmax(560px, 1fr) 240px;
  }
}

@media (max-width: 1550px) {
  .workspace-layout.has-catalog .dataset-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .workspace-layout.has-catalog .dataset-details {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }
  .workspace-layout.has-catalog .dataset-details h2 {
    grid-column: 1 / -1;
  }
  .workspace-layout.has-catalog .dataset-related h3 {
    margin-top: 0;
  }
}

@media (max-width: 1180px) {
  .catalog-comparison-controls {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-comparison-controls .builder-suggestions,
  .catalog-comparison-controls .builder-metric-menu {
    top: 52px;
  }
}
