/* operations-manager.css v1.0.2 (v1.0.2 search box) v1.0.1 (v1.0.1 tabs, menu, toggles, search not buttons/labels) v1.0 (2026-11-29, ops_manager_v1): Developer > System Tools > Development > Operations Manager.
   The look comes from screen-designer.css (.sdz: top bar, panes, SQL editor, pills, chips); this file only lays out the three panes and the few
   parts the Screen Designer does not have. Theme tokens only; 14px between the boxes. */
.sdz.opm{gap:10px!important}
.sdz.opm.sdz-fill{height:var(--sdz-fill-h,auto);overflow:hidden}
.sdz.opm .opm-body{display:grid;grid-template-columns:var(--opm-lw,300px) minmax(0,1fr) var(--opm-rw,340px);gap:14px;flex:1 1 auto;min-height:0;position:relative}
.sdz.opm.opm-l-auto .opm-body{--opm-lw:34px}.sdz.opm.opm-l-hide .opm-body{--opm-lw:0px}
.sdz.opm.opm-r-auto .opm-body{--opm-rw:34px}.sdz.opm.opm-r-hide .opm-body{--opm-rw:0px}
.sdz.opm.opm-l-hide .opm-left,.sdz.opm.opm-r-hide .opm-right{display:none!important}
.sdz.opm.opm-l-hide .opm-body{grid-template-columns:minmax(0,1fr) var(--opm-rw,340px)}
.sdz.opm.opm-r-hide .opm-body{grid-template-columns:var(--opm-lw,300px) minmax(0,1fr)}
.sdz.opm.opm-l-hide.opm-r-hide .opm-body{grid-template-columns:minmax(0,1fr)}
.sdz.opm .opm-pane-in{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;overflow:auto;padding:0 10px 10px}
/* auto-hide: the pane folds to a 34px rail and opens over the middle when the rail is clicked */
.sdz.opm.opm-l-auto .opm-left .opm-pane-in,.sdz.opm.opm-r-auto .opm-right .opm-pane-in{display:none}
.sdz.opm.opm-l-auto.opm-l-open .opm-left,.sdz.opm.opm-r-auto.opm-r-open .opm-right{position:absolute;top:0;bottom:0;z-index:30;width:320px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.sdz.opm.opm-l-auto.opm-l-open .opm-left{left:0}.sdz.opm.opm-r-auto.opm-r-open .opm-right{right:0;width:360px}
.sdz.opm.opm-l-auto.opm-l-open .opm-left .opm-pane-in,.sdz.opm.opm-r-auto.opm-r-open .opm-right .opm-pane-in{display:flex}
.sdz.opm .opm-rail{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;height:auto!important;
  padding:10px 0!important;border:0!important;background:transparent!important;color:inherit!important}
.sdz.opm .opm-rail span{writing-mode:vertical-rl;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.8}
.sdz.opm.opm-l-open .opm-left .opm-rail,.sdz.opm.opm-r-open .opm-right .opm-rail{display:none!important}
/* pane heads */
.sdz.opm .opm-phead{display:flex;align-items:center;justify-content:space-between;gap:6px;position:sticky;top:0;z-index:3;background:inherit;padding:8px 0 4px;margin:0}
.sdz.opm.sdz-appc-nav .opm-phead,.sdz.opm.sdz-appc-nav .opm-filters{background:var(--z-app-nav-bg)}
.sdz.opm .opm-phead .sdz-cap{margin:0 2px!important}
.sdz.opm .opm-pbtns{display:inline-flex;gap:2px}
.sdz.opm button.opm-pbtn{height:24px!important;width:24px!important;padding:0!important;border-color:transparent!important;background:transparent!important;color:inherit!important;opacity:.7}
.sdz.opm button.opm-pbtn:hover,.sdz.opm button.opm-pbtn.on{opacity:1}
.sdz.opm .opm-left,.sdz.opm .opm-right{min-height:0}
/* the list */
.sdz.opm .opm-filters{display:grid;grid-template-columns:1fr;gap:6px;position:sticky;top:36px;z-index:2;background:var(--z-surface);padding:0 0 8px}
.sdz.opm .opm-search{display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;border:1px solid var(--z-border);border-radius:var(--z-r);background:var(--z-paper);color:var(--z-text)}
.sdz.opm .opm-search input{flex:1 1 auto;border:0!important;background:transparent!important;outline:none;height:28px!important;padding:0!important;color:var(--z-text)}
.sdz.opm .opm-filters select{height:28px!important;padding:0 8px!important;border:1px solid var(--z-border)!important;border-radius:var(--z-r)!important;background:var(--z-paper)!important;color:var(--z-text)!important}
.sdz.opm .opm-list{display:flex;flex-direction:column;gap:2px}
.sdz.opm .opm-domh{display:flex;align-items:center;gap:6px;padding:5px 4px;border-radius:6px;cursor:pointer;font-weight:600;font-size:12.5px}
.sdz.opm .opm-domh:hover{background:var(--z-hover)}
.sdz.opm .opm-domh small{margin-left:auto;font-weight:500;opacity:.7}
.sdz.opm .opm-domh .sdz-ic{width:14px;height:14px;flex:0 0 14px}
.sdz.opm .opm-item{display:flex;flex-direction:column;gap:1px;padding:5px 8px 5px 22px;border:1px solid transparent;border-radius:6px;cursor:pointer}
.sdz.opm .opm-item:hover{background:var(--z-hover)}
.sdz.opm .opm-item.on{background:var(--z-sel);border-color:var(--z-accent)}
.sdz.opm .opm-item b{font-size:12px;font-weight:600;word-break:break-all}
.sdz.opm .opm-item small{font-size:11px;opacity:.85;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.sdz.opm .opm-item.off b{text-decoration:line-through;opacity:.7}
.sdz.opm .opm-warn{color:var(--z-red)}
/* the middle */
.sdz.opm .opm-main{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--z-line);border-radius:10px;background:var(--z-surface);overflow:hidden}
.sdz.opm .opm-tabs{display:flex;gap:2px;padding:6px 10px 0;border-bottom:1px solid var(--z-line);flex:0 0 auto}
.sdz.opm button.opm-tab{height:32px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;padding:0 14px!important;color:var(--z-muted)!important;font-weight:600}
.sdz.opm button.opm-tab.on{color:var(--z-accent)!important;border-bottom-color:var(--z-accent)!important}
.sdz.opm .opm-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--z-amber);margin-left:4px}
.sdz.opm .opm-tabbody{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:14px}
.sdz.opm .opm-tab-sql,.sdz.opm .opm-tab-valid,.sdz.opm .opm-tab-rules,.sdz.opm .opm-tab-layout{padding:0}
.sdz.opm .opm-ed-wrap{flex:1 1 auto;min-height:260px}
.sdz.opm .opm-ed-wrap textarea{resize:none}
.sdz.opm .opm-ro textarea{opacity:.92}
.sdz.opm .opm-tab-sql>p,.sdz.opm .opm-tab-valid>p,.sdz.opm .opm-tab-rules>p,.sdz.opm .opm-tab-layout>p{margin:8px 14px!important}
.sdz.opm .opm-empty{margin:auto;text-align:center;padding:40px}
.sdz.opm .opm-form{display:flex;flex-direction:column;gap:2px;max-width:980px}
.sdz.opm .opm-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.sdz.opm label.sdz-ed.opm-ed{grid-template-columns:120px minmax(0,1fr)}
.sdz.opm label.sdz-ed.opm-ed input:disabled,.sdz.opm label.sdz-ed.opm-ed select:disabled{opacity:1;background:transparent!important;border-color:var(--z-line)!important;color:var(--z-text)!important}
.sdz.opm .opm-togs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px;margin:8px 0 6px}
.sdz.opm label.opm-tog{display:flex;align-items:flex-start;gap:10px;margin:4px 0}
.sdz.opm label.opm-tog span{display:flex;flex-direction:column}
.sdz.opm label.opm-tog small{opacity:.75;font-size:11.5px}
.sdz.opm .opm-facts{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:12px;padding-top:12px;border-top:1px solid var(--z-line);font-size:12.5px;color:var(--z-muted)}
.sdz.opm .opm-facts b{color:var(--z-text);font-weight:600}
.sdz.opm .opm-on{color:var(--z-green)!important}.sdz.opm .opm-offt{color:var(--z-red)!important}
/* the side panel */
.sdz.opm .opm-right .sdz-cap{margin:14px 2px 6px}
.sdz.opm .opm-small{font-size:11.5px;margin:4px 2px}
.sdz.opm .opm-pad{padding:6px 2px}
.sdz.opm .opm-probs div,.sdz.opm .opm-warns div{margin-top:3px}
.sdz.opm .opm-warns{border-color:var(--z-line)}
.sdz.opm .opm-run label.sdz-ed{grid-template-columns:110px minmax(0,1fr)}
.sdz.opm .opm-runbar{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.sdz.opm .opm-runbar button{height:28px!important;font-size:12px!important}
.sdz.opm .opm-tablewrap{overflow:auto;max-height:260px;border:1px solid var(--z-line);border-radius:6px;margin:4px 0 8px;background:var(--z-paper)}
.sdz.opm .opm-table{border-collapse:collapse;font-size:11.5px;width:max-content;min-width:100%}
.sdz.opm .opm-table th,.sdz.opm .opm-table td{padding:3px 8px;border-bottom:1px solid var(--z-line);text-align:left;white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis}
.sdz.opm .opm-table th{position:sticky;top:0;background:var(--z-surface);font-weight:600}
.sdz.opm .opm-chips{display:flex;flex-wrap:wrap;gap:4px}
.sdz.opm .opm-uses{display:flex;flex-direction:column;gap:4px;font-size:12px;max-height:220px;overflow:auto}
.sdz.opm .opm-hrow{padding:6px 0;border-bottom:1px solid var(--z-line);font-size:12px}
.sdz.opm button.opm-mini{height:24px!important;padding:0 8px!important;font-size:11.5px!important;margin-top:4px}
/* the top bar: the app's button standard (New / Edit accent, Save green, in the word only; Delete red in the … menu) */
.sdz.opm .opm-bar{display:inline-flex;align-items:center;gap:6px}
.sdz.opm .opm-mid{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow:hidden}
.sdz.opm .opm-opname{max-width:340px;overflow:hidden;text-overflow:ellipsis}
.sdz.opm .opm-chip-draft{color:var(--z-amber)!important;border-color:var(--z-amber)!important}
.sdz.opm .opm-chip-off{color:var(--z-red)!important;border-color:var(--z-red)!important}
.sdz.opm .opm-chip-edit{color:var(--z-accent)!important;border-color:var(--z-accent)!important}
.sdz.opm .opm-bar button.opm-accent:not(:disabled) .sdz-lbl{color:var(--z-accent)}
.sdz.opm .opm-bar button.opm-save:not(:disabled) .sdz-lbl{color:var(--z-green)}
.sdz.opm .opm-bar button:disabled{opacity:.5;cursor:default}
.sdz.opm .sdz-topbar.opm-editing{background-image:linear-gradient(color-mix(in srgb,var(--z-accent) 14%,transparent),color-mix(in srgb,var(--z-accent) 14%,transparent))!important}
.sdz.opm .opm-morewrap{position:relative;display:inline-flex}
.sdz.opm .opm-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:2200;min-width:220px;display:flex;flex-direction:column;padding:6px;border:1px solid var(--z-border);border-radius:8px;background:var(--z-paper);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.sdz.opm .opm-menu hr{border:0;border-top:1px solid var(--z-line);margin:4px 0}
.sdz.opm button.opm-mi{justify-content:flex-start!important;border-color:transparent!important;background:transparent!important;height:30px!important;color:var(--z-text)!important}
.sdz.opm button.opm-mi:hover:not(:disabled){background:var(--z-hover)!important}
.sdz.opm button.opm-mi:disabled{opacity:.5;cursor:default}
.sdz.opm button.opm-mi.opm-del{color:var(--z-red)!important}
@container sdz (max-width:1240px){.sdz.opm .opm-body{--opm-lw:260px;--opm-rw:300px}.sdz.opm .opm-opname{max-width:200px}}
/* v1.0.1: tabs, menu items, toggles and the search box are not buttons / labels, so the app's button and label rules do not reach them */
.sdz.opm .opm-search{position:relative}
.sdz.opm .opm-search input{display:block!important;width:100%!important;min-width:0;margin:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
.sdz.opm .opm-tab{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-bottom:2px solid transparent;color:var(--z-muted);font-weight:600;cursor:pointer;user-select:none}
.sdz.opm .opm-tab:hover{color:var(--z-text)}
.sdz.opm .opm-tab.on{color:var(--z-accent);border-bottom-color:var(--z-accent)}
.sdz.opm .opm-mi{display:flex;align-items:center;height:30px;padding:0 10px;border-radius:6px;cursor:pointer;color:var(--z-text);white-space:nowrap}
.sdz.opm .opm-mi:hover:not([aria-disabled=true]){background:var(--z-hover)}
.sdz.opm .opm-mi[aria-disabled=true]{opacity:.5;cursor:default}
.sdz.opm .opm-mi.opm-del{color:var(--z-red)}
.sdz.opm .opm-hr{border-top:1px solid var(--z-line);margin:4px 0}
.sdz.opm label.opm-tog{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;text-transform:none!important;font-size:12.5px!important;letter-spacing:normal!important}
.sdz.opm label.opm-tog input{margin-top:2px!important;flex:0 0 auto}
.sdz.opm .opm-bar button.opm-icon .sdz-lbl{display:none}
.sdz.opm .opm-bar button.opm-icon{width:var(--z-hb)!important;padding:0!important}
/* v1.0.2: the search box is the input itself (the app's input rules win over a border-less input inside a box), the icon sits on it */
.sdz.opm .opm-search{border:0!important;padding:0!important;background:transparent!important;height:auto}
.sdz.opm .opm-search .sdz-ic{position:absolute;left:9px;top:50%;transform:translateY(-50%);pointer-events:none;opacity:.7;z-index:1}
.sdz.opm .opm-search input{height:30px!important;padding:0 8px!important;border:1px solid var(--z-border)!important;border-radius:var(--z-r)!important;background:var(--z-paper)!important;color:var(--z-text)!important}
