:root {
  color-scheme: light;
  --wb-accent: #1a73e8;
  --wb-accent-strong: #1557b0;
  --wb-accent-soft: #eef2f7;
  --wb-canvas: #ffffff;
  --wb-surface: #ffffff;
  --wb-surface-alt: #ffffff;
  --wb-surface-muted: #ffffff;
  --wb-surface-selected: #eceff3;
  --wb-structure-band: #f5f6f8;
  --wb-filter-bar-bg: #ffffff;
  --wb-border: #d7e0ea;
  --wb-border-strong: #c2cedb;
  --wb-text: #16202b;
  --wb-text-muted: #5d6977;
  --wb-text-inverse: #ffffff;
  --wb-overlay: rgba(255, 255, 255, 0.94);
  --wb-overlay-elevated: rgba(255, 255, 255, 0.92);
  --wb-interactive-hover: rgba(26, 115, 232, 0.08);
  --wb-interactive-active: rgba(26, 115, 232, 0.14);
  --wb-focus-ring: 0 0 0 3px rgba(26, 115, 232, 0.12);
  --wb-selection-bg: #eceff3;
  --wb-selection-border: #cfd7e0;
  --wb-nav-active-bg: #ffffff;
  --wb-nav-active-text: #16202b;
  --wb-nav-active-border: #c2cedb;
  --wb-switch-track-off: #d8e0ea;
  --wb-switch-track-on: #87b0f5;
  --wb-switch-thumb: #ffffff;
  --wb-avatar-bg: #17324f;
  --wb-chart-surface: #f8fbff;
  --wb-chart-grid-soft: rgba(26, 115, 232, 0.06);
  --wb-chart-grid-strong: rgba(26, 115, 232, 0.1);
  --wb-chart-accent-soft: rgba(26, 115, 232, 0.22);
  --wb-chart-positive-soft: rgba(24, 128, 56, 0.22);
  --wb-chart-axis: #dbe4f0;
  --wb-chart-tick: #c9d6e5;
  --wb-primary: var(--wb-accent);
  --wb-primary-strong: var(--wb-accent-strong);
  --wb-primary-soft: var(--wb-accent-soft);
  --wb-bg: var(--wb-canvas);
  --wb-outline: var(--wb-border);
  --wb-outline-strong: var(--wb-border-strong);
  --wb-muted: var(--wb-text-muted);
  --wb-success: #188038;
  --wb-success-soft: rgba(24, 128, 56, 0.12);
  --wb-warning: #b06000;
  --wb-warning-soft: rgba(176, 96, 0, 0.12);
  --wb-critical: #c5221f;
  --wb-critical-soft: rgba(197, 34, 31, 0.12);
  --wb-elev-1: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
  --wb-radius-sm: 4px;
  --wb-radius-md: 6px;
  --wb-radius-lg: 8px;
  --wb-shell-width: minmax(0, 1fr);
  --wb-rail-width: 64px;
  --wb-panel-width: 284px;
  --wb-sidepanel-width: 392px;
  --wb-topbar-height: 45px;
  --wb-topbar-field-height: 38px;
  --wb-context-height: 48px;
  --wb-content-max: 1600px;
  --wb-page-pad: 24px;
  --wb-gap-sm: 8px;
  --wb-gap-md: 16px;
  --wb-gap-lg: 24px;
  --wb-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6977' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --wb-canvas: #10161d;
  --wb-surface: #171e26;
  --wb-surface-alt: #1b232d;
  --wb-surface-muted: #202833;
  --wb-surface-selected: #242f3b;
  --wb-structure-band: #202833;
  --wb-filter-bar-bg: #111111;
  --wb-border: #2d3744;
  --wb-border-strong: #3b4655;
  --wb-text: #e6edf4;
  --wb-text-muted: #9aa8b9;
  --wb-text-inverse: #0f141a;
  --wb-overlay: rgba(16, 22, 29, 0.94);
  --wb-overlay-elevated: rgba(16, 22, 29, 0.92);
  --wb-interactive-hover: rgba(26, 115, 232, 0.16);
  --wb-interactive-active: rgba(26, 115, 232, 0.24);
  --wb-focus-ring: 0 0 0 3px rgba(26, 115, 232, 0.22);
  --wb-selection-bg: #242f3b;
  --wb-selection-border: #425063;
  --wb-nav-active-bg: #111111;
  --wb-nav-active-text: #ffffff;
  --wb-nav-active-border: #111111;
  --wb-switch-track-off: #4f5c6c;
  --wb-switch-track-on: #5f8fd9;
  --wb-switch-thumb: #f3f6fa;
  --wb-avatar-bg: #273749;
  --wb-chart-surface: #1a2330;
  --wb-chart-grid-soft: rgba(143, 180, 245, 0.08);
  --wb-chart-grid-strong: rgba(143, 180, 245, 0.14);
  --wb-chart-accent-soft: rgba(95, 143, 217, 0.34);
  --wb-chart-positive-soft: rgba(81, 164, 108, 0.28);
  --wb-chart-axis: #334153;
  --wb-chart-tick: #445368;
  --wb-success-soft: rgba(24, 128, 56, 0.16);
  --wb-warning-soft: rgba(176, 96, 0, 0.18);
  --wb-critical-soft: rgba(197, 34, 31, 0.18);
  --wb-elev-1: 0 1px 2px rgba(0, 0, 0, 0.28), 0 14px 36px rgba(0, 0, 0, 0.34);
  --wb-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa8b9' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  color: var(--wb-text);
  background: var(--wb-bg);
}

body {
  font-size: 13px;
  line-height: 20px;
}

a {
  color: var(--wb-primary-strong);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.wb-app {
  min-height: 100vh;
  display: grid;
  grid-template-rows: var(--wb-topbar-height) auto 1fr;
}

.wb-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(320px, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: var(--wb-topbar-height);
  padding: 0 16px;
  background: var(--wb-overlay);
  border-bottom: 1px solid var(--wb-outline);
  backdrop-filter: blur(12px);
  overflow: visible;
}

.wb-topbar__left,
.wb-topbar__right,
.wb-page-actions,
.metric-row,
.command-list,
.mini-grid,
.quote-grid,
.component-shelf {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.wb-topbar__left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow: visible;
}

.wb-topbar__right {
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 0 0 auto;
}

.wb-brand-mark {
  height: 22px;
  width: auto;
}

.wb-brand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wb-brand-button:hover {
  opacity: 0.9;
}

.wb-icon-button,
.wb-avatar-button {
  position: relative;
  border: 1px solid transparent;
  background: transparent;
  color: var(--wb-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  min-width: 32px;
  padding: 0 8px;
  border-radius: 16px;
  cursor: pointer;
}

.wb-icon-button:hover,
.wb-avatar-button:hover,
.wb-topbar-select__control:hover,
.wb-toolbar-chip:hover,
.wb-rail-item:hover,
.wb-section-link:hover {
  background: var(--wb-interactive-hover);
  color: var(--wb-accent-strong);
}

.wb-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--wb-critical);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

.wb-avatar-button {
  width: 32px;
  padding: 0;
  background: var(--wb-avatar-bg);
  color: var(--wb-text-inverse);
  border-color: var(--wb-avatar-bg);
  font-weight: 600;
}

.wb-topbar-select {
  display: flex;
  align-items: center;
  min-width: 220px;
}

.wb-topbar-select__label {
  display: none;
}

.wb-topbar-select__control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  height: var(--wb-topbar-field-height);
  min-height: var(--wb-topbar-field-height);
  padding: 0 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  box-sizing: border-box;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.wb-topbar-select__button {
  width: 100%;
  border: 1px solid var(--wb-outline);
  cursor: pointer;
  text-align: left;
}

.wb-topbar-select__control::after {
  content: "";
  width: 16px;
  height: 16px;
  background-image: var(--wb-select-chevron);
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.wb-topbar-select__control select {
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--wb-text);
  padding-right: 0;
}

.wb-search {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  height: var(--wb-topbar-field-height);
  min-height: var(--wb-topbar-field-height);
  padding: 0 14px;
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface-muted);
  border-radius: 12px;
  box-sizing: border-box;
}

.wb-search input {
  border: none;
  background: transparent;
  min-width: 0;
  width: 100%;
  outline: none;
  color: var(--wb-text);
}

.wb-search__shortcut {
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface);
  color: var(--wb-muted);
  border-radius: 8px;
  min-width: 26px;
  height: 22px;
}

.wb-hidden-context {
  display: none;
}

.wb-context-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  min-width: max-content;
}

.wb-context-field {
  display: flex;
  flex: 0 0 148px;
  gap: 0;
  min-width: 0;
}

.wb-context-field--wide {
  flex-basis: 268px;
}

.wb-context-field[hidden] {
  display: none;
}

.wb-context-field__label,
.wb-eyebrow,
.mono-label,
.wb-page-meta,
.card__header .wb-eyebrow {
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 16px;
}

.wb-context-field__label {
  display: none;
}

.wb-context-field__control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.wb-context-field__control::after {
  content: "";
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.wb-context-field__control:has(select)::after {
  background-image: var(--wb-select-chevron);
}

.wb-context-field__control select,
.wb-context-field__control input {
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--wb-text);
}

.wb-topbar-select__control select,
.wb-context-field__control select {
  appearance: none;
  cursor: pointer;
}

.wb-topbar-select__control:hover,
.wb-context-field__control:hover {
  border-color: var(--wb-primary);
}

.wb-topbar-select__control:focus-within,
.wb-context-field__control:focus-within {
  border-color: var(--wb-primary);
  box-shadow: var(--wb-focus-ring);
}

.wb-context-extras {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.wb-page-frame__toolbar[hidden] {
  display: none;
}

.wb-page-frame__header[hidden],
.wb-context-panel[hidden] {
  display: none !important;
}

.wb-context-summary {
  display: none;
}

.wb-body {
  display: grid;
  grid-template-columns: var(--wb-rail-width) var(--wb-panel-width) minmax(0, 1fr);
  min-height: 0;
}

body.wb-context-hidden .wb-body {
  min-height: 0;
}

.wb-sidepanel-open .wb-body {
  grid-template-columns: var(--wb-rail-width) var(--wb-panel-width) minmax(0, 1fr) var(--wb-sidepanel-width);
}

body.wb-section-panel-hidden .wb-context-panel {
  display: none;
}

body.wb-section-panel-hidden .wb-body {
  grid-template-columns: var(--wb-rail-width) minmax(0, 1fr);
}

body.wb-section-panel-hidden.wb-sidepanel-open .wb-body {
  grid-template-columns: var(--wb-rail-width) minmax(0, 1fr) var(--wb-sidepanel-width);
}

body.wb-section-panel-hidden .wb-main {
  grid-column: 2;
}

body.wb-section-panel-hidden .wb-sidepanel {
  grid-column: 3;
}

body.wb-workflow-shell .wb-rail {
  display: none;
}

body.wb-workflow-shell .wb-body {
  grid-template-columns: 340px minmax(0, 1fr);
}

body.wb-workflow-shell.wb-sidepanel-open .wb-body {
  grid-template-columns: 340px minmax(0, 1fr) var(--wb-sidepanel-width);
}

body.wb-workflow-shell .wb-context-panel {
  padding: 0;
  border-right: 1px solid var(--wb-outline);
  background: var(--wb-surface-alt);
}

body.wb-workflow-shell .wb-main {
  padding: 0 18px 18px 0;
  max-height: calc(100vh - 158px);
  overflow: auto;
}

body.wb-workflow-shell .wb-context-panel--workflow {
  max-height: calc(100vh - 158px);
  overflow: auto;
}

.wb-rail,
.wb-context-panel,
.wb-sidepanel {
  background: var(--wb-surface-alt);
  border-right: 1px solid var(--wb-outline);
}

.wb-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 6px;
  gap: 2px;
}

.wb-rail-item {
  display: grid;
  grid-template-rows: 20px 18px;
  align-content: center;
  justify-items: center;
  row-gap: 2px;
  height: 48px;
  min-height: 48px;
  width: 100%;
  padding: 4px;
  border: none;
  background: transparent;
  color: var(--wb-text);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.wb-rail-item:hover {
  color: var(--wb-text);
}

.wb-rail-item .material-symbols-outlined {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 20px;
}

.wb-rail-item--active {
  background: var(--wb-nav-active-bg);
  color: var(--wb-nav-active-text);
  box-shadow: inset 0 0 0 1px var(--wb-nav-active-border);
}

.wb-rail-item__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 18px;
  height: 18px;
  max-width: 52px;
  font-size: 9.5px;
  line-height: 9.5px;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
}

.wb-context-panel {
  padding: 20px 16px;
}

.wb-context-panel--workflow {
  padding: 10px 0 0;
}

.wb-section-panel__header h2,
.wb-page-heading h1,
.card h3,
.panel-card h3,
.template-card h3 {
  margin: 0;
}

.wb-section-panel__header h2 {
  font-size: 18px;
  line-height: 24px;
  margin: 4px 0 6px;
}

.wb-section-panel__header p {
  margin: 0 0 20px;
  color: var(--wb-muted);
}

.wb-section-panel__header--workflow {
  padding: 0 16px 14px;
}

body.wb-workflow-shell .wb-section-panel__header--workflow {
  padding: 18px 18px 14px;
}

.wb-section-panel__header--workflow p {
  margin-bottom: 0;
}

.wb-workflow-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.wb-section-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
}

.wb-section-link strong {
  display: block;
  color: var(--wb-text);
}

.wb-section-link small {
  color: var(--wb-muted);
}

.wb-section-link--active {
  background: var(--wb-nav-active-bg);
  border-color: var(--wb-nav-active-border);
  color: var(--wb-nav-active-text);
}

.wb-section-link--active strong,
.wb-section-link--active small {
  color: var(--wb-nav-active-text);
}

.wb-section-link--active small {
  opacity: 0.82;
}

.wb-main {
  min-width: 0;
  padding: 18px;
}

.wb-status-banner {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--wb-surface-muted);
  border: 1px solid var(--wb-outline);
  color: var(--wb-text);
  margin-bottom: 16px;
}

.wb-status-banner[hidden] {
  display: none;
}

.wb-page-frame {
  display: grid;
  gap: 16px;
}

.wb-page-frame__header,
.wb-page-frame__body {
  width: min(100%, var(--wb-content-max));
  margin: 0 auto;
}

.wb-page-frame__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 8px 4px 0;
}

body.wb-workflow-shell .wb-page-frame__header {
  display: none;
}

body.wb-workflow-shell .wb-page-frame {
  gap: 0;
}

body.wb-workflow-shell .wb-page-frame__body {
  margin-top: 0;
  padding-top: 0;
}

body.wb-workflow-shell #workflowMount {
  margin-top: 0;
  padding-top: 0;
}

.wb-page-heading h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 4px 0 8px;
}

.wb-page-heading p {
  max-width: 920px;
  color: var(--wb-muted);
  margin: 0 0 12px;
}

.wb-page-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wb-page-actions .button {
  margin-left: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface);
  color: var(--wb-text);
  cursor: pointer;
}

.button[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
}

.button--primary {
  background: var(--wb-surface);
  border-color: var(--wb-accent);
  color: var(--wb-accent-strong);
}

.button--primary:hover {
  background: var(--wb-interactive-hover);
  border-color: var(--wb-accent);
}

.button--danger {
  border-color: var(--wb-critical);
  color: var(--wb-critical);
  background: var(--wb-surface);
}

.button--danger:hover {
  background: var(--wb-critical-soft);
}

.wb-page-frame__toolbar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 18px;
  border-bottom: 1px solid var(--wb-outline);
  background: var(--wb-overlay-elevated);
  backdrop-filter: blur(12px);
}

.wb-workflow-titlebar-shell[hidden] {
  display: none;
}

.wb-workflow-titlebar-shell {
  width: 100%;
  min-height: 40px;
  padding: 0 18px;
  border-bottom: 1px solid var(--wb-outline);
  background: var(--wb-overlay-elevated);
}

body.wb-workflow-shell .wb-workflow-titlebar-shell {
  min-height: 36px;
}

.wb-subnav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  width: 100%;
  overflow-x: auto;
}

.wb-subnav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--wb-muted);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.wb-subnav__item:hover {
  color: var(--wb-text);
  background: var(--wb-interactive-hover);
}

.wb-subnav__item--active {
  color: var(--wb-text);
  font-weight: 500;
  border-bottom-color: var(--wb-text);
}

.wb-subnav__item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wb-subnav__icon {
  font-size: 18px;
  line-height: 1;
}

.wb-subnav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--wb-surface-muted);
  color: var(--wb-text);
  font-size: 11px;
  font-weight: 700;
}

.wb-page-heading--subnav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 10px;
}

.wb-page-heading__main {
  min-width: 0;
  flex: 1 1 auto;
}

.wb-page-heading__subnav {
  width: 100%;
  margin-top: 2px;
  border-bottom: 1px solid var(--wb-outline);
}

.wb-page-heading__subnav .wb-subnav__item {
  min-height: 42px;
}

.wb-toolbar-chip {
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 999px;
  background: var(--wb-surface);
  color: var(--wb-muted);
}

.wb-toolbar-chip--active {
  background: var(--wb-selection-bg);
  color: var(--wb-accent-strong);
  border-color: var(--wb-selection-border);
}

.content-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}

.content-grid--landing,
.content-grid--queue,
.content-grid--search,
.content-grid--schedule-preview,
.content-grid--report,
.content-grid--measure,
.content-grid--admin,
.content-grid--timeline,
.content-grid--lineage,
.content-grid--understand,
.content-grid--doctor,
.content-grid--assist,
.content-grid--configure-primary,
.content-grid--config-browser,
.content-grid--config-family-detail,
.content-grid--onboard-status,
.content-grid--onboard-setup,
.content-grid--onboard-workflow,
.content-grid--onboard-detail,
.content-grid--onboard-readiness,
.content-grid--onboard-inputs,
.content-grid--admin-billing {
  grid-template-columns: minmax(0, 2.1fr) minmax(320px, 1fr);
}

.content-grid--wizard,
.content-grid--approval,
.content-grid--compare {
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
}

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

.schedule-rule-detail-layout > .card:first-child {
  grid-column: 1 / -1;
}

.content-grid--single {
  grid-template-columns: 1fr;
}

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

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

.content-grid--onboard-inputs {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
}

.content-grid--onboard-inputs > .card--wide:last-child {
  grid-column: 1 / -1;
}

.card {
  background: var(--wb-surface);
  border: 1px solid var(--wb-outline);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--wb-elev-1);
}

.landing-lane,
.publication-rail,
.event-grid,
.explanation-layout {
  display: grid;
  gap: 12px;
}

.landing-lane,
.publication-rail,
.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.landing-lane__column,
.publication-rail__item,
.event-card {
  padding: 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: var(--wb-surface);
}

.landing-lane__label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--wb-muted);
  font-size: 12px;
}

.landing-lane__column strong,
.publication-rail__item strong,
.event-card strong {
  display: block;
  margin-bottom: 4px;
}

.landing-lane__column small,
.publication-rail__item small,
.event-card p {
  color: var(--wb-muted);
}

.detail-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.detail-metric-card {
  padding: 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: var(--wb-surface);
}

.detail-metric-card span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--wb-muted);
  font-size: 12px;
}

.detail-metric-card strong {
  display: block;
  color: var(--wb-text);
}

.event-card p,
.publication-rail__item small {
  margin: 6px 0 0;
  display: block;
}

.card--wide {
  min-height: 100%;
}

.card--shellless {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.config-set-context-card__header {
  margin-bottom: 10px;
}

.detail-summary-grid,
.config-set-context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
  margin-bottom: 12px;
}

.detail-summary-item,
.config-set-context-item {
  display: grid;
  gap: 1px;
  align-content: start;
  min-width: 0;
}

.detail-summary-item--wide,
.config-set-context-item--wide {
  grid-column: span 2;
}

.detail-summary-item span,
.config-set-context-item span {
  color: var(--wb-muted);
  font-size: 11px;
  line-height: 14px;
}

.detail-summary-item strong,
.config-set-context-item strong {
  color: var(--wb-text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.detail-actions,
.config-set-context-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.button--compact {
  min-width: 0;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.card h3,
.panel-card h3,
.template-card h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-tile,
.support-card,
.quote-card,
.route-card,
.decision-card,
.template-card,
.observation-card {
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--wb-surface) 0%, var(--wb-surface-alt) 100%);
}

.metric-tile {
  padding: 14px;
}

.bi-summary-strip--compact .metric-tile {
  padding: 10px 12px;
}

.bi-summary-strip--compact .metric-tile span {
  font-size: 10px;
  line-height: 14px;
}

.bi-summary-strip--compact .metric-tile strong {
  margin-top: 2px;
  font-size: 18px;
  line-height: 24px;
}

.bi-summary-strip--compact .metric-tile small {
  font-size: 10px;
  line-height: 14px;
}

.metric-tile span,
.config-row small,
.quote-card p,
.support-card p,
.decision-card p,
.route-card small {
  color: var(--wb-muted);
}

.metric-tile strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  line-height: 32px;
}

.dense-list,
.evidence-list,
.timeline,
.checklist,
.kv-list,
.panel-stack {
  display: grid;
  gap: 12px;
}

.evidence-list--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list-row,
.evidence-item,
.notification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface-alt);
}

.list-row--linked {
  width: 100%;
  text-align: left;
  background: var(--wb-surface-alt);
  cursor: pointer;
}

.list-row--linked:hover,
.route-card:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-surface-muted);
}

.list-row--selected,
.list-row--selected:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-selection-bg);
}

.list-row div,
.evidence-item div,
.notification-item div {
  display: grid;
  gap: 2px;
  flex: 1;
}

.list-row strong,
.evidence-item strong,
.notification-item strong {
  font-weight: 500;
}

.list-row small,
.evidence-item small,
.notification-item p {
  color: var(--wb-muted);
  margin: 0;
}

.wb-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--wb-muted);
}

.wb-breadcrumb__link,
.wb-breadcrumb__current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  border-radius: 10px;
}

.wb-breadcrumb__link {
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.wb-breadcrumb__link:hover {
  color: var(--wb-accent-strong);
  background: var(--wb-surface-muted);
}

.wb-breadcrumb__current {
  color: var(--wb-text);
}

.wb-breadcrumb__sep {
  color: #91a2bc;
}

.wb-breadcrumb--toolbar {
  min-height: 24px;
  align-items: center;
  margin: 0;
  flex: 1 1 auto;
}

.wb-breadcrumb__link--product .material-symbols-outlined,
.wb-breadcrumb__current .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}

.wb-page-frame__toolbar--workflow {
  min-height: 30px;
  padding: 2px 16px;
}

.wb-page-frame__toolbar--workflow-shell {
  min-height: 28px;
  padding: 2px 18px;
}

.wb-page-frame__toolbar--workflow .wb-breadcrumb {
  font-size: 13px;
  line-height: 18px;
}

.wb-page-frame__toolbar--workflow-shell .wb-breadcrumb__link,
.wb-page-frame__toolbar--workflow-shell .wb-breadcrumb__current {
  color: var(--wb-muted);
  font-weight: 600;
}

.wb-page-frame__toolbar--workflow-shell .wb-breadcrumb__link:hover {
  color: var(--wb-accent-strong);
}

.wb-workflow-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  width: 100%;
}

.wb-workflow-titlebar {
  display: flex;
  align-items: center;
  min-height: 40px;
  width: 100%;
  padding: 0;
}

.wb-workflow-titlebar__lead {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wb-workflow-titlebar__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.wb-workflow-titlebar__back:hover {
  background: var(--wb-interactive-hover);
}

.wb-workflow-titlebar__back .material-symbols-outlined {
  color: var(--wb-accent-strong);
  font-size: 28px;
  line-height: 1;
}

.wb-workflow-titlebar h1 {
  margin: 0;
  font-size: 19px;
  line-height: 24px;
  font-weight: 500;
}

.wb-toolbar-notice {
  flex: 0 0 auto;
  max-width: min(36vw, 420px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1px solid var(--wb-outline);
  border-radius: 999px;
  background: var(--wb-surface);
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 16px;
}

.wb-toolbar-notice--warning {
  border-color: var(--wb-warning);
  color: var(--wb-warning);
}

.wb-workflow-toolbar--compact {
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
}

.wb-workflow-toolbar--no-back {
  gap: 0;
}

.wb-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface);
  color: var(--wb-primary-strong);
  cursor: pointer;
}

.wb-back-link:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-interactive-hover);
}

.wb-toolbar-context-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.wb-toolbar-context-field {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface);
}

.wb-toolbar-context-field--wide {
  min-width: 260px;
}

.wb-toolbar-context-field select,
.wb-toolbar-context-field input {
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
}

.wb-toolbar-context-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.wb-toolbar-context-field::after {
  content: "";
  width: 16px;
  height: 16px;
  background-image: var(--wb-select-chevron);
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.wb-toolbar-context-field:hover {
  border-color: var(--wb-primary);
}

.wb-toolbar-context-field:focus-within {
  border-color: var(--wb-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

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

.chip-switch-row--stacked {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.card-copy {
  margin: 0 0 14px;
  color: var(--wb-muted);
}

.chip,
.demo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--wb-border);
  background: var(--wb-surface-muted);
  color: var(--wb-text);
  font-size: 12px;
  line-height: 16px;
}

.chip--positive,
.demo-chip--positive {
  border-color: rgba(24, 128, 56, 0.26);
  background: var(--wb-surface);
  color: var(--wb-success);
}

.chip--warning {
  border-color: rgba(176, 96, 0, 0.28);
  background: var(--wb-surface);
  color: var(--wb-warning);
}

.chip--critical,
.demo-chip--critical {
  border-color: rgba(197, 34, 31, 0.3);
  background: var(--wb-surface);
  color: var(--wb-critical);
}

.chip--icon {
  gap: 4px;
  padding-right: 12px;
}

.chip--icon .material-symbols-outlined {
  font-size: 16px;
  line-height: 16px;
}

.assistant-skill-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.assistant-skill-mode select {
  min-width: 170px;
}

.quote-grid,
.mini-grid {
  display: grid;
  gap: 12px;
}

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

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

.quote-card,
.support-card,
.decision-card,
.panel-card,
.observation-card {
  padding: 16px;
}

.workflow-frame {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  border: 1px solid var(--wb-outline);
  border-radius: 20px;
  overflow: hidden;
  background: var(--wb-surface);
  box-shadow: var(--wb-elev-1);
}

.workflow-frame--hero-in-nav {
  margin-top: -9px;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.workflow-frame--hero-in-nav .workflow-frame__nav {
  align-self: start;
  border: 1px solid var(--wb-outline);
  border-radius: 0;
  background: var(--wb-surface);
  overflow: hidden;
}

.workflow-frame--hero-in-nav .workflow-frame__content {
  background: transparent;
}

.workflow-frame--hero-in-nav .workflow-frame__content-body {
  padding: 0;
}

.workflow-frame--hero-in-nav .workflow-frame__footer {
  padding: 14px 0 0;
  border-top: 0;
  background: transparent;
}

.workflow-frame--section-nav {
  grid-template-columns: minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.workflow-frame--section-nav .workflow-frame__content {
  grid-template-rows: 1fr auto;
}

.workflow-frame--section-nav .workflow-frame__content-body {
  padding-top: 14px;
}

body.wb-workflow-shell .workflow-frame--section-nav .workflow-frame__content-body {
  padding-top: 0;
}

.workflow-frame__nav {
  border-right: 1px solid var(--wb-outline);
  background: var(--wb-surface-alt);
}

.workflow-frame__nav-head {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--wb-outline);
}

.workflow-frame__nav-head h3,
.workflow-frame__content-head h3 {
  margin: 4px 0 6px;
}

.workflow-frame__nav-head p,
.workflow-frame__content-head p,
.workflow-frame__footer-note {
  margin: 0;
  color: var(--wb-muted);
  font-size: 13px;
  line-height: 18px;
}

.workflow-frame__nav-progress {
  margin-top: 10px;
  color: var(--wb-muted);
  font-size: 13px;
  line-height: 18px;
}

.workflow-step-list {
  display: grid;
}

.workflow-step-list--panel {
  border-top: 1px solid var(--wb-outline);
}

.workflow-step-list--shell {
  align-content: start;
  overflow: auto;
  border-top: 0;
}

.workflow-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.workflow-step--panel {
  padding: 12px 16px;
}

.workflow-step--shell {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  border-left: 0;
}

body.wb-workflow-shell .wb-workflow-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.workflow-step:hover {
  background: var(--wb-surface-muted);
}

.workflow-step--active {
  background: var(--wb-nav-active-bg);
  border-left-color: var(--wb-nav-active-border);
}

.workflow-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--wb-surface-muted);
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 700;
}

.workflow-step__index--shell {
  width: 18px;
  height: 18px;
  background: transparent;
}

.workflow-step__bullet {
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--wb-muted);
}

.workflow-step--active .workflow-step__index {
  background: color-mix(in srgb, var(--wb-nav-active-text) 14%, transparent);
  color: var(--wb-nav-active-text);
}

.workflow-step--complete .workflow-step__index {
  background: var(--wb-surface-selected);
  color: var(--wb-text-muted);
}

.workflow-step--active .workflow-step__text strong,
.workflow-step--active .workflow-step__text small {
  color: var(--wb-nav-active-text);
}

.workflow-step--active .workflow-step__text small {
  opacity: 0.82;
}

.workflow-step__index .material-symbols-outlined {
  font-size: 18px;
}

.workflow-step__index--shell .material-symbols-outlined {
  font-size: 22px;
  color: var(--wb-accent-strong);
}

.workflow-step--shell.workflow-step--active {
  background: color-mix(in srgb, var(--wb-accent) 10%, transparent);
  border-left-color: transparent;
}

.workflow-step--shell.workflow-step--active .workflow-step__bullet {
  background: var(--wb-accent-strong);
}

.workflow-step--shell.workflow-step--active .workflow-step__text strong {
  color: var(--wb-text);
}

.workflow-step--shell.workflow-step--active .workflow-step__text small {
  color: var(--wb-muted);
  opacity: 1;
}

.workflow-step--shell .workflow-step__text strong {
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
}

.workflow-step--shell .workflow-step__text small {
  font-size: 13px;
  line-height: 18px;
}

.workflow-step__text {
  display: grid;
  gap: 2px;
}

.workflow-step__text strong {
  font-size: 14px;
  line-height: 20px;
}

.workflow-step__text small {
  color: var(--wb-muted);
}

.workflow-frame__content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}

.workflow-frame__content-head {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--wb-outline);
}

.workflow-frame__content-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 16px;
  padding: 18px;
  min-width: 0;
}

.workflow-frame__content-body--single {
  grid-template-columns: minmax(0, 1fr);
}

.workflow-frame__main,
.workflow-frame__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.schedule-workflow-card {
  gap: 14px;
}

.schedule-workflow-card .card__header {
  margin-bottom: 0;
}

.card__header--schedule-switches {
  padding-bottom: 6px;
}

.workflow-toggle-block {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.workflow-toggle-block--execution {
  margin-top: 14px;
}

.schedule-workflow-card--flush {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.workflow-toggle-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.workflow-toggle-row__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--wb-muted);
}

.workflow-control-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 280px);
  gap: 12px;
  align-items: center;
}

.workflow-control-row__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--wb-text);
}

.workflow-control-row__field {
  margin: 0;
}

.workflow-control-row--toggle {
  grid-template-columns: 148px minmax(0, 280px);
}

.workflow-toggle-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.workflow-toggle-control__value {
  font-size: 13px;
  font-weight: 500;
  color: var(--wb-text);
}

.workflow-toggle-control__value--disabled {
  color: var(--wb-disabled);
}

.workflow-toggle-switch {
  min-width: 0;
  width: 52px;
  justify-content: center;
  height: 30px;
  padding: 0 6px;
  border-color: var(--wb-outline);
  border-radius: 999px;
  background: var(--wb-surface);
  font-size: 12px;
}

.workflow-toggle-switch:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-surface-muted);
}

.workflow-toggle-switch .wb-switch__track {
  background: var(--wb-switch-track-off);
}

.workflow-toggle-switch.wb-switch--on .wb-switch__track {
  background: var(--wb-switch-track-on);
}

.schedule-workflow-card .data-callout,
.schedule-workflow-card .card--subsection {
  background: var(--wb-surface);
}

.workflow-toggle-switch[disabled] {
  opacity: 0.65;
  cursor: default;
}

.workflow-toggle-row .workflow-toggle-row__label {
  color: var(--wb-text);
  font-weight: 700;
}

.schedule-workflow-card .chip-switch-row--stacked + .chip-switch-row--stacked,
.schedule-workflow-card .chip-switch-row--stacked + .data-callout,
.schedule-workflow-card .chip-switch-row--stacked + #workflowScheduleConfigTableMount,
.schedule-workflow-card .data-callout + #workflowScheduleConfigTableMount {
  margin-top: 12px;
}

.schedule-workflow-card .chip-switch-row--stacked .wb-toolbar-chip {
  min-width: 0;
  height: 32px;
  padding: 0 14px;
  font-weight: 500;
  color: var(--wb-text);
}

.schedule-workflow-card .chip-switch-row--stacked .wb-toolbar-chip--active {
  color: var(--wb-primary-strong);
}

.schedule-workflow-card .card__header h3 {
  margin-bottom: 0;
}

.schedule-workflow-card .data-callout {
  margin: 0;
}

.schedule-workflow-card .card--subsection {
  padding: 14px 16px;
}

.workflow-frame--section-nav .workflow-frame__footer .button {
  min-width: 104px;
  justify-content: center;
  border: 1px solid var(--wb-outline);
  box-shadow: none;
  background: transparent;
  color: var(--wb-text);
  padding: 0 14px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.workflow-frame--section-nav .workflow-frame__footer .button--primary {
  background: transparent;
  border-color: var(--wb-outline);
  color: var(--wb-text);
}

.workflow-frame--section-nav .workflow-frame__footer {
  border-top: 0;
  background: transparent;
  padding-top: 8px;
}

body.wb-workflow-shell .workflow-frame__footer {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 12px 18px 0;
}

body.wb-workflow-shell .workflow-frame__footer .button {
  min-width: 112px;
  justify-content: center;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  color: var(--wb-text);
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.wb-workflow-shell .workflow-frame__footer .button:hover {
  background: rgba(26, 115, 232, 0.08);
  border-color: rgba(26, 115, 232, 0.42);
  color: var(--wb-primary-strong);
}

body.wb-workflow-shell .workflow-frame__footer .button:active {
  background: rgba(26, 115, 232, 0.14);
  border-color: rgba(26, 115, 232, 0.56);
  color: var(--wb-primary-strong);
}

.workflow-frame--section-nav .workflow-frame__footer .button:hover {
  background: rgba(26, 115, 232, 0.08);
  border-color: rgba(26, 115, 232, 0.42);
  color: var(--wb-primary-strong);
}

.workflow-frame--section-nav .workflow-frame__footer .button--primary:hover {
  background: rgba(26, 115, 232, 0.08);
  border-color: rgba(26, 115, 232, 0.42);
  color: var(--wb-primary-strong);
}

.workflow-frame--section-nav .workflow-frame__footer .button:active,
.workflow-frame--section-nav .workflow-frame__footer .button--primary:active {
  background: rgba(26, 115, 232, 0.14);
  border-color: rgba(26, 115, 232, 0.56);
  color: var(--wb-primary-strong);
}

.schedule-run-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.schedule-run-cluster {
  display: grid;
  gap: 10px;
  align-content: start;
}

.schedule-run-selected {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--wb-surface-muted);
  border: 1px solid var(--wb-outline);
}

.schedule-run-selected strong {
  font-size: 14px;
  line-height: 20px;
}

.schedule-run-selected--plain {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.schedule-run-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

.schedule-run-meta__label {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 500;
}

.schedule-summary-card {
  width: min(100%, 480px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.schedule-summary-card .card__header {
  margin-bottom: 0;
  padding: 0 0 8px;
}

.schedule-summary-card .card__header h3 {
  margin-bottom: 0;
}

.schedule-summary-card .card__header .wb-eyebrow {
  margin-bottom: 4px;
}

.schedule-summary-card__body .kv-list > div,
.schedule-summary-card__notes .kv-list > div {
  padding: 4px 0;
}

.schedule-summary-card__body .kv-list span,
.schedule-summary-card__notes .kv-list span {
  font-size: 12px;
}

.schedule-summary-card__body .kv-list strong,
.schedule-summary-card__notes .kv-list strong {
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
}

.schedule-summary-card__notes {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.schedule-summary-card .card-copy,
.schedule-summary-card__notes .card-copy {
  margin: 0;
  font-size: 12px;
  line-height: 15px;
}

.workflow-home-card {
  display: grid;
  gap: 18px;
}

.workflow-home-actions {
  display: flex;
  justify-content: flex-start;
}

.workflow-choice-set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 10px;
}

.workflow-inline-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--wb-outline);
  border-radius: 18px;
  background: var(--wb-surface-muted);
}

.workflow-intake-strip,
.workflow-import-strip {
  display: grid;
  gap: 12px;
  align-items: end;
}

.workflow-intake-strip {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.workflow-intake-strip--three {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.workflow-intake-field {
  display: grid;
  gap: 6px;
}

.workflow-intake-field > span {
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.workflow-intake-field .wb-inline-search,
.workflow-intake-field .wb-inline-select {
  width: 100%;
  min-width: 0;
  height: 40px;
  border-radius: 14px;
  background: var(--wb-surface);
}

.workflow-intake-strip__action {
  min-width: 148px;
  height: 40px;
  align-self: end;
  justify-self: start;
}

.workflow-inline-note {
  margin: 12px 0 0;
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 18px;
}

.workflow-upload-row,
.workflow-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.workflow-import-strip {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.workflow-import-strip__copy {
  display: grid;
  gap: 4px;
}

.workflow-import-strip__copy strong {
  font-size: 14px;
  line-height: 18px;
}

.workflow-import-strip__copy small {
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 17px;
}

.workflow-inline-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.workflow-inline-select-wrap .wb-inline-select {
  min-width: 128px;
}

.workflow-upload-status {
  color: var(--wb-muted);
  font-size: 13px;
  line-height: 18px;
}

.workflow-upload-status--captured {
  color: var(--wb-text);
  font-weight: 500;
}

.workflow-section-spacer {
  height: 16px;
}

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

@media (max-width: 1400px) {
  .workflow-intake-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-intake-strip--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .workflow-intake-strip--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-intake-strip__action {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .workflow-import-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.workflow-home-checks {
  display: grid;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--wb-outline);
}

.kv-list--three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.command-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.workflow-frame__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--wb-outline);
  background: var(--wb-surface);
}

.workflow-frame__footer--actions-only {
  justify-content: flex-end;
}

.workflow-frame__footer-actions {
  display: inline-flex;
  gap: 10px;
}

.quote-card--accent {
  background: linear-gradient(180deg, #eff5ff 0%, #fafcff 100%);
  border-color: #cddfff;
}

.assistant-output {
  display: grid;
  gap: 10px;
  padding: 16px;
  margin: 0 0 16px;
  border: 1px solid var(--wb-selection-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--wb-surface-muted) 0%, var(--wb-surface) 100%);
}

.assistant-output__header {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.assistant-output__header p {
  margin: 4px 0 0;
  color: var(--wb-muted);
}

.card--embedded {
  padding: 16px;
  border-radius: 18px;
  box-shadow: none;
  background: #fcfdff;
}

.explanation-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  margin-bottom: 16px;
}

.route-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 16px;
  text-align: left;
  background: var(--wb-surface);
  cursor: pointer;
}

.route-card strong {
  font-size: 14px;
  line-height: 20px;
}

.timeline {
  position: relative;
  padding-left: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--wb-outline);
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.timeline-item__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--wb-primary);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.timeline-item--critical .timeline-item__dot {
  background: var(--wb-critical);
  box-shadow: 0 0 0 4px rgba(197, 34, 31, 0.12);
}

.timeline-item strong {
  display: block;
  margin-bottom: 2px;
}

.timeline-item p {
  margin: 0;
  color: var(--wb-muted);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stepper__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface);
}

.stepper__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--wb-surface-muted);
  color: var(--wb-muted);
}

.stepper__item--active {
  background: var(--wb-selection-bg);
  border-color: var(--wb-selection-border);
}

.stepper__item--active span {
  background: var(--wb-surface-selected);
  color: var(--wb-accent-strong);
}

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

.configure-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.config-inventory {
  margin: 16px 0;
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  padding: 16px;
  background: var(--wb-surface);
}

.config-inventory__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.config-inventory__header h4 {
  margin: 0;
  font-size: 14px;
}

.slider-list {
  display: grid;
  gap: 14px;
}

.wb-slider-field {
  display: grid;
  gap: 6px;
}

.wb-slider-field span,
.wb-slider-field small {
  color: var(--wb-muted);
}

.wb-slider-field input[type="range"] {
  width: 100%;
  accent-color: var(--wb-primary);
}

.form-section,
.config-family,
.looker-frame {
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  padding: 16px;
  background: var(--wb-surface);
}

.config-family h4 {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 20px;
}

.config-row {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--wb-outline);
}

.config-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.config-row span {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  color: var(--wb-primary-strong);
}

.wb-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.wb-field--compact {
  margin-bottom: 0;
}

.wb-field--select-lite,
.wb-field--date-lite {
  margin-bottom: 0;
}

.wb-field--select-lite select,
.wb-field--date-lite input {
  min-height: 34px;
  height: 34px;
  border-color: var(--wb-outline);
  border-radius: 10px;
  background: var(--wb-surface);
  padding-top: 0;
  padding-bottom: 0;
  font-size: 13px;
}

.wb-field--select-lite select:hover,
.wb-field--date-lite input:hover {
  border-color: var(--wb-accent);
  background: var(--wb-surface-muted);
}

.wb-field--select-lite select:focus,
.wb-field--date-lite input:focus {
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.08);
}

.wb-field input,
.wb-field textarea,
.wb-field select {
  width: 100%;
  border: 1px solid var(--wb-outline-strong);
  border-radius: 12px;
  background: var(--wb-surface);
  padding: 10px 12px;
  color: var(--wb-text);
}

.wb-field input,
.wb-field select {
  min-height: 36px;
}

.wb-field select {
  appearance: none;
  background-image: var(--wb-select-chevron);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 34px;
  cursor: pointer;
}

.wb-field input:hover,
.wb-field textarea:hover,
.wb-field select:hover {
  border-color: var(--wb-primary);
}

.wb-field input:focus,
.wb-field textarea:focus,
.wb-field select:focus {
  outline: none;
  border-color: var(--wb-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.checklist label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
}

.checklist input {
  margin-top: 3px;
}

.wb-table {
  width: 100%;
  border-collapse: collapse;
}

.wb-table--dense thead th {
  padding: 0 12px 0 0;
}

.wb-table--dense tbody td {
  padding: 10px 12px 10px 0;
  font-size: 12px;
  line-height: 16px;
  vertical-align: middle;
}

.table-inline-note {
  margin-top: 4px;
  color: var(--wb-muted);
}

.wb-table thead th {
  text-align: left;
  padding: 1px 0 1px;
  border-bottom: 1px solid var(--wb-outline);
  color: var(--wb-text);
  font-size: 12px;
  font-weight: 400;
  background: var(--wb-structure-band);
}

.wb-table__sort-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}

.wb-table__sort-button:hover {
  color: var(--wb-text);
}

.wb-table__sort-button:focus {
  outline: none;
  box-shadow: none;
}

.wb-table__sort-icon {
  min-width: 14px;
  font-size: 14px;
  line-height: 1;
  color: var(--wb-muted);
  opacity: 0;
}

.wb-table__sort-icon--active {
  opacity: 1;
}

.wb-table thead tr {
  background: var(--wb-structure-band);
}

.wb-table tbody td {
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid var(--wb-outline);
  color: var(--wb-muted);
}

.wb-table tbody tr {
  cursor: default;
}

.wb-table tbody tr[data-nav] {
  cursor: pointer;
}

.wb-table tbody tr:hover td {
  background: var(--wb-interactive-hover);
}

.table-shell {
  display: grid;
  gap: 12px;
}

.table-shell--dense {
  gap: 14px;
}

.table-shell--framed {
  gap: 0;
  border: 1px solid var(--wb-outline);
  border-radius: 20px;
  background: var(--wb-surface);
  overflow: visible;
}

.table-shell--framed > .table-header-panel:first-child,
.table-shell--framed > .table-selection-bar--framed:first-child,
.table-shell--framed > .table-toolbar--framed:first-child {
  border-top-left-radius: 20px;
}

.table-shell--framed > .table-header-panel:first-child,
.table-shell--framed > .table-selection-bar--framed:first-child,
.table-shell--framed > .table-toolbar--framed:first-child {
  border-top-right-radius: 20px;
}

.table-shell--dense .wb-table {
  table-layout: fixed;
}

.table-shell--dense .wb-table thead th,
.table-shell--dense .wb-table tbody td {
  padding-right: 18px;
}

.table-shell--dense .wb-table tbody td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-selection-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
}

.table-selection-bar--framed {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-bottom: 1px solid var(--wb-outline);
  border-radius: 0;
  background: var(--wb-surface-muted);
}

.table-selection-bar__count {
  color: var(--wb-muted);
  font-size: 13px;
  font-weight: 600;
}

.table-selection-bar__clear {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wb-text);
  padding: 0;
}

.table-selection-bar__clear .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}

.table-selection-bar__clear:hover {
  background: var(--wb-interactive-hover);
  color: var(--wb-accent-strong);
}

.table-selection-bar__clear:focus {
  outline: none;
  box-shadow: none;
}

.table-selection-bar__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.table-selection-bar__note {
  color: var(--wb-muted);
  font-size: 12px;
  white-space: nowrap;
}

.table-selection-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--wb-text);
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
  transition: background 120ms ease, color 120ms ease, opacity 120ms ease;
}

.table-selection-action .material-symbols-outlined {
  font-size: 17px;
  line-height: 1;
}

.table-selection-action:hover {
  background: var(--wb-interactive-hover);
}

.table-selection-action:focus {
  outline: none;
  box-shadow: none;
}

.table-selection-action--danger {
  color: #c43d34;
}

.table-selection-action[disabled] {
  background: transparent;
  color: var(--wb-disabled);
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}

.wb-table__checkbox-col {
  width: 42px;
  padding-right: 10px !important;
}

.table-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: var(--wb-surface);
}

.table-toolbar--framed {
  position: relative;
  z-index: 2;
  padding: 5px 16px;
  border: 0;
  border-bottom: 1px solid var(--wb-outline);
  border-radius: 0;
  background: var(--wb-filter-bar-bg);
}

.table-toolbar__filters,
.table-toolbar__actions,
.table-active-filters {
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-toolbar__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wb-text);
  white-space: nowrap;
  font-size: 13px;
}

.table-toolbar__label .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
  color: var(--wb-muted);
}

.table-toolbar__filters,
.table-toolbar__actions {
  flex-wrap: nowrap;
}

.table-toolbar__filters {
  min-width: 0;
}

.table-toolbar--framed .wb-inline-search,
.table-toolbar--framed .wb-inline-select,
.table-toolbar--framed .wb-tool-button {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.table-toolbar--framed .wb-inline-search {
  min-width: 220px;
  height: 30px;
  padding-left: 0;
  font-size: 13px;
}

.table-toolbar--framed .wb-inline-date {
  height: 30px;
  border-color: var(--wb-outline);
  border-radius: 10px;
  background: var(--wb-surface);
  font-size: 12px;
}

.table-toolbar--framed .wb-inline-select {
  min-width: 210px;
  height: 32px;
  border-color: var(--wb-outline);
  border-radius: 10px;
  background: var(--wb-surface);
  padding-left: 12px;
}

.table-toolbar--framed .wb-filter-menu-anchor {
  position: relative;
}

.table-toolbar--framed .wb-filter-menu-trigger {
  min-width: 210px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--wb-outline);
  border-radius: 10px;
  background: var(--wb-surface);
  color: var(--wb-text);
  padding: 0 12px;
  font-size: 12px;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease, box-shadow 120ms ease, font-weight 120ms ease;
}

.table-toolbar--framed .wb-filter-menu-trigger .material-symbols-outlined {
  font-size: 16px;
  color: inherit;
}

.table-toolbar--framed .wb-inline-search:focus {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

.table-toolbar--framed .wb-inline-select:focus,
.table-toolbar--framed .wb-switch:focus,
.table-toolbar--framed .wb-tool-button:focus {
  outline: none;
  box-shadow: none;
}

.table-toolbar--framed .wb-inline-select:hover {
  border-color: #c7d5eb;
  background: #f3f8ff;
  color: var(--wb-primary-strong);
  font-weight: 700;
}

.table-toolbar--framed .wb-filter-menu-trigger:hover,
.table-toolbar--framed .wb-filter-menu-trigger[aria-expanded="true"] {
  border-color: #c7d5eb;
  background: #f3f8ff;
  color: var(--wb-primary-strong);
  font-weight: 700;
}

.table-toolbar--framed .wb-filter-menu-trigger:focus {
  outline: none;
  box-shadow: none;
}

.table-toolbar--framed .wb-switch {
  border: 1px solid var(--wb-outline);
  border-radius: 999px;
  background: var(--wb-surface-muted);
  min-height: 30px;
  height: 30px;
  padding: 0 9px 0 6px;
  font-size: 12px;
}

.table-toolbar--framed .wb-switch:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-surface-selected);
}

.table-toolbar--framed .wb-tool-button:hover {
  border-color: transparent;
  background: var(--wb-interactive-hover);
}

.wb-filter-menu {
  min-width: 240px;
}

.wb-filter-menu__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--wb-text);
  padding: 10px 12px;
  text-align: left;
  transition: background 120ms ease, color 120ms ease, font-weight 120ms ease;
}

.wb-filter-menu__option:hover {
  background: var(--wb-interactive-hover);
  color: var(--wb-accent-strong);
  font-weight: 700;
}

.wb-filter-menu__option--active {
  background: var(--wb-selection-bg);
  color: var(--wb-accent-strong);
  font-weight: 700;
}

.table-toolbar--dense-grid {
  grid-template-columns: 1fr;
}

.table-toolbar__filters--understand {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(140px, 0.85fr) auto minmax(220px, 1fr);
  gap: 8px;
  align-items: center;
}

.wb-inline-select,
.wb-inline-date {
  height: 36px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  color: var(--wb-text);
  padding: 0 12px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.wb-inline-select {
  min-width: 0;
  appearance: none;
  background-image: var(--wb-select-chevron);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 34px;
}

.wb-filter-select,
.wb-inline-search,
.wb-inline-date {
  height: 36px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  color: var(--wb-text);
  padding: 0 12px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.wb-inline-search {
  min-width: 280px;
  flex: 1 1 280px;
}

.table-header-panel {
  padding: 14px 16px 13px;
  border-bottom: 1px solid var(--wb-outline);
  background: var(--wb-structure-band);
  overflow: hidden;
}

.table-header-panel__eyebrow {
  margin-bottom: 4px;
  color: var(--wb-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-header-panel__title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
}

.table-header-panel__description {
  margin: 6px 0 0;
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 18px;
}

.wb-table--framed thead th,
.wb-table--framed tbody td {
  padding-right: 16px;
}

.wb-table--framed thead th:first-child,
.wb-table--framed tbody td:first-child {
  padding-left: 16px;
}

.wb-table--framed thead th:last-child,
.wb-table--framed tbody td:last-child {
  padding-right: 16px !important;
}

.wb-table--framed thead th {
  padding-top: 4px;
  padding-bottom: 3px;
}

.wb-table--framed tbody td {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--wb-outline);
}

.wb-table--framed tbody tr:last-child td {
  border-bottom: 0;
}

.wb-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  padding: 4px;
  border: 1px solid var(--wb-outline);
  border-radius: 18px;
  background: var(--wb-surface);
}

.wb-mode-toggle__button {
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--wb-muted);
  cursor: pointer;
}

.wb-mode-toggle__button--active {
  background: var(--wb-primary-soft);
  color: var(--wb-primary-strong);
}

.wb-inline-date {
  min-width: 144px;
}

.wb-tool-button {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  color: var(--wb-text);
  cursor: pointer;
}

.wb-tool-button:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-interactive-hover);
}

.wb-tool-button--icon {
  width: 32px;
  min-width: 32px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.wb-tool-button--text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.wb-tool-button--text .material-symbols-outlined {
  font-size: 16px;
}

.admin-issue-detail-layout {
  align-items: start;
}

.admin-issue-detail-main,
.admin-issue-detail-side {
  min-width: 0;
}

.admin-issue-detail-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-issue-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-issue-detail-title h3 {
  margin: 0;
}

.admin-issue-detail-statusline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--wb-muted);
  font-size: 13px;
}

.admin-issue-detail-statusline strong {
  color: var(--wb-text);
  font-weight: 600;
}

.admin-issue-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-issue-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-issue-fact-card {
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fbfcfe;
}

.admin-issue-fact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--wb-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-issue-fact-card strong {
  display: block;
  color: var(--wb-text);
  font-size: 14px;
  font-weight: 600;
}

.admin-issue-thread {
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: var(--wb-surface);
}

.admin-issue-thread__entry {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
}

.admin-issue-thread__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--wb-surface-muted);
  color: var(--wb-text);
  font-weight: 700;
}

.admin-issue-thread__body {
  min-width: 0;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  overflow: hidden;
}

.admin-issue-thread__header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: var(--wb-surface-muted);
  border-bottom: 1px solid var(--wb-outline);
  color: var(--wb-muted);
  font-size: 12px;
}

.admin-issue-thread__header strong {
  color: var(--wb-text);
  font-size: 13px;
}

.admin-issue-thread__content {
  padding: 16px 14px;
  color: var(--wb-text);
}

.admin-issue-thread__content p {
  margin: 0 0 14px;
}

.admin-issue-thread__evidence strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
}

.admin-issue-thread__evidence ul {
  margin: 0;
  padding-left: 18px;
  color: var(--wb-muted);
}

.admin-issue-side-card .card__header {
  margin-bottom: 14px;
}

@media (max-width: 1080px) {
  .admin-issue-fact-grid {
    grid-template-columns: 1fr;
  }
}

.wb-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  color: var(--wb-text);
}

.wb-switch__track {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: var(--wb-switch-track-off);
}

.wb-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--wb-switch-thumb);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.wb-switch--on .wb-switch__track {
  background: var(--wb-switch-track-on);
}

.wb-switch--on .wb-switch__track::after {
  left: 14px;
}

.assistant-policy-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.25fr);
  gap: 16px;
  margin-top: 18px;
}

.assistant-policy-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--wb-outline);
  border-radius: 18px;
  background: var(--wb-surface);
}

.assistant-policy-card__header h3 {
  margin-top: 4px;
}

.assistant-policy-switches {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 12px;
  align-items: center;
}

.assistant-policy-switches p,
.assistant-skill-row small {
  margin: 2px 0 0;
  color: var(--wb-muted);
}

.assistant-skill-table {
  display: grid;
  gap: 8px;
}

.assistant-skill-table__head,
.assistant-skill-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(180px, 0.9fr) auto;
  gap: 12px;
  align-items: center;
}

.assistant-skill-table__head {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--wb-outline);
  color: var(--wb-muted);
  font-size: 12px;
}

.assistant-skill-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--wb-outline);
}

.assistant-skill-row:last-child {
  border-bottom: 0;
}

.table-row-menu {
  width: 36px;
  text-align: right;
  color: var(--wb-muted);
}

.wb-columns-menu-anchor {
  position: relative;
}

.wb-columns-menu {
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 12;
  min-width: 196px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: var(--wb-surface);
  box-shadow: var(--wb-elev-1);
}

.wb-columns-menu[hidden] {
  display: none;
}

.wb-columns-menu label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wb-text);
}

.wb-topbar-menu-anchor {
  position: relative;
}

.wb-topbar-menu {
  right: 0;
  left: auto;
  min-width: 220px;
}

.wb-topbar-menu .wb-filter-menu__option {
  justify-content: flex-start;
  gap: 10px;
}

.wb-topbar-menu .material-symbols-outlined {
  font-size: 18px;
  color: var(--wb-muted);
}

.support-case-section {
  padding-top: 6px;
  border-top: 1px solid var(--wb-outline);
  margin-top: 18px;
}

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

.support-case-field {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface-alt);
}

.support-case-field span {
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 16px;
}

.support-case-body {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--wb-surface) 0%, var(--wb-surface-alt) 100%);
}

.support-case-body p {
  margin: 0 0 12px;
}

.support-case-body p:last-child {
  margin-bottom: 0;
}

.table-findings {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
}

.table-findings .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
}

.table-findings--critical {
  background: var(--wb-critical-soft);
  color: var(--wb-critical);
}

.table-findings--warning {
  background: var(--wb-warning-soft);
  color: var(--wb-warning);
}

.table-findings--positive {
  background: var(--wb-success-soft);
  color: var(--wb-success);
}

.table-cell-stack {
  display: grid;
  gap: 3px;
}

.table-cell-stack strong {
  font-weight: 500;
  color: var(--wb-text);
}

.table-cell-stack span {
  color: var(--wb-muted);
  font-size: 11px;
  line-height: 1.35;
}

.table-toolbar--config-browser {
  justify-content: space-between;
  gap: 12px;
}

.table-toolbar--config-browser .table-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.table-toolbar--config-browser .table-toolbar__actions {
  flex: 0 0 auto;
}

.list-row--active {
  border-color: #c5d9ff;
  background: #eef4ff;
}

.config-readable-actions {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.config-readable-section {
  overflow: hidden;
}

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

.kv-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--wb-outline);
}

.kv-list > div:first-child {
  border-top: none;
  padding-top: 0;
}

.kv-list span {
  color: var(--wb-muted);
}

.impact-strip,
.compare-band,
.lineage-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.publication-rail {
  margin-top: 16px;
}

.impact-strip > div,
.compare-band > div {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--wb-surface-muted);
  border: 1px solid var(--wb-outline);
}

.impact-strip span,
.compare-band span {
  display: block;
  color: var(--wb-muted);
  margin-bottom: 4px;
}

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

.split-panel {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface);
}

.split-panel--accent {
  background: var(--wb-surface-selected);
  border-color: var(--wb-selection-border);
}

.mono-list {
  margin: 0;
  padding-left: 18px;
  color: var(--wb-text);
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  line-height: 18px;
}

.data-callout {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface-muted);
}

.data-callout p,
.body-copy {
  margin: 8px 0 0;
  color: var(--wb-muted);
}

.lineage-strip {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
}

.lineage-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  background: #f5f8fd;
  border: 1px solid var(--wb-outline);
  text-align: center;
}

.looker-frame {
  padding: 0;
  overflow: hidden;
}

.looker-frame__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--wb-outline);
}

.fake-chart,
.template-card__mock {
  min-height: 200px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, var(--wb-chart-grid-soft) 0%, transparent 100%),
    repeating-linear-gradient(90deg, var(--wb-chart-grid-strong) 0, var(--wb-chart-grid-strong) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(180deg, var(--wb-chart-grid-soft) 0, var(--wb-chart-grid-soft) 1px, transparent 1px, transparent 36px),
    var(--wb-chart-surface);
}

.fake-chart--line {
  background:
    linear-gradient(transparent 65%, var(--wb-chart-grid-soft) 65%),
    linear-gradient(130deg, transparent 0 28%, var(--wb-chart-accent-soft) 28% 31%, transparent 31% 54%, var(--wb-chart-positive-soft) 54% 57%, transparent 57% 100%),
    var(--wb-chart-surface);
}

.fake-chart--bars {
  background:
    linear-gradient(to top, var(--wb-chart-accent-soft) 0 35%, transparent 35% 100%),
    linear-gradient(to top, transparent 0 100%),
    repeating-linear-gradient(90deg, var(--wb-chart-accent-soft) 0, var(--wb-chart-accent-soft) 28px, transparent 28px, transparent 54px),
    var(--wb-chart-surface);
}

.template-card {
  padding: 14px;
}

.template-card__mock {
  min-height: 180px;
  margin-bottom: 12px;
}

.template-card__mock--shell { background: linear-gradient(90deg, var(--wb-chart-accent-soft) 0 8%, var(--wb-chart-grid-strong) 8% 28%, transparent 28% 100%), var(--wb-chart-surface); }
.template-card__mock--context { background: linear-gradient(90deg, var(--wb-chart-accent-soft) 0 8%, var(--wb-chart-positive-soft) 8% 30%, transparent 30% 100%), var(--wb-chart-surface); }
.template-card__mock--queue { background: linear-gradient(90deg, var(--wb-chart-grid-strong) 0 38%, transparent 38% 100%), var(--wb-chart-surface); }
.template-card__mock--wizard { background: linear-gradient(180deg, var(--wb-chart-grid-strong) 0 28%, transparent 28% 100%), var(--wb-chart-surface); }
.template-card__mock--compare { background: linear-gradient(90deg, transparent 0 47%, var(--wb-chart-accent-soft) 47% 53%, transparent 53% 100%), var(--wb-chart-surface); }
.template-card__mock--approval { background: linear-gradient(90deg, transparent 0 68%, var(--wb-chart-accent-soft) 68% 100%), var(--wb-chart-surface); }

.component-shelf {
  align-items: flex-start;
}

.demo-chip {
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface-muted);
}

.panel-card {
  border: 1px solid var(--wb-outline);
  border-radius: 18px;
  background: var(--wb-surface);
  padding: 16px;
}

.panel-card--chart {
  min-height: 340px;
}

.bi-grid,
.bi-chart-grid,
.bi-summary-strip {
  display: grid;
  gap: 16px;
}

.bi-control-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 16px;
  background: var(--wb-surface-muted);
}

.bi-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.bi-control .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  font-size: 18px;
  color: var(--wb-muted);
}

.bi-control select,
.bi-control input {
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--wb-text);
}

.bi-control select {
  appearance: none;
  background-image: var(--wb-select-chevron);
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px 16px;
  padding-right: 22px;
  cursor: pointer;
}

.bi-control:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-surface-selected);
}

.bi-control:focus-within {
  border-color: var(--wb-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.bi-summary-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 4px;
}

.bi-chart-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
}

.bi-line-chart {
  width: 100%;
  height: 260px;
  overflow: visible;
}

.bi-line-chart line,
.bi-line-chart polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bi-line-chart line {
  stroke: #dbe4f0;
  stroke-width: 1;
}

.bi-line-chart polyline {
  stroke: var(--wb-primary);
  stroke-width: 3;
}

.bi-line-chart circle {
  fill: var(--wb-primary);
}

.bi-line-chart text {
  fill: var(--wb-muted);
  font-size: 11px;
}

.bi-line-chart__tick {
  stroke: #c9d6e5;
  stroke-width: 1;
}

.bi-line-chart__axis-label {
  text-anchor: middle;
}

.button--link {
  padding: 0;
  min-height: 0;
  border: none;
  background: transparent;
  color: var(--wb-primary-strong);
  border-radius: 0;
}

.bi-bar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 240px;
}

.bi-bar-card {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.bi-bar-card__bar {
  width: 44px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, rgba(26, 115, 232, 0.34) 0%, rgba(26, 115, 232, 0.82) 100%);
}

.bi-bar-card strong {
  font-size: 13px;
}

.bi-bar-card small {
  color: var(--wb-muted);
  text-align: center;
  line-height: 16px;
}

.assist-summary-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.assist-summary-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface-muted);
}

.assist-summary-card small {
  color: var(--wb-muted);
}

.assist-skill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.assist-skill-pill {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface-muted);
}

.assist-skill-pill small {
  color: var(--wb-muted);
}

.assist-capability-list {
  display: grid;
  gap: 10px;
}

.assist-capability-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface);
}

.assist-capability-card .material-symbols-outlined {
  font-size: 20px;
  line-height: 20px;
  color: var(--wb-primary);
}

.assist-capability-card strong {
  display: block;
  margin-bottom: 4px;
}

.assist-capability-card p {
  margin: 0;
  color: var(--wb-muted);
}

.assist-suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.assist-suggestion-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface-muted);
  color: var(--wb-text);
  cursor: pointer;
}

.assist-suggestion-chip:hover {
  border-color: var(--wb-selection-border);
  background: var(--wb-surface-selected);
}

.assist-followup-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.assist-request-summary {
  padding: 12px 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 14px;
  background: var(--wb-surface-muted);
  margin-bottom: 16px;
}

.assist-request-summary strong {
  display: block;
  margin-bottom: 6px;
}

.assist-request-summary p {
  margin: 0;
  color: var(--wb-muted);
}

.assist-progress {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.assist-progress h3 {
  margin: 0 0 6px;
}

.assist-progress p {
  margin: 0;
  color: var(--wb-muted);
}

.assist-progress__spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #d9e5fb;
  border-top-color: var(--wb-primary);
  border-radius: 999px;
  animation: wb-spin 1s linear infinite;
}

.notification-item {
  align-items: flex-start;
}

.wb-sidepanel {
  border-left: 1px solid var(--wb-outline);
  border-right: none;
  padding: 18px 16px;
}

.wb-sidepanel--hidden {
  width: 0;
  min-width: 0;
  padding: 0;
  border-left: none;
  overflow: hidden;
}

.wb-sidepanel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.wb-sidepanel__body {
  display: grid;
  gap: 12px;
}

.wb-modal-root {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.wb-modal-root:empty {
  display: none;
}

.wb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.wb-modal {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 128px);
  overflow: auto;
  border: 1px solid var(--wb-outline);
  border-radius: 18px;
  background: var(--wb-surface);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  pointer-events: auto;
}

.wb-modal--env {
  width: min(920px, calc(100vw - 40px));
}

.wb-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 0;
}

.wb-modal__body {
  padding: 16px 20px 20px;
}

.wb-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
}

.wb-modal__header--env {
  padding-bottom: 8px;
}

.wb-modal__body--env {
  padding-top: 0;
}

.wb-env-picker__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wb-env-picker__header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wb-env-picker__link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wb-accent-strong);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: color 120ms ease, opacity 120ms ease;
}

.wb-env-picker__link-button:hover {
  color: var(--wb-accent-strong);
  opacity: 0.92;
}

.wb-env-picker__link-button:focus-visible {
  outline: 2px solid rgba(26, 115, 232, 0.3);
  outline-offset: 4px;
  border-radius: 8px;
}

.wb-env-picker__menu-anchor {
  position: relative;
}

.wb-env-picker__org-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--wb-outline);
  border-radius: 12px;
  background: var(--wb-surface);
  color: var(--wb-text);
  cursor: pointer;
}

.wb-field--env-search {
  margin-bottom: 14px;
}

.wb-field--env-search input {
  height: 36px;
  border-radius: 12px;
}

.wb-subnav--env {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--wb-outline);
}

.table-shell--env {
  overflow: visible;
}

.wb-resource-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-resource-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wb-primary-strong);
  cursor: pointer;
  font: inherit;
}

.wb-icon-button--ghost {
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 12px;
}

.wb-icon-button--starred {
  color: var(--wb-warning);
}

.wb-table__icon-col {
  width: 42px;
  text-align: center;
}

.wb-table__row--selected {
  background: var(--wb-selection-bg);
}

.observation-list {
  display: grid;
  gap: 12px;
}

.observation-card strong {
  display: block;
  margin: 8px 0 4px;
}

.observation-card p {
  margin: 0;
  color: var(--wb-muted);
}

@keyframes wb-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.mono-label {
  font-family: "Roboto Mono", monospace;
}

.search-answer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.search-answer h3 {
  margin-bottom: 8px;
}

.search-answer p {
  color: var(--wb-muted);
  margin-top: 0;
}

.command-list {
  display: grid;
  gap: 10px;
}

.command-list button {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--wb-outline);
  background: var(--wb-surface);
  color: var(--wb-text);
  cursor: pointer;
}

.command-list button:hover {
  background: var(--wb-interactive-hover);
  border-color: var(--wb-selection-border);
}

.wb-nav-collapsed .wb-context-panel {
  display: none;
}

.wb-nav-collapsed .wb-body {
  grid-template-columns: var(--wb-rail-width) minmax(0, 1fr);
}

.wb-nav-collapsed.wb-sidepanel-open .wb-body {
  grid-template-columns: var(--wb-rail-width) minmax(0, 1fr) var(--wb-sidepanel-width);
}

.wb-nav-collapsed .wb-main {
  grid-column: 2;
}

.wb-nav-collapsed .wb-sidepanel {
  grid-column: 3;
}

.wb-nav-collapsed .wb-page-frame__header,
.wb-nav-collapsed .wb-page-frame__body {
  width: min(100%, 1720px);
}

body.wb-section-panel-hidden .wb-page-frame__header,
body.wb-section-panel-hidden .wb-page-frame__body {
  width: min(100%, 1720px);
}

@media (max-width: 1439px) {
  .wb-topbar {
    grid-template-columns: minmax(260px, 520px) minmax(160px, 1fr) auto;
  }

  .wb-body {
    grid-template-columns: var(--wb-rail-width) 252px minmax(0, 1fr);
  }

  .wb-sidepanel-open .wb-body {
    grid-template-columns: var(--wb-rail-width) 252px minmax(0, 1fr) 344px;
  }
}

@media (max-width: 1279px) {
  .wb-context-panel {
    display: none;
  }

  .wb-body,
  .wb-sidepanel-open .wb-body {
    grid-template-columns: var(--wb-rail-width) minmax(0, 1fr);
  }

  .wb-topbar {
    grid-template-columns: minmax(220px, 420px) minmax(140px, 1fr) auto;
  }

  .content-grid--landing,
  .content-grid--queue,
  .content-grid--search,
  .content-grid--schedule-preview,
  .content-grid--report,
  .content-grid--measure,
  .content-grid--admin,
  .content-grid--timeline,
  .content-grid--lineage,
  .content-grid--understand,
  .content-grid--doctor,
  .content-grid--assist,
  .content-grid--configure-primary,
  .content-grid--config-browser,
  .content-grid--config-family-detail,
  .content-grid--onboard-status,
  .content-grid--onboard-setup,
  .content-grid--onboard-workflow,
  .content-grid--onboard-detail,
  .content-grid--onboard-readiness,
  .content-grid--onboard-inputs,
  .content-grid--admin-billing,
  .content-grid--wizard,
  .content-grid--approval,
  .content-grid--compare,
  .content-grid--resource-detail,
  .content-grid--components,
  .content-grid--templates {
    grid-template-columns: 1fr;
  }

  .lineage-strip,
  .impact-strip,
  .compare-band,
  .workflow-frame,
  .workflow-frame__content-body,
  .kv-list--three-up,
  .mini-grid--3,
  .quote-grid,
  .configure-grid,
  .form-grid,
  .landing-lane,
  .publication-rail,
  .event-grid,
  .explanation-layout {
    grid-template-columns: 1fr;
  }

  .workflow-frame__nav {
    border-right: 0;
    border-bottom: 1px solid var(--wb-outline);
  }

  .workflow-frame__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1023px) {
  .wb-topbar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 12px 16px;
  }

  .wb-app {
    grid-template-rows: auto auto 1fr;
  }

  .wb-context-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

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

  .wb-context-summary {
    justify-items: start;
  }

  .wb-page-frame__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .wb-topbar__left,
  .wb-topbar__right {
    flex-wrap: wrap;
  }

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

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

  .detail-summary-item--wide,
  .config-set-context-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .wb-body {
    grid-template-columns: 1fr;
  }

  .wb-rail {
    display: none;
  }

  .wb-main {
    padding: 12px;
  }

  .table-toolbar {
    grid-template-columns: 1fr;
  }

  .wb-page-heading h1 {
    font-size: 20px;
    line-height: 28px;
  }
}
