html { color-scheme: light dark; background: light-dark(#f5f7f8,#151c21); }
body { margin: 0; }
#mobius-ops { max-width: 1500px; margin: auto; }
#mobius-ops .mo-shell { border: 0; border-radius: 0; min-height: 100vh; }
#mobius-ops .mo-main { padding: 28px; }
#mobius-ops .mo-navs { display: grid; gap: 2px; }
#mobius-ops .mo-loading { padding: 40px; color: var(--mo-muted); }
#mobius-ops button,#mobius-ops a,#mobius-ops select { cursor: pointer; }
#mobius-ops input,#mobius-ops textarea { cursor: text; }
#mobius-ops .mo-shell[inert] { opacity: .5; }
#mobius-ops .mo-error { background: var(--mo-red-bg); color: var(--mo-red); padding: 12px 16px; border-radius: 7px; margin-bottom: 16px; }
#mobius-ops .mo-guide { display: grid; gap: 16px; }
#mobius-ops .mo-guide p { color: var(--mo-muted); font-size: 13px; line-height: 1.65; }
#mobius-ops .mo-guide ol { padding-left: 20px; margin: 0; display: grid; gap: 14px; }
#mobius-ops .mo-guide li strong { display: block; margin-bottom: 4px; }
#mobius-ops .mo-task-layout { grid-template-columns: minmax(190px,.6fr) minmax(0,1.6fr); }
#mobius-ops .mo-row-select { width: 100%; text-align: left; background: var(--mo-surface); color: var(--mo-text); border: 0; }
#mobius-ops .mo-row-select:hover { background: var(--mo-soft); }
#mobius-ops .mo-codeblock { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--mo-soft); padding: 16px; border-radius: 8px; font-size: 12px; }
#mobius-ops .mo-model-table select { min-width: 140px; }
#mobius-ops .mo-model-table input { min-width: 90px; max-width: 110px; }
#mobius-ops .mo-banner { padding: 9px 24px; background: var(--mo-warn-bg); color: var(--mo-warn); font-size: 12px; }
#mobius-ops .mo-full { width: 100%; }
#mobius-ops .mo-dialog { max-height: 85vh; overflow-y: auto; }
#mobius-ops .mo-overlay { position: fixed; inset: 0; overflow-y: auto; padding-top: 7vh; border-radius: 0; }
#mobius-ops .mo-main p,#mobius-ops .mo-main td { overflow-wrap: anywhere; }
#mobius-ops .mo-success { color: var(--mo-accent); }
#mobius-ops .mo-top-end button { max-width: 220px; }
#mobius-ops .mo-sticky-note { font-size: 11px; color: var(--mo-muted); margin-top: 10px; }
@media(max-width:850px) {
  #mobius-ops .mo-task-layout { grid-template-columns: 1fr; }
  #mobius-ops .mo-task-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  #mobius-ops .mo-main { padding: 18px 13px; }
  #mobius-ops .mo-navs { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #mobius-ops .mo-task-list { grid-template-columns: 1fr; }
  #mobius-ops .mo-dialog { max-height: 90vh; }
  #mobius-ops .mo-overlay { padding-top: 3vh; }
  #mobius-ops .mo-alerts-table table, #mobius-ops .mo-alerts-table tbody { display: block; }
  #mobius-ops .mo-alerts-table thead { display: none; }
  #mobius-ops .mo-alerts-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; border-bottom: 1px solid var(--mo-border); }
  #mobius-ops .mo-alerts-table td { display: block; min-width: 0; padding: 0; border: 0; }
  #mobius-ops .mo-alerts-table td:nth-child(1), #mobius-ops .mo-alerts-table td:nth-child(3), #mobius-ops .mo-alerts-table td:nth-child(5) { grid-column: 1 / -1; }
  #mobius-ops .mo-alerts-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
  #mobius-ops .mo-alerts-table td:nth-child(2)::before, #mobius-ops .mo-alerts-table td:nth-child(4)::before { display: block; color: var(--mo-muted); font-size: 11px; margin-bottom: 5px; }
  #mobius-ops .mo-alerts-table td:nth-child(2)::before { content: 'Source state'; }
  #mobius-ops .mo-alerts-table td:nth-child(4)::before { content: 'Notification'; }
}
