.operator-body {
  --page: #f5f6fa;
  --panel: #fff;
  --ink: #1e2740;
  --muted: #526179;
  --accent: #3937a0;
  --line: #dfe3ec;
  min-height: 100vh;
}
.operator-body :focus-visible { outline-color: #6255d9; }
.operator-body .site-header { box-shadow: 0 1px 3px #2934570a; }
.operator-body .header-row [aria-current] { font-weight: 700; }
.operator-layout {
  display: grid;
  grid-template-columns: 13.25rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3.3vw, 2.75rem);
  padding-block: clamp(1.3rem, 4vw, 3rem);
  align-items: start;
}
.operator-menu { position: sticky; top: 1.25rem; }
.operator-menu > p { font-size: .89rem; font-weight: 700; color: var(--muted); padding: .5rem .75rem; }
.operator-menu nav { display: grid; gap: .2rem; }
.operator-menu nav a {
  display: block;
  border-radius: .5rem;
  padding: .55rem .75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
}
.operator-menu nav a:hover { background: #eceef7; }
.operator-menu [aria-current="page"] { color: #343298; background: #e8e7fa; }
.operator-heading { margin-bottom: 1.5rem; }
.operator-heading h1 { font-size: clamp(1.85rem, 4vw, 2.7rem); letter-spacing: -.048em; }
.operator-heading p { margin-top: .5rem; color: var(--muted); }
.operator-content .panel { border-radius: .8rem; box-shadow: 0 2px 9px #29345707; min-width: 0; }
.operator-content .panel h2 { letter-spacing: -.02em; }
.operator-metrics, .operator-overview-grid, .operator-integration-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.operator-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; margin-bottom: 1rem; }
.operator-content .operator-metric { display: grid; align-content: start; gap: .3rem; padding: 1rem; }
.operator-metric p { color: var(--muted); font-size: .86rem; line-height: 1.35; min-height: 2.7em; font-weight: 600; }
.operator-metric strong { font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.operator-overview-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.operator-integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.operator-summary { display: grid; gap: .7rem; margin: 0; }
.operator-summary > div { border-top: 1px solid var(--line); padding-top: .65rem; overflow-wrap: anywhere; }
.operator-summary dt, .operator-provider .section-heading p { color: var(--muted); font-size: .9rem; }
.operator-summary dd { margin: 0; font-weight: 650; }
.operator-project-row small, .operator-table th[scope="row"] small { display: block; font-weight: 400; }
.operator-empty { padding: .85rem 0; color: var(--muted); border-top: 1px solid var(--line); }
.operator-content .state { font-weight: 600; background: #ebeffb; color: #343675; line-height: 1.4; white-space: normal; }
.operator-content .state-warn { background: #fbf0e2; color: #764415; }
.operator-api-status { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.operator-content .state[data-status-tone="ok"] { background: #dff5e8; color: #175a36; }
.operator-content .state[data-status-tone="error"] { background: #fbe5e4; color: #8d2d24; }
.operator-content .section-heading { flex-wrap: wrap; align-items: start; }
.operator-content select {
  min-width: 0;
  width: 100%;
  border: 1px solid #a6b0c5;
  border-radius: .45rem;
  padding: .65rem .75rem;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}
.operator-content input:not([type="checkbox"]) { border-color: #a6b0c5; }
.operator-content .operator-secondary { background: var(--panel); border-color: #a6b0c5; color: var(--accent); font-size: .88rem; }
.operator-content .operator-secondary[aria-pressed="true"] { background: #e8e7fa; border-color: var(--accent); }
.operator-toggle { display: flex; align-items: start; gap: .6rem; border-block-start: 1px solid var(--line); padding-block: .68rem .15rem; }
.operator-toggle input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--accent); flex: none; }
.operator-toggle small { display: block; font-weight: 400; margin-top: .2rem; }
.operator-test { padding-top: .7rem; border-top: 1px solid var(--line); }
.operator-search { display: flex; align-items: end; gap: .6rem; flex-wrap: wrap; }
.operator-search label { width: min(100%, 21rem); }
.operator-search a { align-self: center; }
.operator-table { overflow-x: auto; }
.operator-table table { width: 100%; border-collapse: collapse; text-align: left; }
.operator-table :is(th, td) { padding: .7rem .6rem; border-block-end: 1px solid var(--line); }
.operator-table :is(th, td):first-child { padding-inline-start: 0; overflow-wrap: anywhere; }
.operator-table thead { color: var(--muted); font-size: .85rem; }
.operator-table td { font-size: .88rem; }
.operator-table td:nth-child(3), .operator-table th:nth-child(3) { text-align: center; }
.operator-cell-label { display: none; }
.operator-pagination { display: flex; gap: .9rem; flex-wrap: wrap; }
.operator-fields { border: 0; padding: 0; min-width: 0; margin: .35rem 0 .5rem; }
.operator-fields legend { padding: 0; font-weight: 700; }
.operator-fields p { color: var(--muted); font-size: .85rem; }
.operator-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .55rem; }
.operator-theme-launch { max-width: 34rem; }
.operator-theme-launch button { justify-self: start; }
form.theme-workspace[data-theme-form] {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: 100dvh;
  gap: 0;
}
.theme-workspace-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .6rem 1rem;
  flex-wrap: wrap;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: .65rem clamp(.6rem, 2vw, 1.3rem);
}
.theme-workspace-bar h1 { font-size: 1.15rem; letter-spacing: -.02em; }
.theme-workspace-bar a { font-size: .85rem; }
.theme-workspace-bar > label { min-width: 9rem; }
.theme-workspace-bar select,
.theme-tools-panel input:not([type="checkbox"]) { border: 1px solid #a6b0c5; }
.theme-workspace-bar select {
  width: 100%;
  max-width: 100%;
  padding: .5rem .65rem;
  border-radius: .45rem;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}
.operator-theme-actions { display: flex; align-items: center; justify-content: end; gap: .65rem; flex-wrap: wrap; }
.theme-workspace-bar > .operator-theme-actions { margin-left: auto; }
.operator-theme-actions p { color: var(--muted); font-size: .88rem; }
.theme-workspace .operator-secondary, .theme-tools summary, .theme-block-tools summary, .theme-section-tools summary, .theme-page-tools summary {
  background: var(--panel);
  border: 1px solid #a6b0c5;
  color: var(--accent);
  border-radius: .48rem;
  font-weight: 650;
  font-size: .88rem;
}
.theme-workspace .operator-secondary[aria-pressed="true"] { background: #e8e7fa; }
.theme-workspace .operator-secondary:disabled { opacity: .55; cursor: default; }
.theme-tools summary, .theme-block-tools summary, .theme-section-tools summary, .theme-page-tools summary { cursor: pointer; padding: .6rem .75rem; }
.theme-tools-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(31rem, 100vw);
  max-height: min(74vh, 36rem);
  overflow: auto;
  box-shadow: 0 .6rem 2rem #1e27403b;
}
.theme-block-panel [hidden], .theme-section-panel [hidden], .theme-page-panel [hidden] { display: none; }
.theme-page-panel textarea { width: 100%; }
.theme-section-panel [data-hero-status]:empty { display: none; }
.theme-section-panel button[data-add-region-link] { margin-top: .55rem; }
.theme-link-row { border: 1px solid var(--line); border-radius: .55rem; min-width: 0; padding: .65rem; }
.theme-section-panel [data-region-fields] { min-inline-size: 0; }
.theme-section-panel input[type="file"] { max-width: 100%; }
.theme-block-panel h2 { font-size: 1rem; }
.theme-block-panel fieldset > :is(label,button,p) { margin-top: .55rem; }
.theme-block-panel [data-insert-block] { cursor: grab; }
.theme-block-panel [data-insert-block]:active { cursor: grabbing; }
.block-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.block-list li { display: flex; align-items: center; gap: .5rem .8rem; flex-wrap: wrap; }
.block-list button[aria-pressed="true"] { background: #e8e7fa; }
.operator-preview-frame { flex: 1; min-height: 15rem; background: #e9ecf3; display: flex; justify-content: center; overflow: hidden; }
.operator-preview-frame iframe { display: block; width: 100%; border: 0; background: #fff; }
.operator-preview-frame[aria-busy="true"] iframe { pointer-events: none; }
.operator-preview-mobile iframe { width: min(100%, 24rem); }
.operator-preview-status:not(:empty), .theme-workspace > .notice { padding: .55rem 1rem; margin: 0; font-size: .88rem; }
.operator-preview-status:empty { display: none; }
.operator-login { width: min(100%, 29rem); margin: clamp(2rem, 9vh, 6rem) auto 2rem; }
.operator-login h1 { font-size: clamp(1.8rem, 5vw, 2.45rem); }
.operator-login form { margin-block: .45rem .35rem; }
.operator-login > a { justify-self: start; }
.operator-body .operator-login input:not([type="checkbox"]) { border-color: #a6b0c5; }
.operator-body .header-row nav > span { font-size: .92rem; font-weight: 650; }
.engine-overview-link { padding-top: .65rem; border-top: 1px solid var(--line); }
.engine-overview-link a, .engine-toolbar a { font-weight: 650; }
.engine-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(11rem, .72fr));
  align-items: end;
  gap: .85rem;
}
.engine-filters .links { min-height: 2.65rem; }
.engine-toolbar { justify-content: space-between; margin: 1rem 0; }
.engine-toolbar p { color: var(--muted); }
.engine-toolbar strong { color: var(--ink); }
.engine-group + .engine-group { margin-top: 1rem; }
.engine-rows, .engine-paths, .engine-related, .engine-modules { margin: 0; padding: 0; list-style: none; }
.engine-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(max-content, 11rem);
  gap: .55rem 1.15rem;
  align-items: start;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
}
.engine-row:last-child { padding-bottom: .1rem; }
.engine-row h3, .engine-detail h3 { font-size: 1.03rem; }
.engine-row p, .engine-path-hint { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.engine-row .state { justify-self: end; }
.operator-content .engine-built-in { background: #e4f2eb; color: #245841; }
.operator-content .engine-config { background: #e8edfc; color: #343675; }
.operator-content .engine-verification { background: #fcf0df; color: #713e16; max-width: 11rem; }
.operator-content .engine-planned { background: #f1eaf9; color: #613c86; }
.engine-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.engine-detail p { max-width: 70ch; }
.engine-detail h2:not(:first-child), .engine-detail > .stack { margin-top: .45rem; }
.engine-paths, .engine-related { display: grid; gap: .55rem; margin-top: .55rem; }
.engine-paths li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .45rem; min-width: 0; }
.engine-paths code, .engine-modules code { display: inline-block; padding: .25rem .4rem; border-radius: .3rem; font-size: .88rem; }
.engine-paths a code { color: inherit; }
.engine-modules { display: flex; flex-wrap: wrap; gap: .35rem; }
.engine-layers { display: grid; gap: .9rem; margin: 0; padding-left: 1.55rem; }
.engine-layers li { padding-left: .25rem; }
.engine-layers h3 { margin-bottom: .2rem; }
.engine-detail .operator-summary dd { font-weight: 400; margin-top: .35rem; }
.engine-detail + .engine-group { margin-top: 1rem; }
@media (max-width: 940px) {
  .operator-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operator-overview-grid { grid-template-columns: 1fr; }
  .engine-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engine-search { grid-column: 1 / -1; }
  .engine-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .operator-layout { grid-template-columns: 1fr; gap: 1.1rem; }
  .operator-menu { position: static; }
  .operator-menu nav { display: flex; flex-wrap: wrap; }
  .operator-integration-grid { grid-template-columns: 1fr; }
  .theme-workspace-bar > .operator-theme-actions { margin-left: 0; }
  .theme-tools-panel { max-height: 57dvh; }
  .operator-table table, .operator-table tbody { display: block; }
  .operator-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .operator-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .6rem .9rem;
    padding-block: .85rem;
    border-top: 1px solid var(--line);
  }
  .operator-table :is(th, td) { padding: 0; border: 0; }
  .operator-table td:nth-child(3) { text-align: left; }
  .operator-table th[scope="row"], .operator-table .operator-account-action { grid-column: 1 / -1; }
  .operator-table .operator-account-protected { display: none; }
  .operator-cell-label { display: block; color: var(--muted); font-size: .8rem; }
  .engine-row { grid-template-columns: 1fr; }
  .engine-row .state { justify-self: start; }
  .engine-filters .links { grid-column: 1 / -1; }
}
