/* Monitoring: de panelen van de monitoringmerken op Koppelingen (DeyePanelView, AlphaEssPanelView, met
   MonitoringPanelSections) en het blok Monitoring in de Portaal-instellingen van een propositie
   (MonitoringLinksEditor). Ontwerp: curr/mockups/monitoring-koppelingen.html en monitoring-meldingen.html. Kleuren volgen het donkere thema; het accent van de categorie
   Monitoring is #38BDF8 (IntegrationCategoryStyle). Gedeelde klassen (bom-form-input, CurrentlyCard,
   DialogNotice) komen uit global-styles.css, cards.css en dialogs.css; hier staat alleen wat eigen is. */

/* ── Paneel op Koppelingen ── */
.mo-card-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.45); margin-bottom: 14px; }
.mo-sub-title { font-size: 0.78rem; font-weight: 700; color: rgba(255, 255, 255, 0.75); margin-bottom: 10px; }
.mo-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mo-hint { font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); margin-top: 6px; line-height: 1.5; }
.mo-mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }
.mo-consents { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mo-consents label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.82rem; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }
.mo-consents input { margin-top: 3px; accent-color: var(--mud-palette-primary); flex-shrink: 0; }
.mo-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.mo-secure { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: #34D399; }
.mo-stats { display: flex; gap: 28px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mo-stat-val { font-size: 20px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, 0.92); }
.mo-stat-lbl { font-size: 11.5px; color: rgba(255, 255, 255, 0.38); margin-top: 4px; }
.mo-switch-row { display: flex; gap: 16px; align-items: flex-start; }
.mo-switch-text b { display: block; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.mo-switch-text span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.55; margin-top: 3px; }
.mo-track { width: 38px; height: 22px; border-radius: 999px; background: rgba(16, 185, 129, 0.55); position: relative; flex-shrink: 0; margin-top: 2px; cursor: pointer; border: 0; padding: 0; transition: background 0.15s ease; }
.mo-track::after { content: ''; position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.mo-track.off { background: rgba(255, 255, 255, 0.15); }
.mo-track.off::after { right: auto; left: 2px; }
.mo-track:disabled { opacity: 0.35; cursor: not-allowed; }
.mo-st-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mo-st-row:last-of-type { border-bottom: 0; }
.mo-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; flex-shrink: 0; }
.mo-dot.off { background: #F59E0B; }
.mo-st-main { flex: 1; min-width: 0; }
.mo-st-name { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.92); display: flex; gap: 8px; align-items: baseline; }
.mo-st-name .mo-mono { font-size: 11.5px; color: rgba(255, 255, 255, 0.38); font-weight: 500; }
.mo-st-sub { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; }
.mo-st-link { font-size: 12.5px; white-space: nowrap; text-align: right; color: rgba(255, 255, 255, 0.38); }
.mo-st-link a { color: #38BDF8; text-decoration: none; font-weight: 600; }
.mo-link-btn { background: none; border: 0; color: #38BDF8; font-weight: 600; font-size: 13px; cursor: pointer; padding: 0; display: inline-flex; gap: 6px; align-items: center; }
.mo-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mo-kv:first-child { padding-top: 0; }
.mo-kv:last-child { border-bottom: 0; padding-bottom: 0; }
.mo-kv-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.38); margin-bottom: 3px; }
.mo-kv-value { font-size: 14px; color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.mo-kv-sub { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; line-height: 1.5; }
.mo-kv-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Keuzelijst (bedrijf en systeem) ── */
.mo-pk-list { display: flex; flex-direction: column; gap: 5px; }
.mo-pk { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.025); cursor: pointer; }
.mo-pk:hover { border-color: rgba(255, 255, 255, 0.2); }
.mo-pk.sel { border-color: rgba(56, 189, 248, 0.6); background: rgba(56, 189, 248, 0.08); }
.mo-pk.dim { opacity: 0.6; }
.mo-pk.locked { opacity: 0.55; cursor: default; }
.mo-pk input[type=radio] { accent-color: #38BDF8; margin: 0; }
.mo-pk-main { flex: 1; min-width: 0; }
.mo-pk-name { font-size: 0.84rem; font-weight: 600; color: rgba(255, 255, 255, 0.88); display: flex; gap: 8px; align-items: baseline; }
.mo-pk-name .mo-mono { font-size: 0.7rem; color: rgba(255, 255, 255, 0.38); font-weight: 500; }
.mo-pk-sub { font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); margin-top: 2px; }
.mo-tag { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mo-tag.match { color: #34D399; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); }
.mo-tag.taken { color: #F59E0B; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); }
.mo-tag.off { color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.mo-group { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.4); margin: 14px 0 6px; }

/* ── Blok Monitoring in de Portaal-instellingen ── */
.mo-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; flex-shrink: 0;
            color: #7DD3FC; background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.35); }
.mo-brand.sm { font-size: 0.64rem; padding: 2px 7px; }
.mo-system { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; background: rgba(255, 255, 255, 0.03); }
.mo-system-head { display: flex; align-items: center; gap: 12px; }
.mo-system-main { flex: 1; min-width: 0; }
.mo-system-name { font-size: 0.88rem; font-weight: 700; color: rgba(255, 255, 255, 0.88); display: flex; gap: 8px; align-items: baseline; }
.mo-system-name .mo-mono { font-size: 0.72rem; font-weight: 500; color: rgba(255, 255, 255, 0.4); }
.mo-system-sub { font-size: 0.74rem; color: rgba(255, 255, 255, 0.45); margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }
.mo-system-sub .live { color: #34D399; font-weight: 600; }
.mo-system-sub .stale { color: #F59E0B; font-weight: 600; }
.mo-empty { border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.mo-empty-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(56, 189, 248, 0.12); color: #38BDF8; flex-shrink: 0; }
.mo-empty-text { flex: 1; min-width: 0; }
.mo-empty-text b { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); }
.mo-empty-text span { display: block; font-size: 0.76rem; color: rgba(255, 255, 255, 0.45); margin-top: 2px; line-height: 1.45; }
.mo-empty > :last-child { flex-shrink: 0; }
/* Een melding die het merk voor dit systeem openhoudt; ontwerp curr/mockups/monitoring-meldingen.html. */
.mo-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 9px; font-size: 0.78rem; line-height: 1.45; }
.mo-alert.warn { background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.3); color: #F59E0B; }
.mo-alert.fault { background: rgba(239, 83, 80, 0.08); border: 1px solid rgba(239, 83, 80, 0.32); color: #EF5350; }
.mo-alert b { display: block; font-family: Consolas, monospace; font-size: 0.78rem; }
.mo-alert span { color: rgba(255, 255, 255, 0.6); }

.mo-strat { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.mo-strat-head { font-size: 0.74rem; font-weight: 700; color: rgba(255, 255, 255, 0.7); display: flex; gap: 7px; align-items: center; margin-bottom: 8px; }
/* Zoveel kolommen als er strategieën te kiezen zijn, samen over de volle breedte. */
.mo-strat-sub { margin-top: 14px; }
.mo-strat-opts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.mo-strat-opt { display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.02); cursor: pointer; }
.mo-strat-opt.on { border-color: rgba(56, 189, 248, 0.55); background: rgba(56, 189, 248, 0.07); }
.mo-strat-opt input { accent-color: #38BDF8; margin-top: 2px; }
.mo-strat-opt b { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.88); }
.mo-strat-opt span { display: block; font-size: 0.7rem; color: rgba(255, 255, 255, 0.45); margin-top: 3px; line-height: 1.4; }
.mo-strat-status { font-size: 0.74rem; margin-top: 10px; display: flex; gap: 7px; align-items: center; }
.mo-strat-status.ok { color: #34D399; }
.mo-strat-status.wait { color: #BAE6FD; }
.mo-strat-status.unknown { color: rgba(255, 255, 255, 0.5); }
.mo-strat-note { font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); margin-top: 10px; }
.mo-comp { border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 12px; padding: 12px 14px; background: rgba(56, 189, 248, 0.03); margin-top: 14px; }
.mo-comp-head { font-size: 0.78rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); display: flex; gap: 7px; align-items: center; }
.mo-comp-intro { font-size: 0.74rem; color: rgba(255, 255, 255, 0.45); margin: 6px 0 8px; line-height: 1.5; }
.mo-comp-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.mo-comp-name { flex: 1; font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.mo-comp-name small { display: block; font-size: 0.7rem; font-weight: 400; color: rgba(255, 255, 255, 0.4); margin-top: 1px; }
.mo-comp-src { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); display: flex; gap: 7px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.mo-select { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.9); border-radius: 8px; padding: 6px 9px; font: inherit; font-size: 0.78rem; color-scheme: dark; flex-shrink: 0; }
.mo-select option { background: #1e2230; color: rgba(255, 255, 255, 0.9); }
/* De keuze van het soort gebouw: het icoon toont de gekozen scène. */
.mo-scene-pick { display: flex; align-items: center; gap: 12px; padding: 9px 0 2px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.mo-scene-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(56, 189, 248, 0.12); color: #38BDF8; flex-shrink: 0; }
.mo-scene-select { min-width: 220px; }
.mo-picker { border: 1px solid rgba(56, 189, 248, 0.35); border-radius: 12px; background: rgba(56, 189, 248, 0.04); padding: 14px; margin-top: 4px; }
.mo-picker-top { display: flex; gap: 10px; align-items: center; }
.mo-search { flex: 1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.9); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 0.82rem; outline: none; }
.mo-search:focus { border-color: #38BDF8; }
.mo-more { font-size: 0.72rem; color: rgba(255, 255, 255, 0.38); margin-top: 8px; padding-left: 2px; }
.mo-manual { margin-top: 12px; padding: 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.12); }
.mo-manual-row { display: grid; grid-template-columns: 150px repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.mo-picker-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.mo-picker-foot .mo-note { flex: 1; font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); line-height: 1.45; }
.mo-picker-foot .mo-note button { background: none; border: 0; padding: 0; color: #38BDF8; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 760px) { .mo-strat-opts { grid-auto-flow: row; } .mo-grid2 { grid-template-columns: 1fr; } }
