/* Generated by scripts/build-workbench.py; scoped to the operations view. */
#operations-workbench {
  height: 100%;
  min-height: 0;
  --accent-line: #6b82ff;
}
#operations-workbench[hidden] { display: none; }
:where(#operations-workbench) .dashboard {
      height: 100%;
      overflow-y: auto;
      padding: 24px 28px 32px;
    }
:where(#operations-workbench) .dashboard::-webkit-scrollbar {
      width: 5px;
    }
:where(#operations-workbench) .dashboard::-webkit-scrollbar-thumb {
      border-radius: 3px;
      background: var(--rule);
    }
:where(#operations-workbench) .page-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
    }
:where(#operations-workbench) .page-title {
      color: var(--ink-strong);
      font-size: 22px;
      font-weight: 700;
      line-height: 30px;
    }
:where(#operations-workbench) .page-subtitle {
      margin-top: 4px;
      color: var(--muted);
      font-size: 13px;
    }
:where(#operations-workbench) .period-tabs,
:where(#operations-workbench) .model-tabs {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      border: 1px solid var(--rule-soft);
      background: var(--surface-soft);
    }
:where(#operations-workbench) .period-tabs {
      height: 36px;
      flex: 0 0 auto;
      border-radius: 10px;
      padding: 3px;
    }
:where(#operations-workbench) .model-tabs {
      height: 38px;
      border-radius: 10px;
      padding: 3px;
    }
:where(#operations-workbench) .tab {
      display: inline-flex;
      height: 100%;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: 0;
      border-radius: 7px;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font-weight: 500;
      white-space: nowrap;
      transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
    }
:where(#operations-workbench) .period-tabs .tab {
      min-width: 48px;
      padding: 0 14px;
    }
:where(#operations-workbench) .model-tabs .tab {
      min-width: 108px;
      padding: 0 16px;
    }
:where(#operations-workbench) .tab:hover {
      color: var(--ink);
    }
:where(#operations-workbench) .tab[data-state="active"] {
      background: var(--surface);
      color: var(--accent-strong);
      box-shadow: var(--shadow-card);
      font-weight: 600;
    }
:where(#operations-workbench) .tab svg {
      width: 16px;
      height: 16px;
    }
:where(#operations-workbench) .toolbar {
      display: flex;
      margin-top: 20px;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
:where(#operations-workbench) .period-note {
      color: var(--muted);
      font-size: 12px;
    }
:where(#operations-workbench) .model-summary {
      display: flex;
      margin-top: 22px;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      border-bottom: 1px solid var(--rule-soft);
      padding-bottom: 18px;
    }
:where(#operations-workbench) .model-name-row {
      display: flex;
      align-items: center;
      gap: 10px;
    }
:where(#operations-workbench) .model-name {
      color: var(--ink-strong);
      font-size: 20px;
      font-weight: 600;
      line-height: 28px;
    }
:where(#operations-workbench) .model-name a {
      color: inherit;
      text-decoration: none;
      transition: color 160ms ease;
    }
:where(#operations-workbench) .model-name a:hover {
      color: var(--accent-strong);
    }
:where(#operations-workbench) .model-name a:focus-visible {
      border-radius: 3px;
      outline: 3px solid var(--focus-ring);
      outline-offset: 2px;
    }
:where(#operations-workbench) .status-badge {
      display: inline-flex;
      height: 24px;
      align-items: center;
      gap: 6px;
      border-radius: 999px;
      background: var(--success-soft);
      padding: 0 9px;
      color: var(--success);
      font-size: 12px;
      font-weight: 600;
    }
:where(#operations-workbench) .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--success);
    }
:where(#operations-workbench) .model-meta {
      display: flex;
      margin-top: 6px;
      flex-wrap: wrap;
      align-items: center;
      gap: 0;
      color: var(--muted);
      font-size: 13px;
    }
:where(#operations-workbench) .model-meta span + span::before {
      content: "";
      display: inline-block;
      width: 1px;
      height: 12px;
      margin: 0 10px;
      vertical-align: -2px;
      background: var(--rule);
    }
:where(#operations-workbench) .updated-at {
      color: var(--faint);
      font-size: 12px;
      white-space: nowrap;
    }
:where(#operations-workbench) .metric-section {
      margin-top: 22px;
    }
:where(#operations-workbench) .section-heading {
      display: flex;
      margin-bottom: 10px;
      align-items: center;
      justify-content: space-between;
    }
:where(#operations-workbench) .section-title {
      color: var(--ink-strong);
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
    }
:where(#operations-workbench) .section-caption {
      color: var(--faint);
      font-size: 12px;
    }
:where(#operations-workbench) .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }
:where(#operations-workbench) .metric-card {
      position: relative;
      min-width: 0;
      height: 150px;
      overflow: hidden;
      border: 1px solid var(--rule-soft);
      border-radius: 12px;
      background: var(--surface);
      box-shadow: var(--shadow-card);
      transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }
:where(#operations-workbench) .metric-card-head {
      display: flex;
      position: relative;
      z-index: 2;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 15px 15px 0;
    }
:where(#operations-workbench) .metric-name {
      display: flex;
      min-width: 0;
      align-items: center;
      gap: 5px;
      border-radius: 6px;
      color: var(--ink);
      cursor: help;
      font-size: 13px;
      font-weight: 600;
      line-height: 20px;
      transition: color 160ms ease;
    }
:where(#operations-workbench) .metric-name:hover,
:where(#operations-workbench) .metric-name:focus-within {
      color: var(--accent-strong);
    }
:where(#operations-workbench) .metric-name span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
:where(#operations-workbench) .info-icon {
      display: inline-flex;
      width: 16px;
      height: 16px;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      border: 0;
      border-radius: 50%;
      background: var(--surface-soft);
      color: var(--muted);
      cursor: help;
      font-size: 10px;
      font-weight: 700;
    }
:where(#operations-workbench) .metric-value {
      flex: 0 0 auto;
      color: var(--ink-strong);
      font-size: 17px;
      font-weight: 700;
      line-height: 22px;
      white-space: nowrap;
    }
:where(#operations-workbench) .metric-chart {
      width: 100%;
      height: 102px;
      margin-top: -2px;
      transition: opacity 160ms ease;
    }
:where(#operations-workbench) .metric-explanation {
      position: absolute;
      z-index: 5;
      right: 12px;
      bottom: 12px;
      left: 12px;
      min-height: 70px;
      border: 1px solid var(--rule);
      border-radius: 9px;
      background: var(--surface);
      box-shadow: var(--shadow-float);
      padding: 10px 11px;
      color: var(--muted);
      font-size: 12px;
      line-height: 18px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(5px);
      transition: opacity 160ms ease, transform 160ms ease;
    }
:where(#operations-workbench) .metric-card:has(.metric-name:hover) .metric-explanation,
:where(#operations-workbench) .metric-card:has(.metric-name:focus-within) .metric-explanation {
      opacity: 1;
      transform: translateY(0);
    }
:where(#operations-workbench) .metric-card:has(.metric-name:hover) .metric-chart,
:where(#operations-workbench) .metric-card:has(.metric-name:focus-within) .metric-chart {
      opacity: 0.16;
    }
@media (max-width: 1280px) {
:where(#operations-workbench) .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
:where(#operations-workbench) .dashboard {
        padding-right: 22px;
        padding-left: 22px;
      }
}
@media (max-width: 860px) {
:where(#operations-workbench) .dashboard {
        height: auto;
        overflow: visible;
        padding: 20px 16px 28px;
      }
:where(#operations-workbench) .page-header,
:where(#operations-workbench) .toolbar,
:where(#operations-workbench) .model-summary {
        align-items: stretch;
        flex-direction: column;
      }
:where(#operations-workbench) .period-tabs,
:where(#operations-workbench) .model-tabs {
        width: 100%;
      }
:where(#operations-workbench) .period-tabs .tab,
:where(#operations-workbench) .model-tabs .tab {
        min-width: 0;
        flex: 1;
        padding-right: 8px;
        padding-left: 8px;
      }
:where(#operations-workbench) .updated-at {
        white-space: normal;
      }
}
@media (max-width: 560px) {
:where(#operations-workbench) .metrics-grid {
        grid-template-columns: 1fr;
      }
:where(#operations-workbench) .metric-card {
        height: 156px;
      }
:where(#operations-workbench) .page-title {
        font-size: 20px;
      }
:where(#operations-workbench) .model-name {
        font-size: 18px;
      }
:where(#operations-workbench) .model-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
      }
:where(#operations-workbench) .model-meta span + span::before {
        display: none;
      }
}
:where(#operations-workbench) .page-title {
      font-size: 20px;
      font-weight: 600;
      line-height: 28px;
    }
:where(#operations-workbench) .page-subtitle {
      display: none;
    }
@media (max-width: 560px) {
:where(#operations-workbench) .page-title {
        font-size: 18px;
        line-height: 26px;
      }
}