.operations-heading { align-items: center; margin-bottom: 20px; }
.operations-heading [data-operations-sample] { margin-top: 5px; font-size: 14px; font-variant-numeric: tabular-nums; }
.operations-heading button:disabled { opacity: .6; }
.operations-content { display: grid; gap: 16px; }
.operations-resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.operations-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.operations-card h2 { margin: 0; font-size: 16px; font-weight: 700; }
.operations-resource { padding: 18px; }
.operations-resource h2 { display: flex; align-items: center; gap: 9px; }
.operations-resource h2 .metric-icon { flex: 0 0 auto; width: 36px; height: 36px; }
.operations-usage { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 14px 0 7px; }
.operations-usage span { color: var(--muted); font-size: 14px; }
.operations-usage strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

.operations-meter, .operations-empty-meter {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 99px;
  background: #edf1f8;
}

.operations-meter-blue { --operations-meter-fill: var(--accent); }
.operations-meter-green { --operations-meter-fill: #288064; }
.operations-meter::-webkit-progress-bar { background: #edf1f8; }
.operations-meter::-webkit-progress-value { border-radius: 99px; background: var(--operations-meter-fill); }
.operations-meter::-moz-progress-bar { border-radius: 99px; background: var(--operations-meter-fill); }

.operations-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.operations-facts dt { color: var(--muted); font-size: 13px; }
.operations-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.operations-log h2 { padding: 16px 18px; }
.operations-table-scroll { max-height: 23rem; overflow: auto; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.operations-table-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.operations-log table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.operations-log th, .operations-log td { padding: 9px 14px; font-size: 14px; }
.operations-log th:first-child, .operations-log td:first-child { padding-left: 18px; }
.operations-log th:last-child, .operations-log td:last-child { padding-right: 18px; }
.operations-log th { position: sticky; z-index: 1; top: 0; white-space: nowrap; background: #f7f9fd; color: var(--ink-soft); font-weight: 650; }
.operations-log td { vertical-align: top; border-top: 1px solid var(--line); color: var(--ink-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.operations-log td time { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }

.operations-log-badge { display: inline-block; padding: 3px 7px; border-radius: 6px; background: #edf2ff; color: #4059a2; white-space: nowrap; font-size: 13px; font-weight: 650; }
.operations-log-badge[data-tone="success"] { background: #e5f5ef; color: #267356; }
.operations-log-badge[data-tone="warning"] { background: #fff3dd; color: #85530d; }
.operations-log-badge[data-tone="error"] { background: #fcebf0; color: #993b52; }
.operations-empty { margin: 0; padding: 16px 18px 20px; color: var(--muted); font-size: 14px; }
.operations-error { margin: 0 0 16px; padding: 10px 14px; border: 1px solid #efdce1; border-radius: 8px; background: #fff5f7; color: #993b52; font-size: 14px; }

@media (max-width: 640px) {
  .operations-resources { grid-template-columns: minmax(0, 1fr); }
  .operations-log th, .operations-log td { padding: 8px; }
  .operations-log th:first-child, .operations-log td:first-child { padding-left: 10px; }
  .operations-log th:last-child, .operations-log td:last-child { padding-right: 10px; }
  .operations-log td time { white-space: normal; }
}
