/* BBBS operations workbench.
   One continuous application surface, not stacked community cards.
   This file loads after community, agent and analysis styles. */

/* Base and global frame */
.operations-page {
  --ops-ink: #34364b;
  --ops-muted: #777789;
  --ops-line: #e7e3eb;
  --ops-soft: #f8f7fa;
  --ops-rail: #f5f3f8;
  --ops-accent: #594c7d;
  --ops-yellow: #f6d57b;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f3f2f5;
  color: var(--ops-ink);
}
.operations-page [hidden] { display: none !important; }
.operations-page .brand-mark img { image-rendering: pixelated; }
.operations-page .topbar { flex: none; }
.operations-page .ops-header-label {
  padding-left: 18px;
  border-left: 1px solid #ffffff42;
  color: #e9e5f0;
  font-size: .81rem;
  font-weight: 650;
}
.operations-page .ops-return { margin-left: auto; }
.operations-page .ops-return span { display: inline; }
.operations-page .ops-main {
  width: min(100%, 1460px);
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 28px 28px 44px;
}
.operations-page .ops-main > #loading,
.operations-page .ops-main > #error { margin: 14px 0; }
.operations-page #error {
  color: #9f3245;
  background: #fff0f2;
  border: 1px solid #f0cbd0;
  border-radius: 12px;
  padding: 13px 17px;
}
.operations-page #loading { color: var(--ops-muted); font-size: .88rem; }
.operations-page .login-panel {
  max-width: 450px;
  margin: 45px auto 65px;
  padding: 32px;
  border: 1px solid var(--ops-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 40px #39324510;
}
.operations-page .ops-login-mark { margin-bottom: 20px; }
.operations-page .login-panel .page-title { margin: 10px 0; }
.operations-page .login-panel > p { font-size: .84rem; line-height: 1.8; }
.operations-page #login-form { display: grid; gap: 8px; margin: 22px 0; }
.operations-page #login-form .field-label { margin-top: 5px; }
.operations-page #login-form .btn { margin-top: 16px; }
.operations-page .ops-footer { flex: none; }
.operations-page .ops-footer .footer-inner { padding-top: 20px; }
.operations-page .ops-footer .footer-bottom { border-top: 0; padding-top: 0; }

/* Integrated workspace: the navigation and the content are one unit. */
.operations-page .ops-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  min-height: 680px;
  border: 1px solid #e1dce6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 38px #32304912, 0 2px 5px #32304908;
}
.operations-page .ops-sidebar {
  min-width: 0;
  align-self: stretch;
  padding: 27px 13px 20px;
  border-right: 1px solid var(--ops-line);
  border-radius: 19px 0 0 19px;
  background: var(--ops-rail);
}
.operations-page .ops-sidebar > .eyebrow {
  display: block;
  margin-bottom: 22px;
  padding: 0 12px;
  color: #514968;
  font-size: .83rem;
  font-weight: 750;
}
.operations-page .ops-sidebar .section-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.operations-page .ops-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.operations-page .ops-nav-group-title {
  display: block;
  padding: 0 12px 9px;
  color: #9790a2;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
}
.operations-page .ops-sidebar .section-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 41px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: #5b586b;
  font-size: .86rem;
  font-weight: 550;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
}
.operations-page .ops-sidebar .section-nav a .ui-icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: #8b829c;
}
.operations-page .ops-sidebar .section-nav a:hover:not([aria-current="page"]) {
  background: #ebe7f1;
  color: #423b57;
}
.operations-page .ops-sidebar .section-nav a[aria-current="page"] {
  border-color: #ecce80;
  background: #ffe8a5;
  box-shadow: inset 0 1px 0 #fff8d9;
  color: #54452b;
  font-weight: 750;
}
.operations-page .ops-sidebar .section-nav a[aria-current="page"] .ui-icon { color: #90702f; }
.operations-page .ops-sidebar .section-nav a:focus-visible { outline: 2px solid #b99e62; outline-offset: 2px; }
.operations-page .ops-sidebar-note {
  margin: 24px 12px 0;
  padding-top: 18px;
  border-top: 1px solid #e5dfeb;
  color: #9b93a3;
  font-size: .72rem;
  line-height: 1.6;
}

/* Main column shares the same white surface, without nested floating frames. */
.operations-page .ops-content {
  min-width: 0;
  width: 100%;
  padding: 0;
}
.operations-page .ops-content > .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  margin: 0;
  padding: 25px 30px 23px;
  border-bottom: 1px solid var(--ops-line);
  background: #fff;
}
.operations-page .ops-content .community-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 0;
}
.operations-page .ops-content .community-emblem {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid #f0d891;
  border-radius: 13px;
  background: #ffecb7;
  box-shadow: none;
}
.operations-page .ops-content .community-emblem .ui-icon { width: 24px; height: 24px; }
.operations-page .ops-content .community-header h1 {
  margin: 2px 0 3px;
  color: #313245;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.35;
}
.operations-page .ops-content .community-header .eyebrow {
  color: #9991a0;
  font-size: .69rem;
}
.operations-page #updated {
  margin: 0;
  color: #858390;
  font-size: .73rem;
  line-height: 1.5;
}
.operations-page .ops-content > .heading .actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 9px;
}
.operations-page .ops-content .actions .ui-icon { width: 16px; height: 16px; }
.operations-page .ops-content .btn,
.operations-page .login-panel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #dfdce5;
  border-radius: 11px;
  background: #faf9fc;
  box-shadow: none;
  color: #514d62;
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}
.operations-page .ops-content .btn:hover:not(:disabled),
.operations-page .login-panel .btn:hover:not(:disabled) { border-color: #c7bdcf; background: #f2edf6; }
.operations-page .ops-content .btn-primary,
.operations-page .login-panel .btn-primary {
  border-color: #e2c16a;
  background: #f9dd91;
  color: #514126;
}
.operations-page .ops-content .btn-primary:hover:not(:disabled),
.operations-page .login-panel .btn-primary:hover:not(:disabled) { background: #ffe7a8; border-color: #d8b65c; }
.operations-page .ops-content .btn:disabled { opacity: .5; cursor: not-allowed; }
.operations-page .ops-content > [id][hidden] { display: none !important; }
.operations-page .ops-content > .ops-panel,
.operations-page .ops-content > .metrics {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.operations-page .ops-content > .ops-panel {
  padding: 29px 30px 36px;
  border: 0;
  border-radius: 0 0 19px 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.operations-page .ops-panel > h2 {
  margin: 0 0 9px;
  color: #38364c;
  font-size: 1.1rem;
  line-height: 1.4;
}
.operations-page .ops-panel > p.muted.small {
  max-width: 870px;
  margin: 0 0 22px;
  color: #777787;
  font-size: .79rem;
  line-height: 1.8;
}
.operations-page .ops-panel > h2 + p.muted.small { margin-top: 0; }
.operations-page .ops-panel .field-label { color: #514d5f; font-size: .83rem; }
.operations-page .ops-panel .input,
.operations-page .login-panel .input {
  max-width: 100%;
  min-width: 0;
  border: 1px solid #ddd9e3;
  border-radius: 10px;
  background: #fff;
  color: #353448;
  box-shadow: none;
}
.operations-page .ops-panel .input:focus,
.operations-page .login-panel .input:focus {
  border-color: #b4a7d5;
  outline: 2px solid #e9e2f7;
  outline-offset: 0;
}
.operations-page .ops-panel textarea { resize: vertical; }
.operations-page .ops-panel .ops-editor-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 0; }
.operations-page .ops-panel .ops-editor-actions .btn { margin: 0; }

/* Summary uses aligned metrics inside the main sheet. */
.operations-page .ops-content > .metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 30px 34px;
}
.operations-page .metric {
  min-width: 0;
  min-height: 150px;
  margin: 0;
  padding: 20px;
  border: 1px solid #e8e3ec;
  border-radius: 13px;
  background: #f9f7fb;
  background-image: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.operations-page .metric:nth-child(4n+2) { background: #f5faf9; }
.operations-page .metric:nth-child(4n+3) { background: #fffaf0; }
.operations-page .metric:nth-child(4n+4) { background: #f9f6fc; }
.operations-page .metric span { display: block; color: #747285; font-size: .78rem; }
.operations-page .metric strong {
  display: block;
  margin: 12px 0 8px;
  color: #36334f;
  font-size: clamp(1.45rem, 1.9vw, 1.86rem);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.operations-page .metric small { display: block; color: #8b8797; font-size: .73rem; }

/* Standardized tables, detail lists and trend display. */
.operations-page .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ops-line);
  border-radius: 12px;
  background: #fff;
}
.operations-page table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: .8rem; }
.operations-page :is(th, td) { padding: 13px 14px; border-bottom: 1px solid #f0edf3; }
.operations-page th { background: #f7f6f9; color: #777384; font-size: .74rem; font-weight: 700; }
.operations-page td { vertical-align: middle; color: #48465a; }
.operations-page th:first-child, .operations-page td:first-child { text-align: left; }
.operations-page th:not(:first-child), .operations-page td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.operations-page tr:last-child td { border-bottom: 0; }
.operations-page :is(#reports, #users) table { min-width: 700px; }
.operations-page #user-analysis table { min-width: 780px; }
.operations-page :is(#trend, #active, #latest) table { min-width: 520px; }
.operations-page :is(#reports, #users, #latest) :is(th, td) { text-align: left; }
.operations-page :is(#reports, #users) :is(th, td):last-child { text-align: right; }
.operations-page #reports td:nth-child(4) {
  white-space: normal;
  min-width: 180px;
  max-width: 400px;
  overflow-wrap: anywhere;
  text-align: left;
}
.operations-page .data-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #ece7ef;
  font-size: .84rem;
}
.operations-page .data-row:last-child { border: 0; }
.operations-page .data-row strong { font-variant-numeric: tabular-nums; }
.operations-page .trend-bars {
  display: flex;
  align-items: end;
  gap: 18px;
  height: 135px;
  margin: 25px 0;
  border-bottom: 1px solid #d5d0dd;
}
.operations-page .bar-group { display: flex; flex: 1; height: 100%; align-items: end; gap: 4px; }
.operations-page .bar { flex: 1; min-height: 2px; border-radius: 5px 5px 0 0; background: #655881; }
.operations-page .bar.reply { background: #80b8af; }

/* Member management and sensitive actions. */
.operations-page .ops-user-search { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 23px; }
.operations-page .ops-user-search .input { flex: 1 1 270px; width: auto; max-width: 480px; min-height: 41px; }
.operations-page .ops-user-search .btn { white-space: nowrap; }
.operations-page .ops-users td:first-child { min-width: 170px; white-space: normal; overflow-wrap: anywhere; }
.operations-page .ops-user-uid { display: block; margin-top: 5px; color: var(--ops-muted); font-size: .7rem; overflow-wrap: anywhere; }
.operations-page .ops-user-editor {
  max-width: 970px;
  margin-top: 22px;
  padding: 23px 24px;
  border: 1px solid #e5e0e9;
  border-radius: 12px;
  background: var(--ops-soft);
  scroll-margin-top: 92px;
}
.operations-page .ops-editor-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.operations-page .ops-editor-heading > div { min-width: 0; }
.operations-page .ops-editor-heading h3 { margin: 0 0 8px; font-size: 1.04rem; }
.operations-page .ops-editor-heading code { display: inline-block; max-width: 100%; font-size: .72rem; overflow-wrap: anywhere; white-space: normal; }
.operations-page #report-editor .input { width: 100%; max-width: 760px; }
.operations-page #report-password-wrap { margin-top: 14px; }
.operations-page .ops-tag-group { margin: 13px 0; padding: 15px; border: 1px solid #e8e3ed; border-radius: 10px; background: #fff; }
.operations-page .ops-tag-group summary { cursor: pointer; color: #4e4a5f; font-size: .86rem; font-weight: 650; }
.operations-page .ops-tag-options { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.operations-page .ops-tag-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #e0dbe5;
  border-radius: 9px;
  background: #f8f7fa;
  font-size: .79rem;
  cursor: pointer;
}
.operations-page .ops-tag-option:has(input:checked) { border-color: #b2a4d0; background: #efebfa; }
.operations-page .ops-tag-option input { accent-color: var(--ops-accent); }
.operations-page .ops-danger-actions { margin-top: 24px; padding: 17px; border: 1px solid #e8c7cc; border-radius: 12px; background: #fff7f7; }
.operations-page .ops-danger-actions summary { color: #934654; font-size: .85rem; font-weight: 650; cursor: pointer; }
.operations-page .ops-danger-button { border-color: #d9adb5 !important; background: #fff0f2 !important; color: #923d4d !important; }
.operations-page .ops-secret-panel { margin-top: 20px; padding: 18px; border: 1px solid #e9cc81; border-radius: 12px; background: #fffae9; }
.operations-page .ops-secret-panel h3 { margin-top: 0; }
.operations-page .ops-secret-panel textarea { margin-bottom: 12px; font-family: monospace; font-size: .82rem; overflow-wrap: anywhere; }
.operations-page .ops-success { color: #21694f; }
.operations-page .ops-user-audit { margin-top: 24px; font-size: .84rem; }
.operations-page .ops-user-audit summary { color: #716c7d; cursor: pointer; }
.operations-page .ops-audit-row { padding: 14px 0; border-bottom: 1px solid var(--ops-line); overflow-wrap: anywhere; }
.operations-page .ops-audit-row p { margin: 5px 0; }

/* Bot operation controls use the same form grid and spacing as member tools. */
.operations-page #agent-dispatch .ops-agent-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  align-items: start;
  gap: 19px 18px;
  margin: 22px 0;
}
.operations-page #agent-dispatch .ops-agent-controls > .field-label {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}
.operations-page #agent-dispatch .ops-agent-controls > .field-label > .input { width: 100%; min-height: 44px; }
.operations-page #agent-dispatch .ops-agent-mode {
  min-width: 0;
  min-height: 77px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 11px 15px 13px;
  border: 1px solid #e4dfea;
  border-radius: 10px;
  background: #faf9fc;
}
.operations-page #agent-dispatch .ops-agent-mode legend { padding: 0 4px; font-weight: 650; }
.operations-page #agent-dispatch .ops-agent-mode label { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.operations-page #agent-dispatch .ops-agent-task { grid-column: 1 / -1; }
.operations-page #agent-dispatch .ops-agent-task textarea { min-height: 96px; resize: vertical; }
.operations-page #agent-dispatch .ops-agent-help {
  max-width: 920px;
  margin: 18px 0;
  padding: 17px 19px;
  border: 1px solid #e6e1ed;
  border-radius: 12px;
  background: #f8f7fb;
  font-size: .8rem;
  line-height: 1.75;
}
.operations-page #agent-dispatch .ops-agent-help p { margin: 0 0 10px; }
.operations-page #agent-dispatch .ops-agent-help p:last-child { margin-bottom: 0; }
.operations-page .ops-agent-token { margin: 24px 0 18px; }
.operations-page #dispatch-prompt { white-space: pre-wrap; overflow-wrap: anywhere; }
.operations-page #agent-generation > .ops-agent-controls {
  display: grid;
  grid-template-columns: minmax(150px, 215px) max-content max-content;
  justify-content: start;
  align-items: end;
  gap: 12px;
  margin: 22px 0;
}
.operations-page #agent-generation > .ops-agent-controls > .field-label { display: grid; gap: 6px; min-width: 0; margin: 0; }
.operations-page #agent-generation-count { width: 100%; max-width: 100%; min-height: 41px; }
.operations-page #agent-generation > .ops-agent-controls .btn { min-height: 41px; white-space: nowrap; }
.operations-page #agent-generation :is(#agent-persona-plan, #agent-plan-prompt) { max-width: 920px; }
.operations-page #agent-generation-results li { padding: 11px 0; border-bottom: 1px solid var(--ops-line); overflow-wrap: anywhere; }

/* Analysis uses the same quiet tile and chart styling as every other view. */
.operations-page .ops-analysis-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.operations-page .ops-analysis-heading h2 { margin-top: 5px; }
.operations-page .ops-analysis-filter { display: flex; align-items: center; gap: 9px; }
.operations-page .ops-analysis-composition,
.operations-page .ops-analysis-profiles { gap: 14px; }
.operations-page .ops-analysis-type,
.operations-page .ops-analysis-profile {
  min-width: 0;
  border: 1px solid var(--ops-line);
  border-radius: 12px;
  background: #f9f8fb;
  padding: 18px;
}
.operations-page .ops-analysis-type.agent { border-color: #dceae6; background: #f5faf8; }
.operations-page .ops-analysis-type strong { color: #534c70; }
.operations-page .ops-analysis-type.agent strong { color: #367460; }

/* Breakpoints: keep the full workbench on desktop and a tabbed rail on tablets. */
@media (max-width: 1220px) {
  .operations-page .ops-content > .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-page .ops-layout { grid-template-columns: 212px minmax(0, 1fr); }
}
@media (max-width: 1040px) {
  .operations-page .ops-main { padding: 18px 16px 36px; }
  .operations-page .ops-content > .heading { flex-wrap: wrap; min-height: 105px; padding: 21px 22px; }
  .operations-page .ops-content > .ops-panel { padding: 25px 22px 30px; }
  .operations-page .ops-content > .metrics { padding: 22px; }
  .operations-page #agent-generation > .ops-agent-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
  .operations-page #agent-generation > .ops-agent-controls > .field-label { grid-column: 1 / -1; max-width: 260px; }
}
@media (max-width: 900px) {
  .operations-page .ops-layout { display: block; min-height: 0; }
  .operations-page .ops-sidebar {
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--ops-line);
    border-radius: 19px 19px 0 0;
  }
  .operations-page .ops-sidebar > .eyebrow,
  .operations-page .ops-sidebar-note { display: none; }
  .operations-page .ops-sidebar .section-nav {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
  .operations-page .ops-nav-group {
    flex-direction: row;
    flex: none;
    align-items: center;
    gap: 3px;
    padding-right: 8px;
    border-right: 1px solid #e2dce9;
  }
  .operations-page .ops-nav-group:last-child { border: 0; padding-right: 0; }
  .operations-page .ops-nav-group-title { display: none; }
  .operations-page .ops-sidebar .section-nav a { flex: none; min-height: 40px; padding: 9px 11px; }
  .operations-page .ops-content > .ops-panel { border-radius: 0 0 19px 19px; }
}
@media (max-width: 600px) {
  .operations-page .ops-main { padding: 13px 9px 28px; }
  .operations-page .topbar-inner { gap: 8px; padding: 9px 12px; }
  .operations-page .ops-header-label { padding-left: 8px; border-left: 0; font-size: .72rem; }
  .operations-page .ops-return { padding: 7px 10px; font-size: .73rem; }
  .operations-page .ops-return .ui-icon { display: none; }
  .operations-page .ops-layout { border-radius: 15px; }
  .operations-page .ops-sidebar { border-radius: 14px 14px 0 0; }
  .operations-page .ops-content > .heading { padding: 19px 15px; gap: 13px; }
  .operations-page .ops-content .community-emblem { width: 41px; height: 41px; border-radius: 11px; }
  .operations-page .ops-content .community-emblem .ui-icon { width: 22px; height: 22px; }
  .operations-page .ops-content .community-header h1 { font-size: 1.3rem; }
  .operations-page .ops-content > .heading .actions { flex-wrap: wrap; }
  .operations-page .ops-content > .heading .actions .btn { padding: 8px 12px; }
  .operations-page .ops-content > .ops-panel { padding: 20px 15px 25px; }
  .operations-page .ops-content > .metrics { gap: 9px; padding: 15px; }
  .operations-page .metric { min-height: 128px; padding: 14px; }
  .operations-page .metric strong { font-size: 1.46rem; }
  .operations-page .trend-bars { gap: 10px; }
  .operations-page .ops-user-search .input { flex-basis: 100%; max-width: none; }
  .operations-page .ops-user-editor { padding: 16px; }
  .operations-page .ops-editor-heading { flex-wrap: wrap; }
  .operations-page .ops-editor-actions .btn { flex: 1 1 auto; }
  .operations-page #agent-dispatch .ops-agent-controls { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .operations-page #agent-dispatch .ops-agent-task { grid-column: 1; }
  .operations-page #agent-generation > .ops-agent-controls { grid-template-columns: minmax(0, 1fr); }
  .operations-page #agent-generation > .ops-agent-controls > .field-label { grid-column: 1; max-width: none; }
  .operations-page #agent-generation > .ops-agent-controls .btn { white-space: normal; }
  .operations-page .ops-analysis-profiles { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-transparency: reduce) {
  .operations-page .ops-layout { box-shadow: none; }
}


/* Restored operations artwork: leave the integrated workbench intact. */
body.operations-page[data-page-scene] { background-color: #f6f3ed; }
@media (min-width: 721px) {
  .operations-page .ops-main > .page-art-banner {
    width: 100%;
    max-width: none;
    min-height: 132px;
    margin: 0 0 20px;
    padding: 22px 28px;
    border-radius: 18px;
  }
}
/* The shared artwork CSS also styles generic .card elements.
   Keep our main workspace as one continuous white surface. */
body.operations-page[data-page-scene] .ops-content > .ops-panel.card {
  background-color: transparent;
  background-image: none;
}
body.operations-page[data-page-scene] .ops-content > .metrics .metric.card {
  background-color: #f9f7fb;
}
body.operations-page[data-page-scene] .ops-content > .metrics .metric.card:nth-child(4n+2) {
  background-color: #f5faf9;
}
body.operations-page[data-page-scene] .ops-content > .metrics .metric.card:nth-child(4n+3) {
  background-color: #fffaf0;
}
body.operations-page[data-page-scene] .ops-content > .metrics .metric.card:nth-child(4n+4) {
  background-color: #f9f6fc;
}
body.operations-page[data-page-scene] .login-panel.card { background-color: #fff; }
/* Full-bleed banner uses the operator page's actual responsive gutters. */
@media (min-width: 601px) and (max-width: 720px) {
  .operations-page .ops-main > .page-art-banner {
    width: calc(100% + 32px);
    max-width: none;
    margin-left: -16px;
    margin-right: -16px;
  }
}
@media (max-width: 600px) {
  .operations-page .ops-main > .page-art-banner {
    width: calc(100% + 18px);
    max-width: none;
    margin-left: -9px;
    margin-right: -9px;
  }
}
