#operationsPage .operations-module-grid { align-items: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
#operationsPage .operations-module-grid > article { min-width: 0; min-height: 0; }
#operationsPage .operations-kpi-ribbon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#operationsPage .operations-kpi-ribbon .monitor-kpi-card { min-width: 0; }
#operationsPage .operations-stage-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#operationsPage .operations-workflow { display: none; }
#operationsPage .ops-detail, #operationsPage .ops-record-list { padding: 16px; min-width: 0; }
#operationsPage .ops-detail, #operationsPage .ops-record-list { scroll-margin-block-start: 110px; }
#operationsPage .ops-detail:focus-visible, #operationsPage .ops-record-list:focus-visible { outline: 2px solid #b2fff0; outline-offset: -2px; }
#operationsPage .ops-record-list { max-height: 360px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #518980 transparent; }
#operationsPage .ops-record { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 0; border-bottom: 1px solid #275d57; padding: 13px 4px; text-align: left; color: #e4f8f5; background: transparent; font: inherit; }
#operationsPage button.ops-record { cursor: pointer; }
#operationsPage .ops-record > span:first-child { min-width: 0; flex: 1; }
#operationsPage .ops-record strong, #operationsPage .ops-record small { display: block; overflow-wrap: anywhere; }
#operationsPage .ops-record small, #operationsPage .ops-muted { color: #a7ceca; font-size: 13px; line-height: 1.65; }
#operationsPage .ops-status { flex: 0 0 auto; color: #8ae8d9; font-size: 13px; }
#operationsPage .ops-record:hover, #operationsPage .ops-record.is-selected { background: #154840; }
#operationsPage .ops-detail-title { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
#operationsPage .ops-detail-title h3 { margin: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
#operationsPage .ops-selection-context { margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid #275d57; }
#operationsPage .ops-selection-context strong, #operationsPage .ops-selection-context small { display: block; overflow-wrap: anywhere; }
#operationsPage .ops-selection-context strong { color: #e4f8f5; font-size: 14px; line-height: 1.6; }
#operationsPage .ops-selection-context small, #operationsPage .ops-record-id { color: #a7ceca; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
#operationsPage .ops-record-id { margin: 6px 0 12px; }
#operationsPage .ops-selection-context .ops-record-id { margin: 4px 0 0; }
#operationsPage .ops-evidence-scope { margin: 0; padding: 0 16px 4px; color: #a7ceca; font-size: 12px; line-height: 1.65; }
#operationsPage .ops-detail-tools, #operationsPage .ops-related-nav, #operationsPage .ops-notification-scope { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#operationsPage .ops-related-nav { margin: 0 0 12px; }
#operationsPage .ops-detail-tools .ops-related-nav { margin: 0; }
#operationsPage .ops-notification-scope { justify-content: space-between; margin-bottom: 10px; color: #c7e9e2; font-size: 13px; line-height: 1.6; }
#operationsPage .ops-action-hint { margin: -4px 0 0; color: #b8dcd5; font-size: 13px; line-height: 1.6; }
#operationsPage .ops-button { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; max-width: 100%; gap: 6px; padding: 8px 12px; border: 1px solid #4f9288; border-radius: 6px; background: #123c37; color: #dff9f5; font: inherit; font-size: 13px; cursor: pointer; white-space: normal; }
#operationsPage .ops-button.is-primary { background: #85e9da; color: #06342e; border-color: #85e9da; font-weight: 700; justify-self: start; }
#operationsPage .ops-button:hover { border-color: #b2fff0; }
#operationsPage .ops-button:active { background: #1c5147; }
#operationsPage .ops-button.is-primary:active { background: #65d8c5; }
#operationsPage .ops-button:disabled { opacity: .55; cursor: wait; }
#operationsPage :is(button, input, select, textarea, summary, a):focus-visible { outline: 2px solid #b2fff0; outline-offset: 3px; }
#operationsPage [data-ops-form] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
#operationsPage [data-ops-form] label { display: grid; min-width: 0; gap: 6px; color: #bdded9; font-size: 13px; }
#operationsPage [data-ops-form] [hidden] { display: none; }
#operationsPage [data-ops-form] input, #operationsPage [data-ops-form] select, #operationsPage [data-ops-form] textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #4c7a72; border-radius: 5px; color: #f3fffc; background: #092d29; font: inherit; font-size: 14px; color-scheme: dark; }
#operationsPage [data-ops-form] textarea { resize: vertical; }
#operationsPage [data-ops-form] input[type="file"] { padding: 7px; font-size: 12px; }
#operationsPage .operations-alert-table td:last-child .ops-button { margin: 4px 0 0; display: flex; }
#operationsPage .operations-alert-table td { overflow-wrap: anywhere; }
#operationsPage .operations-empty { min-height: 64px; padding: 16px; line-height: 1.7; }
#operationsPage .operations-alert-panel:has(.operations-empty) .operations-table-wrap { height: auto; }
#operationsPage .operations-empty-copy { margin: 0; padding: 0; font-size: 13px; line-height: 1.7; }
#operationsPage .ops-detail > .ops-muted:first-child, #operationsPage .ops-record-list > .ops-muted:first-child { margin-top: 0; }
#operationsPage .ops-photos > .ops-muted { grid-column: 1 / -1; margin: 8px 0; }
#operationsPage .ops-audit { margin-top: 18px; padding-top: 12px; border-top: 1px solid #275d57; }
#operationsPage .ops-audit summary { cursor: pointer; color: #9fe8da; font-size: 13px; }
#operationsPage .ops-audit ol { max-height: 220px; overflow-y: auto; margin: 12px 0 0; padding-left: 20px; }
#operationsPage .ops-audit li { padding: 8px 0; color: #c8e4df; font-size: 12px; overflow-wrap: anywhere; }
#operationsPage .ops-audit time { display: block; margin-top: 4px; color: #9dc9c0; }
#operationsPage .ops-audit p { margin: 5px 0; }
#operationsPage .ops-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; max-height: 230px; overflow-y: auto; }
#operationsPage .ops-photos a { display: grid; gap: 6px; color: #bfeae3; text-decoration: none; font-size: 12px; }
#operationsPage .ops-photos img { width: 100%; height: 90px; object-fit: cover; border-radius: 4px; background: #103932; }
#operationsPage .ops-feedback { position: sticky; bottom: 12px; z-index: 3; margin: 12px 0 0; padding: 12px 16px; border: 1px solid #65d4be; border-radius: 6px; background: #103f36; color: #edfff9; font-size: 14px; line-height: 1.6; }
#operationsPage .ops-feedback.is-error { border-color: #e5b46b; color: #ffdda8; background: #3c3221; }
#operationsPage .ops-business-health { margin: 12px 0; padding: 12px 16px; border: 1px solid #4e8c7e; background: #123b34; color: #c7ebe1; font-size: 13px; line-height: 1.65; }
#operationsPage .ops-business-health summary { cursor: pointer; }
#operationsPage .ops-business-health ul { margin: 10px 0 0; padding-left: 20px; }
@media (max-width: 820px) {
  #operationsPage .operations-kpi-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #operationsPage .operations-module-grid { grid-template-columns: minmax(0, 1fr); }
  #operationsPage .operations-module-grid > article { min-height: 0; }
  #operationsPage .ops-button { min-height: 44px; }
  #operationsPage .ops-detail, #operationsPage .ops-record-list { padding: 12px; }
  #operationsPage .operations-module-grid { grid-auto-rows: auto; }
  #operationsPage .operations-stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #operationsPage .ops-record-list { max-height: 300px; }
  #operationsPage .ops-related-nav { gap: 6px; }
  #operationsPage .ops-related-nav .ops-button { flex: 1 1 auto; }
  #operationsPage .ops-detail-tools { align-items: stretch; }
  #operationsPage .ops-detail-tools .ops-related-nav { flex: 1 1 100%; }
  #operationsPage .operations-empty { min-height: 48px; }
}
@media (max-width: 560px) {
  #operationsPage .operations-kpi-ribbon .monitor-kpi-card { grid-template-columns: 32px minmax(0, 1fr); gap: 7px; padding: 10px; }
  #operationsPage .operations-kpi-ribbon .monitor-kpi-icon { width: 32px; height: 32px; }
  #operationsPage .operations-kpi-ribbon .monitor-kpi-card strong { font-size: 26px; }
  #operationsPage .operations-kpi-ribbon .monitor-kpi-card div > span { font-size: 12px; }
  #operationsPage .operations-alert-table { display: block; min-width: 0; width: 100%; }
  #operationsPage .operations-alert-table thead { display: none; }
  #operationsPage .operations-alert-table tbody { display: block; }
  #operationsPage .operations-alert-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border-bottom: 1px solid #275d57; padding: 8px; }
  #operationsPage .operations-alert-table td { display: block; min-width: 0; width: auto; padding: 6px; border: 0; white-space: normal; }
  #operationsPage .operations-alert-table td[colspan] { grid-column: 1 / -1; }
  #operationsPage .operations-alert-table td small { white-space: normal; }
  #operationsPage .operations-source-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
  #operationsPage .operations-source-strip strong { white-space: normal; }
  #operationsPage .operations-source-strip time { grid-column: 1 / -1; }
}

#operationsPage .operations-diagnosis-panel { grid-column: 1 / -1; scroll-margin-block-start: 110px; }
#operationsPage .operations-diagnosis-panel:focus-visible { outline: 2px solid #b2fff0; outline-offset: 2px; }
#operationsPage .ops-diagnosis-head-actions, #operationsPage .ops-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#operationsPage .ops-row-actions { margin-top: 4px; }
#operationsPage .operations-alert-table td:last-child .ops-row-actions .ops-button { margin: 0; }
#operationsPage [data-ops-diagnose] { border-color: #7bdcca; background: #185149; font-weight: 700; }
#operationsPage .ops-diagnosis-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 16px; list-style: none; border-bottom: 1px solid #275d57; }
#operationsPage .ops-diagnosis-progress li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 8px; min-width: 0; padding: 10px; border: 1px solid #315f59; border-radius: 6px; background: #0c322e; color: #a7ceca; }
#operationsPage .ops-diagnosis-progress li > span { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #214e48; color: #d8f4ef; font-weight: 700; }
#operationsPage .ops-diagnosis-progress strong, #operationsPage .ops-diagnosis-progress small { min-width: 0; overflow-wrap: anywhere; }
#operationsPage .ops-diagnosis-progress strong { color: #d8f4ef; font-size: 13px; line-height: 1.4; }
#operationsPage .ops-diagnosis-progress small { font-size: 11px; line-height: 1.4; }
#operationsPage .ops-diagnosis-progress li.is-active { border-color: #87e9d8; background: #164a43; }
#operationsPage .ops-diagnosis-progress li.is-active > span { background: #87e9d8; color: #06342e; }
#operationsPage .ops-diagnosis-progress li.is-complete { border-color: #4a9b76; }
#operationsPage .ops-diagnosis-progress li.is-complete > span { background: #2f8c65; color: #fff; }
#operationsPage .ops-diagnosis-progress li.is-blocked { border-color: #b77b4b; background: #3a2e22; }
#operationsPage .ops-diagnosis-report { padding: 16px; }
#operationsPage .ops-diagnosis-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
#operationsPage .ops-diagnosis-summary > div { min-width: 0; padding: 12px; border: 1px solid #315f59; border-radius: 6px; background: #0c322e; }
#operationsPage .ops-diagnosis-summary span, #operationsPage .ops-diagnosis-summary small, #operationsPage .ops-diagnosis-summary strong { display: block; overflow-wrap: anywhere; }
#operationsPage .ops-diagnosis-summary span, #operationsPage .ops-diagnosis-summary small { color: #9fc9c2; font-size: 12px; line-height: 1.55; }
#operationsPage .ops-diagnosis-summary strong { margin: 4px 0; color: #ecfffb; font-size: 14px; line-height: 1.5; }
#operationsPage .ops-diagnosis-section { margin-top: 16px; }
#operationsPage .ops-diagnosis-section h3 { margin: 0 0 10px; color: #dff9f5; font-size: 15px; }
#operationsPage .ops-diagnosis-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0; }
#operationsPage .ops-diagnosis-values > div { min-width: 0; padding: 10px; border: 1px solid #294f4b; border-radius: 5px; background: #0a2d29; }
#operationsPage .ops-diagnosis-values dt { color: #99c3bd; font-size: 12px; overflow-wrap: anywhere; }
#operationsPage .ops-diagnosis-values dd { margin: 4px 0 0; color: #e9fbf7; font-size: 14px; overflow-wrap: anywhere; }
#operationsPage .ops-diagnosis-values small { color: #a8cec8; }
#operationsPage .ops-diagnosis-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#operationsPage .ops-diagnosis-checks article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 11px; border: 1px solid #315f59; border-radius: 6px; background: #0c322e; }
#operationsPage .ops-diagnosis-checks article > span { align-self: start; padding: 3px 7px; border-radius: 999px; text-align: center; background: #214e48; color: #d8f4ef; font-size: 11px; }
#operationsPage .ops-diagnosis-checks article.is-pass > span { background: #2d765d; }
#operationsPage .ops-diagnosis-checks article.is-fail > span { background: #9c3f3f; }
#operationsPage .ops-diagnosis-checks article.is-warning > span, #operationsPage .ops-diagnosis-checks article.is-blocked > span { background: #8a6532; }
#operationsPage .ops-diagnosis-checks strong { color: #e8faf6; font-size: 13px; }
#operationsPage .ops-diagnosis-checks p, #operationsPage .ops-diagnosis-checks small { display: block; margin: 3px 0 0; color: #a8cec8; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#operationsPage .ops-diagnosis-model-copy, #operationsPage .ops-diagnosis-model-state { margin: 0; padding: 14px; border: 1px solid #39736b; border-radius: 6px; background: #0b302c; color: #d9f1ed; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
#operationsPage .ops-diagnosis-model-state.is-blocked { border-color: #a16b3c; background: #392e22; color: #ffdda8; }
#operationsPage .ops-diagnosis-boundary { margin-top: 16px; padding-top: 12px; border-top: 1px solid #315f59; color: #9fc9c2; font-size: 12px; line-height: 1.65; }
@media (max-width: 820px) {
  #operationsPage .ops-diagnosis-progress { grid-template-columns: 1fr; }
  #operationsPage .ops-diagnosis-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #operationsPage .ops-diagnosis-checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  #operationsPage .ops-diagnosis-head-actions { align-items: stretch; width: 100%; }
  #operationsPage .ops-diagnosis-head-actions .ops-button { width: 100%; }
  #operationsPage .ops-diagnosis-summary { grid-template-columns: 1fr; }
  #operationsPage .ops-row-actions .ops-button { flex: 1 1 100%; }
}
