/* OF Company Control — thin CEO posture chrome */
.of-ceo-control-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 99990;
  max-width: min(360px, calc(100vw - 24px));
  background: rgba(6, 8, 12, 0.94);
  border: 1px solid #2a3340;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  color: #e8eef6;
  font: 500 12px/1.35 "IBM Plex Sans", system-ui, sans-serif;
  padding: 10px 12px 12px;
}
.of-ceo-bar-label {
  font: 600 10px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  color: #f5c400;
  margin-bottom: 6px;
}
.of-company-control .of-cc-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
}
.of-cc-kicker {
  font: 600 10px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #f5c400;
}
.of-cc-title {
  font-weight: 600;
  color: #c9d4e2;
}
.of-cc-posture {
  font: 700 28px/1.1 "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: 0.02em;
  margin: 4px 0 2px;
  color: #f5c400;
}
.of-cc-posture[data-posture="LIVE"] { color: #3d9b6a; }
.of-cc-posture[data-posture="SHUTDOWN"] { color: #e879a8; }
.of-cc-mode {
  font: 600 12px/1.3 "IBM Plex Mono", ui-monospace, monospace;
  color: #9eb0c3;
  margin-bottom: 4px;
}
.of-cc-meta, .of-cc-stamp {
  font: 500 10px/1.35 "IBM Plex Mono", ui-monospace, monospace;
  color: #7a8798;
  margin-bottom: 4px;
}
.of-cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.of-cc-actions button {
  appearance: none;
  border: 1px solid #3a4554;
  background: #121820;
  color: #e8eef6;
  border-radius: 6px;
  padding: 6px 10px;
  font: 600 11px/1 "IBM Plex Sans", system-ui, sans-serif;
  cursor: pointer;
}
.of-cc-actions button:hover { border-color: #78bcd6; }
.of-cc-status {
  margin-top: 8px;
  min-height: 1.2em;
  font: 500 11px/1.35 "IBM Plex Mono", ui-monospace, monospace;
  color: #9eb0c3;
}
.of-cc-status[data-state="ok"] { color: #3d9b6a; }
.of-cc-status[data-state="err"] { color: #e879a8; }

.of-ceo-control-panel {
  margin-top: 10px;
  padding: 12px;
}

.of-company-shutdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(2, 4, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8eef6;
}
.of-shutdown-card {
  max-width: 520px;
  text-align: center;
  border: 1px solid #5a3048;
  background: #0c1018;
  border-radius: 12px;
  padding: 28px 24px;
}
.of-shutdown-card h1 {
  margin: 0 0 10px;
  font: 700 28px/1.15 "IBM Plex Sans", system-ui, sans-serif;
  color: #e879a8;
  letter-spacing: 0.04em;
}
.of-shutdown-sub {
  margin-top: 14px;
  font: 500 11px/1.4 "IBM Plex Mono", ui-monospace, monospace;
  color: #7a8798;
}
html.of-company-shutdown body > *:not(.of-company-shutdown-overlay):not(.of-ceo-control-bar):not(#of-ceo-control-bar) {
  /* keep control reachable under shutdown */
}
.of-ceo-control-bar { z-index: 100001; }

.of-cc-onoff {
  font: 700 11px/1.3 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  color: #9eb0c3;
}
.of-cc-onoff[data-state="on"] { color: #3d9b6a; }
.of-cc-onoff[data-state="off"] { color: #e879a8; }

/* Public apex chrome cut — hide floating CEO corner box LAST (CEO approval apex-full-pass-ceo-bar-lf-stamp-2026-10-06) */
#of-ceo-control-bar,
.of-ceo-control-bar,
aside#of-ceo-control-bar,
aside.of-ceo-control-bar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}
