:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-subtle: #f1f3f4;
  --surface-blue: #e8f0fe;
  --text: #202124;
  --text-soft: #3c4043;
  --muted: #5f6368;
  --border: #dadce0;
  --border-strong: #bdc1c6;
  --blue: #1a73e8;
  --blue-hover: #185abc;
  --green: #1e8e3e;
  --green-soft: #e6f4ea;
  --amber: #f9ab00;
  --amber-soft: #fef7e0;
  --red: #d93025;
  --red-soft: #fce8e6;
  --violet: #9334e6;
  --violet-soft: #f3e8fd;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
  --shadow-raised:
    0 1px 2px rgba(60, 64, 67, 0.12),
    0 4px 12px rgba(60, 64, 67, 0.08);
  --font-ui:
    "Google Sans",
    "Avenir Next",
    Avenir,
    "Helvetica Neue",
    sans-serif;
  --font-mono:
    "SFMono-Regular",
    "IBM Plex Mono",
    Menlo,
    monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

body {
  min-width: 680px;
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
}

button,
select,
input,
textarea {
  border-radius: 4px;
}

button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

::selection {
  color: var(--text);
  background: #d2e3fc;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  grid-template-rows: 56px minmax(0, 1fr);
  grid-template-areas:
    "topbar topbar"
    "sidebar workspace";
  opacity: 1;
}

.topbar {
  grid-area: topbar;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 5;
}

.brand {
  min-width: 205px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, #4285f4 0 48%, #1a73e8 48% 100%);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-weight: 600;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.project-selector {
  height: 36px;
  min-width: 220px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.project-selector:hover {
  background: var(--surface-subtle);
}

.project-selector span {
  color: var(--muted);
  font-size: 0.72rem;
}

.project-selector strong {
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-selector .icon {
  width: 14px;
  transform: rotate(90deg);
}

.topbar-spacer {
  flex: 1;
}

.header-telemetry,
.header-actions,
.card-actions,
.row-actions,
.console-toolbar,
.request-options,
.request-switches,
.privacy-note {
  display: flex;
  align-items: center;
}

.header-telemetry {
  gap: 8px;
}

.header-stat {
  min-width: 78px;
  display: grid;
  gap: 1px;
  padding: 0 12px;
  border-right: 1px solid var(--border);
}

.header-stat span {
  color: var(--muted);
  font-size: 0.66rem;
}

.header-stat strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.signal-pill,
.status-badge,
.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.signal-pill {
  height: 32px;
  padding: 0 11px;
  color: var(--text-soft);
  background: var(--surface-subtle);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 600;
}

.signal-dot,
.status-badge i,
.console-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.signal-pill[data-phase="ready"] {
  color: #137333;
  background: var(--green-soft);
}

.signal-pill[data-phase="ready"] .signal-dot {
  background: var(--green);
}

.signal-pill[data-phase="attention"],
.signal-pill[data-phase="error"] {
  color: #a50e0e;
  background: var(--red-soft);
}

.signal-pill[data-phase="attention"] .signal-dot,
.signal-pill[data-phase="error"] .signal-dot {
  background: var(--red);
}

.icon-button,
.text-button,
.primary-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.icon-button {
  width: 36px;
  padding: 0;
  border-color: var(--border);
  background: var(--surface);
}

.icon-button:hover {
  background: var(--surface-subtle);
}

.text-button {
  padding: 0 12px;
  border-color: var(--border);
  color: var(--blue);
  background: var(--surface);
}

.text-button:hover {
  border-color: #aecbfa;
  background: #f6fafe;
}

.primary-button {
  padding: 0 14px;
  color: #fff;
  background: var(--blue);
}

.primary-button:hover {
  background: var(--blue-hover);
  box-shadow: 0 1px 2px rgba(26, 115, 232, 0.28);
}

.primary-button:disabled,
.text-button:disabled,
.icon-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.danger-button {
  color: var(--red);
}

.danger-button:hover {
  border-color: #f6aea9;
  background: var(--red-soft);
}

.sidebar {
  grid-area: sidebar;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 12px 14px;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.app-nav {
  display: grid;
  gap: 4px;
}

.nav-label {
  padding: 4px 12px 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-item {
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border: 0;
  border-radius: 0 24px 24px 0;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.nav-item:hover {
  background: var(--surface-subtle);
}

.nav-item.is-active {
  color: #174ea6;
  background: var(--surface-blue);
}

.nav-item > span,
.nav-item strong,
.nav-item small {
  min-width: 0;
  display: block;
}

.nav-item strong {
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-item small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item.is-active small {
  color: #3c6bb0;
}

.sidebar-spacer {
  flex: 1;
}

.endpoint-block {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.endpoint-block > div,
.endpoint-block p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.endpoint-block > div span,
.endpoint-block p span {
  color: var(--muted);
  font-size: 0.67rem;
}

.endpoint-block > div .icon {
  width: 14px;
  color: var(--green);
}

.endpoint-block button {
  min-width: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.endpoint-block code {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint-block button .icon {
  width: 14px;
  color: var(--blue);
}

.endpoint-block p {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.endpoint-block p strong {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace {
  grid-area: workspace;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr);
  overflow: hidden;
  background: var(--bg);
}

.app-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.view-heading {
  display: grid;
  gap: 3px;
}

.view-heading span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.view-heading strong {
  font-size: 1.28rem;
  font-weight: 500;
}

.header-actions {
  gap: 8px;
}

.view-stack {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.view-panel {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}

.view-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.overview-layout,
.models-layout {
  width: min(1460px, 100%);
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 18px;
  margin: 0 auto;
}

.console-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.card-header > div {
  min-width: 0;
}

.card-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.card-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.card-header h2,
.page-intro h1 {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.card-header h2 {
  font-size: 1rem;
}

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

.metric-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.metric-icon-blue {
  color: var(--blue);
  background: var(--surface-blue);
}

.metric-icon-green {
  color: var(--green);
  background: var(--green-soft);
}

.metric-icon-amber {
  color: #b06000;
  background: var(--amber-soft);
}

.metric-icon-violet {
  color: var(--violet);
  background: var(--violet-soft);
}

.metric-card > div:last-child {
  min-width: 0;
  display: grid;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.68rem;
}

.metric-card strong {
  margin-top: 3px;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.05;
}

.metric-card strong em {
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.metric-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.64rem;
}

.usage-card {
  overflow: hidden;
}

.usage-status-badge {
  min-height: 26px;
  padding: 0 10px;
  color: #174ea6;
  background: var(--surface-blue);
  font-size: 0.64rem;
  font-weight: 600;
}

.usage-status-badge i {
  background: var(--blue);
}

.usage-status-badge[data-active="true"] {
  color: #137333;
  background: var(--green-soft);
}

.usage-status-badge[data-active="true"] i {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(30, 142, 62, 0.12);
}

.usage-period-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.usage-period {
  position: relative;
  min-width: 0;
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px 20px;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.usage-period:last-child {
  border-right: 0;
}

.usage-period::before {
  position: absolute;
  top: 0;
  left: 20px;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--usage-accent);
  content: "";
}

.usage-period-blue {
  --usage-accent: var(--blue);
}

.usage-period-green {
  --usage-accent: var(--green);
}

.usage-period-amber {
  --usage-accent: #b06000;
}

.usage-period-slate {
  --usage-accent: #5f6368;
}

.usage-period > span {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.usage-period strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usage-period small {
  color: var(--muted);
  font-size: 0.65rem;
}

.usage-run-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  line-height: 1.35;
}

.usage-run-counts span {
  white-space: nowrap;
}

.usage-period small b {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-weight: 600;
}

.usage-note {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg);
  font-size: 0.64rem;
  line-height: 1.45;
}

.usage-note .icon {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.usage-note b {
  color: var(--text-soft);
  font-weight: 600;
}

.overview-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 18px;
}

.status-badge {
  min-height: 26px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--surface-subtle);
  font-size: 0.64rem;
  font-weight: 600;
}

.status-badge-live {
  color: #137333;
  background: var(--green-soft);
}

.status-badge-live i {
  background: var(--green);
}

.health-summary {
  min-height: 190px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px;
}

.health-symbol {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background:
    radial-gradient(circle, #fff 44%, transparent 45%),
    conic-gradient(var(--blue) 0 72%, #d2e3fc 72% 100%);
}

.health-symbol .icon {
  width: 30px;
  height: 30px;
}

.health-summary > div:last-child {
  min-width: 0;
}

.health-summary span {
  color: var(--muted);
  font-size: 0.68rem;
}

.health-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 1.3rem;
  font-weight: 500;
}

.health-summary p {
  max-width: 72ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.card-actions {
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.resource-list {
  margin: 0;
  padding: 8px 18px 14px;
}

.resource-list div {
  min-height: 43px;
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}

.resource-list div:last-child {
  border-bottom: 0;
}

.resource-list dt {
  color: var(--muted);
  font-size: 0.7rem;
}

.resource-list dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-list dd[data-paused="true"] {
  color: #b3261e;
  font-weight: 600;
}

.quick-routes {
  overflow: hidden;
}

.quick-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-route-grid button {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  border-right: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.quick-route-grid button:last-child {
  border-right: 0;
}

.quick-route-grid button:hover {
  background: #f6fafe;
}

.model-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #174ea6;
  background: var(--surface-blue);
  font-size: 0.68rem;
  font-weight: 700;
}

.quick-route-grid button > span:nth-child(2),
.quick-route-grid strong,
.quick-route-grid small {
  min-width: 0;
  display: block;
}

.quick-route-grid strong {
  overflow: hidden;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-route-grid small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
}

.quick-route-grid button > .icon {
  width: 16px;
  color: var(--muted);
}

.page-intro {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-intro h1 {
  font-size: 1.45rem;
}

.page-intro p {
  max-width: 78ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.model-table-card {
  overflow: auto;
}

.model-table-head,
.model-table-row {
  min-width: 1040px;
  display: grid;
  grid-template-columns:
    minmax(190px, 1.2fr)
    minmax(180px, 1.15fr)
    minmax(150px, 1fr)
    90px
    120px
    130px;
  gap: 16px;
  align-items: center;
}

.model-table-head {
  min-height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.model-table-row {
  min-height: 72px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
}

.model-table-row:last-child {
  border-bottom: 0;
}

.model-table-row:hover {
  background: #f8fbff;
}

.model-table-row code {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-name {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.model-name > b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #174ea6;
  background: var(--surface-blue);
  font-size: 0.66rem;
}

.model-name strong,
.model-name small {
  display: block;
}

.model-name strong {
  font-size: 0.74rem;
}

.model-name small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.63rem;
}

.mode-chip {
  justify-self: start;
  min-height: 24px;
  padding: 0 9px;
  color: #137333;
  background: var(--green-soft);
  font-size: 0.62rem;
  font-weight: 600;
}

.mode-chip-blue {
  color: #174ea6;
  background: var(--surface-blue);
}

.row-actions {
  justify-content: flex-end;
  gap: 4px;
}

.row-actions button {
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
}

.row-actions button:hover {
  background: var(--surface-blue);
}

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

.proof-grid article {
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.proof-grid b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #174ea6;
  background: var(--surface-blue);
  font-size: 0.68rem;
}

.proof-grid strong,
.proof-grid small {
  display: block;
}

.proof-grid strong {
  font-size: 0.7rem;
}

.proof-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.62rem;
}

.lab-layout {
  width: min(1500px, 100%);
  height: 100%;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(520px, 1.25fr);
  gap: 18px;
  margin: 0 auto;
}

.request-editor,
.console-pane {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.request-editor {
  display: grid;
  grid-template-rows: auto auto minmax(160px, 1fr) auto auto auto;
  gap: 14px;
  padding-bottom: 16px;
}

.request-editor > :not(.card-header) {
  margin-right: 18px;
  margin-left: 18px;
}

.field {
  min-width: 0;
  min-height: 0;
  display: grid;
  gap: 7px;
}

.field > span,
.history-toolbar label > span,
.binding-field > span {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 600;
}

.field select,
.field textarea,
.history-toolbar input,
.history-toolbar select,
.binding-field input {
  width: 100%;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
}

.field select,
.history-toolbar input,
.history-toolbar select,
.binding-field input {
  height: 40px;
  padding: 0 11px;
}

.field select,
.binding-field input {
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.prompt-field {
  grid-template-rows: auto minmax(0, 1fr);
}

.field textarea {
  min-height: 0;
  resize: none;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  line-height: 1.65;
}

.attachment-workbench {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
  background: var(--bg);
  transition:
    border-color 0.15s,
    background 0.15s;
}

.attachment-workbench.is-dragging {
  border-color: var(--blue);
  background: var(--surface-blue);
}

.attachment-trigger {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.attachment-trigger > .icon {
  color: var(--blue);
}

.attachment-trigger strong,
.attachment-trigger small {
  display: block;
}

.attachment-trigger strong {
  font-size: 0.7rem;
}

.attachment-trigger small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.62rem;
}

.attachment-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.63rem;
}

.attachment-counter strong {
  color: var(--text);
  font-size: 0.86rem;
}

.attachment-list {
  min-width: 0;
  height: 42px;
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
}

.attachment-workbench.has-files .attachment-list {
  display: flex;
}

.attachment-chip {
  max-width: 220px;
  height: 29px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 0 3px 0 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.attachment-chip > .icon {
  width: 13px;
  color: var(--blue);
}

.attachment-chip > span,
.attachment-chip strong,
.attachment-chip small {
  min-width: 0;
  display: block;
}

.attachment-chip strong {
  overflow: hidden;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-chip small {
  color: var(--muted);
  font-size: 0.55rem;
}

.attachment-chip button {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.attachment-chip button:hover {
  color: var(--red);
  background: var(--red-soft);
}

.attachment-chip button .icon {
  width: 12px;
}

.request-options {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.64rem;
}

.request-switches {
  gap: 16px;
}

.switch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch-track {
  width: 34px;
  height: 18px;
  padding: 2px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background 0.18s;
}

.switch-track i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.35);
  transition: transform 0.18s;
}

.switch input:checked + .switch-track {
  background: var(--blue);
}

.switch input:checked + .switch-track i {
  transform: translateX(16px);
}

.send-action {
  width: calc(100% - 36px);
  justify-content: flex-start;
}

.send-action span {
  margin-right: auto;
}

.send-action kbd {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.console-pane {
  display: grid;
  grid-template-rows: 50px minmax(0, 1fr);
}

.console-toolbar {
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}

.console-tabs,
.code-tabs,
.history-tabs {
  display: flex;
  align-items: center;
}

.console-tabs {
  align-self: stretch;
}

.console-tabs button,
.code-tabs button,
.history-tabs button {
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
}

.console-tabs button {
  position: relative;
  height: 100%;
  padding: 0 13px;
}

.console-tabs button.is-active {
  color: var(--blue);
}

.console-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: var(--blue);
}

.console-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.64rem;
}

.console-status i {
  background: var(--green);
}

.console-view {
  position: relative;
  min-width: 0;
  min-height: 0;
  grid-row: 2;
  grid-column: 1;
  display: none;
  overflow: hidden;
}

.console-view.is-active {
  display: grid;
}

.console-view[data-console-view="output"],
.reasoning-view.is-active {
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 16px 18px;
}

.output-meta,
.reasoning-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.output-meta strong,
.reasoning-meta strong {
  margin-left: 4px;
  color: var(--text);
}

#lab-output,
#lab-reasoning {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 16px 2px;
  overflow: auto;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.console-copy {
  justify-self: start;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  color: var(--blue);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 600;
}

.output-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50px;
  opacity: 0;
  background: linear-gradient(
    transparent,
    rgba(26, 115, 232, 0.06),
    transparent
  );
  pointer-events: none;
}

.console-pane.is-running .output-scan {
  opacity: 1;
  animation: output-scan 2s linear infinite;
}

@keyframes output-scan {
  from {
    transform: translateY(-60px);
  }
  to {
    transform: translateY(620px);
  }
}

.code-view.is-active {
  grid-template-rows: 42px minmax(0, 1fr) auto;
  padding: 0 18px 16px;
}

.code-tabs {
  border-bottom: 1px solid var(--border);
}

.code-tabs button {
  height: 42px;
  padding: 0 13px;
}

.code-tabs button.is-active,
.history-tabs button.is-active {
  color: var(--blue);
  background: var(--surface-blue);
}

.code-view pre {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 16px 2px;
  overflow: auto;
}

.code-view code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.65;
}

.trace-layout {
  width: min(1600px, 100%);
  height: 100%;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  grid-template-rows: minmax(440px, 1fr) 230px;
  gap: 16px;
  margin: 0 auto;
}

.history-pane,
.history-detail,
.log-pane {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.history-pane {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 40px minmax(0, 1fr);
}

.history-total {
  color: var(--muted);
  font-size: 0.68rem;
}

.history-total strong {
  color: var(--text);
}

.history-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 36px auto;
  align-items: end;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.history-toolbar label {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.history-toolbar input,
.history-toolbar select {
  min-width: 0;
  font-size: 0.7rem;
}

.history-table-head,
.trace-row {
  min-width: 0;
  display: grid;
  grid-template-columns:
    60px
    78px
    100px
    minmax(100px, 0.85fr)
    60px
    minmax(140px, 1.15fr);
  gap: 8px;
  align-items: center;
}

.history-table-head {
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.trace-rows {
  min-height: 0;
  overflow: auto;
}

.trace-row {
  width: 100%;
  min-height: 58px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.trace-row:hover,
.trace-row.is-selected {
  background: #f6fafe;
}

.trace-row.is-selected {
  box-shadow: inset 3px 0 0 var(--blue);
}

.trace-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trace-preview {
  color: var(--muted);
}

.history-status {
  justify-self: start;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-radius: 999px;
  color: #137333;
  background: var(--green-soft);
  font-family: var(--font-ui);
  font-size: 0.61rem;
  font-weight: 600;
}

.history-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.history-status[data-status="failed"],
.history-status[data-status="cancelled"] {
  color: #a50e0e;
  background: var(--red-soft);
}

.history-status[data-status="queued"],
.history-status[data-status="in_progress"] {
  color: #b06000;
  background: var(--amber-soft);
}

.trace-empty {
  padding: 38px 18px;
  color: var(--muted);
  font-size: 0.72rem;
}

.history-detail {
  position: relative;
  display: grid;
}

.history-detail-empty {
  align-self: center;
  justify-self: center;
  max-width: 300px;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.history-detail-empty[hidden] {
  display: none;
}

.history-detail-empty > .icon {
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.history-detail-empty strong {
  color: var(--text);
  font-size: 0.88rem;
}

.history-detail-empty p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.55;
}

.history-detail-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto 40px minmax(0, 1fr) auto;
}

.history-detail-content[hidden] {
  display: none;
}

.history-detail-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.history-detail-header > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.history-detail-header span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.history-detail-header strong {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.history-detail-meta div {
  min-width: 0;
}

.history-detail-meta dt {
  color: var(--muted);
  font-size: 0.58rem;
}

.history-detail-meta dd {
  margin: 3px 0 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-tabs {
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
}

.history-tabs button {
  height: 30px;
  padding: 0 10px;
}

#history-detail-body {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 15px 16px;
  overflow: auto;
  color: var(--text);
  background: #fbfcfe;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.history-detail-content footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
}

.log-pane {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.privacy-note {
  gap: 7px;
  color: var(--muted);
  font-size: 0.63rem;
}

.privacy-note .icon {
  width: 14px;
  color: var(--green);
}

.log-lines {
  min-height: 0;
  overflow: auto;
  padding: 12px 16px;
  background: #202124;
}

.log-lines p {
  display: grid;
  grid-template-columns: 74px 48px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 8px;
  color: #e8eaed;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.45;
}

.log-lines time {
  color: #9aa0a6;
}

.log-lines span {
  color: #8ab4f8;
}

.log-lines b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 400;
}

.log-lines p.is-error span {
  color: #f28b82;
}

.binding-dialog {
  width: min(720px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  background: transparent;
  box-shadow: 0 12px 36px rgba(60, 64, 67, 0.28);
}

.binding-dialog::backdrop {
  background: rgba(32, 33, 36, 0.42);
}

.binding-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface);
}

.binding-panel > header {
  grid-column: 1 / -1;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.binding-panel > header span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.binding-panel > header h2 {
  margin: 4px 0 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.binding-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 18px;
  color: #174ea6;
  background: var(--surface-blue);
}

.binding-summary span {
  font-size: 0.65rem;
  font-weight: 600;
}

.binding-summary strong {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.binding-summary small {
  margin-top: auto;
  color: #3c6bb0;
  font-size: 0.66rem;
  line-height: 1.55;
}

.binding-editor {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.runtime-settings-summary[data-paused="true"] {
  color: #8c1d18;
  background: #fce8e6;
}

.runtime-settings-summary[data-paused="true"] small {
  color: #a23a33;
}

.runtime-settings-note {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}

.runtime-settings-note strong {
  font-size: 0.72rem;
  font-weight: 600;
}

.runtime-settings-note small {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

.binding-field-grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
}

.binding-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.binding-headless {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
}

.binding-headless > span:first-child {
  min-width: 0;
}

.binding-headless strong,
.binding-headless small {
  display: block;
}

.binding-headless strong {
  font-size: 0.72rem;
}

.binding-headless small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.63rem;
}

.binding-headless > input {
  position: absolute;
  opacity: 0;
}

.binding-toggle-track {
  position: relative;
  width: 38px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background 0.18s;
}

.binding-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
  transition: transform 0.18s;
}

.binding-headless > input:checked + .binding-toggle-track {
  background: var(--blue);
}

.binding-headless > input:checked + .binding-toggle-track::after {
  transform: translateX(16px);
}

.binding-rule {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 6px;
  color: #b06000;
  background: var(--amber-soft);
  font-size: 0.66rem;
}

.binding-rule .icon {
  width: 15px;
}

.binding-panel > footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.runtime-settings-footer .runtime-resume-button {
  margin-right: auto;
  color: #137333;
}

.runtime-settings-footer .runtime-resume-button[hidden] {
  display: none;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 6px;
  color: #fff;
  background: #323232;
  box-shadow: var(--shadow-raised);
  font-size: 0.72rem;
  transform: translateY(calc(100% + 36px));
  transition: transform 0.25s ease;
}

.toast.is-visible {
  transform: none;
}

.toast[data-tone="success"] {
  background: #137333;
}

.toast[data-tone="error"] {
  background: #a50e0e;
}

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

  .overview-main {
    grid-template-columns: 1fr;
  }

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

  .usage-period:nth-child(2) {
    border-right: 0;
  }

  .usage-period:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .quick-route-grid {
    grid-template-columns: 1fr;
  }

  .quick-route-grid button {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .quick-route-grid button:last-child {
    border-bottom: 0;
  }

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

  .lab-layout {
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  }

  .trace-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .brand {
    min-width: auto;
  }

  .brand-copy,
  .project-selector {
    display: none;
  }

  .sidebar {
    padding-right: 7px;
    padding-left: 7px;
  }

  .nav-label,
  .nav-item small,
  .endpoint-block {
    display: none;
  }

  .nav-item {
    min-height: 50px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 6px;
    border-radius: 8px;
  }

  .nav-item strong {
    font-size: 0.58rem;
    text-align: center;
  }

  .lab-layout,
  .trace-layout {
    height: auto;
    grid-template-columns: 1fr;
  }

  .lab-layout {
    grid-template-rows: minmax(620px, auto) minmax(620px, auto);
  }

  .trace-layout {
    grid-template-rows: 620px 620px 260px;
  }

  .history-detail,
  .log-pane {
    grid-column: 1;
  }

  .view-panel {
    overflow: auto;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow: auto;
  }

  body {
    min-width: 0;
  }

  .app-shell {
    min-height: 100dvh;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 56px 60px minmax(700px, 1fr);
    grid-template-areas:
      "topbar"
      "sidebar"
      "workspace";
  }

  .topbar {
    gap: 8px;
    padding: 0 10px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-stat,
  .topbar .signal-pill {
    display: none;
  }

  .sidebar {
    display: block;
    padding: 6px 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .app-nav {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .nav-item {
    min-height: 46px;
    grid-template-columns: 1fr;
    justify-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
  }

  .nav-item strong {
    font-size: 0.58rem;
    text-align: center;
  }

  .workspace {
    min-height: 700px;
  }

  .app-header {
    padding: 0 14px;
  }

  .view-heading span {
    display: none;
  }

  .header-actions .text-button {
    display: none;
  }

  .view-panel {
    position: absolute;
    padding: 14px;
  }

  .metric-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .usage-period-grid {
    grid-template-columns: 1fr 1fr;
  }

  .usage-period {
    min-height: 104px;
    padding: 16px;
  }

  .usage-note {
    align-items: flex-start;
  }

  .health-summary {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 18px;
  }

  .health-symbol {
    width: 54px;
    height: 54px;
  }

  .health-symbol .icon {
    width: 22px;
  }

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

  .lab-layout,
  .trace-layout {
    min-width: 0;
  }

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

  .history-toolbar .icon-button,
  .history-toolbar .danger-button {
    width: 100%;
  }

  .history-table-head,
  .trace-row {
    grid-template-columns: 58px 78px minmax(0, 1fr);
  }

  .history-table-head > :nth-child(3),
  .history-table-head > :nth-child(4),
  .history-table-head > :nth-child(5),
  .trace-row > :nth-child(3),
  .trace-row > :nth-child(4),
  .trace-row > :nth-child(5) {
    display: none;
  }

  .binding-dialog {
    width: calc(100vw - 16px);
  }

  .binding-panel {
    grid-template-columns: 1fr;
  }

  .binding-summary {
    display: none;
  }

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

  .card-header-actions {
    align-items: flex-end;
    flex-direction: column;
  }
}
