:root {
  --om-bg: #0b1016;
  --om-panel: #131b25;
  --om-border: #263344;
  --om-muted: #97a7b9;
  --om-text: #edf3fa;
  --om-green: #39dba2;
  --om-amber: #f2bf62;
  --om-red: #ff8d99;
  --om-radius: 16px;
}
.om-body {
  margin: 0;
  background: var(--om-bg);
  color: var(--om-text);
  font:
    14px/1.5 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  min-height: 100vh;
}
.om-body * {
  box-sizing: border-box;
}
.om-body [hidden] {
  display: none !important;
}
.om-body a {
  color: inherit;
  text-decoration: none;
}
.om-body h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 6px 0 10px;
  letter-spacing: -0.8px;
}
.om-body h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
.om-body h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.om-body p {
  color: var(--om-muted);
  margin: 6px 0 14px;
}
.om-body small,
.om-muted {
  color: var(--om-muted);
}
.om-shell {
  display: flex;
  min-height: 100vh;
}
.om-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 242px;
  padding: 30px 18px;
  border-right: 1px solid var(--om-border);
  background: #0f161f;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.om-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  font-size: 23px;
  margin: 0 12px 35px;
}
.om-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 500;
}
.om-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #173b32;
  color: var(--om-green);
  display: grid;
  place-items: center;
  font-size: 30px;
}
.om-nav-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #8193a9;
  padding: 15px 14px 8px;
}
.om-sidebar nav a {
  display: flex;
  gap: 13px;
  padding: 12px 14px;
  margin: 4px 0;
  border-radius: 9px;
  color: #a8b8cc;
  transition: background 0.15s;
}
.om-sidebar nav a b {
  font-size: 19px;
  width: 22px;
  line-height: 20px;
  text-align: center;
}
.om-sidebar nav a.active {
  color: var(--om-green);
  background: #17352e;
}
.om-sidebar nav a:hover {
  background: #1a2634;
}
.om-sidebar-foot {
  margin-top: auto;
  padding: 25px 12px 0;
  font-size: 12px;
  color: #d4dfed;
}
.om-sidebar-foot > span:last-child {
  display: block;
  color: var(--om-muted);
  font-size: 10px;
  margin: 5px 0 0 17px;
}
.om-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--om-green);
  border-radius: 50%;
  margin-right: 9px;
}
.om-workspace {
  margin-left: 242px;
  width: calc(100% - 242px);
}
.om-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--om-border);
  background: #0d141dee;
  backdrop-filter: blur(12px);
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 38px;
}
.om-context label {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--om-muted);
}
.om-context select {
  background: transparent !important;
  border: 0 !important;
  padding: 3px 25px 3px 0 !important;
  max-width: 220px;
  font-weight: 650;
}
.om-owner {
  font-size: 12px;
  color: var(--om-muted);
}
.om-top-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
#om-main {
  padding: 35px 38px;
  max-width: 1500px;
  margin: auto;
  min-height: calc(100vh - 150px);
}
.om-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 38px;
  color: #708196;
  font-size: 11px;
}
.om-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--om-green);
  text-transform: uppercase;
}
.om-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.om-page-head p {
  margin: 0;
  max-width: 680px;
}
.om-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.om-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.om-card {
  background: linear-gradient(140deg, #151f2c, #121a24);
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius);
  padding: 23px;
}
.om-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.om-card + .om-card {
  margin-top: 0;
}
.om-section {
  margin-top: 26px;
}
.om-stat strong {
  font-size: 35px;
  display: block;
  line-height: 1.3;
  margin-top: 14px;
}
.om-stat span {
  color: var(--om-muted);
  font-size: 12px;
}
.om-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.om-step {
  padding: 18px;
  border-radius: 12px;
  background: #101923;
  border: 1px solid var(--om-border);
}
.om-step b {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #1b3a32;
  border-radius: 50%;
  color: var(--om-green);
  margin-bottom: 12px;
}
.om-button,
.om-icon-button {
  font: inherit;
  color: var(--om-text);
  background: #1b2735;
  border: 1px solid #314258;
  border-radius: 9px;
  padding: 10px 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.om-button.primary {
  color: #07291c;
  border: 1px solid var(--om-green);
  background: var(--om-green);
  font-weight: 750;
}
.om-button.danger {
  color: var(--om-red);
  border-color: #74404b;
  background: #321c25;
}
.om-button:hover,
.om-icon-button:hover {
  filter: brightness(1.15);
}
.om-button:disabled,
.om-icon-button:disabled {
  opacity: 0.43;
  cursor: not-allowed;
}
.om-icon-button {
  width: 37px;
  padding: 8px;
}
.om-body button:focus-visible,
.om-body a:focus-visible,
.om-body input:focus-visible,
.om-body select:focus-visible {
  outline: 2px solid var(--om-green);
  outline-offset: 3px;
}
.om-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.om-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 650;
  border-radius: 6px;
  background: #243144;
  color: #b9c8d9;
}
.om-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.om-badge.success {
  background: #153c2e;
  color: #7ee9b8;
}
.om-badge.warning {
  background: #392e1e;
  color: var(--om-amber);
}
.om-badge.error {
  background: #3b2430;
  color: var(--om-red);
}
.om-tagline {
  font-size: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--om-border);
  margin-top: 18px;
  color: var(--om-muted);
}
.om-input,
.om-body .om-modal input,
.om-body .om-modal select,
.om-body .om-modal textarea,
.om-context select {
  color: var(--om-text);
  background: #0f1721;
  border: 1px solid #35465c;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  max-width: 100%;
  width: 100%;
}
.om-body select option {
  background: #14202d;
}
.om-label {
  display: block;
  color: #b2c1d4;
  margin-bottom: 6px;
  font-size: 12px;
}
.om-field {
  margin: 15px 0;
}
.om-field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}
.om-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c4d0df;
  font-size: 12px;
  padding: 8px 0;
}
.om-checkbox input {
  accent-color: var(--om-green);
  width: 16px !important;
}
.om-checkbox:has(input:disabled) {
  opacity: 0.45;
}
.om-empty {
  border: 1px dashed #34465d;
  border-radius: var(--om-radius);
  text-align: center;
  padding: 40px 24px;
  background: #101822;
}
.om-empty-icon {
  display: block;
  font-size: 33px;
  color: var(--om-green);
  margin-bottom: 14px;
}
.om-empty p {
  max-width: 550px;
  margin: 10px auto 20px;
}
.om-notice {
  border-left: 3px solid var(--om-amber);
  background: #2b261d;
  color: #e2c793;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 18px 0;
  font-size: 12px;
}
.om-list-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--om-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.om-list-row:last-child {
  border: 0;
}
.om-modal {
  border: 1px solid #3a4c62;
  background: #141e2a;
  color: var(--om-text);
  border-radius: 20px;
  width: min(550px, calc(100% - 30px));
  padding: 0;
  max-height: 90vh;
}
.om-modal::backdrop {
  background: #030910c9;
  backdrop-filter: blur(5px);
}
.om-modal-head {
  display: flex;
  justify-content: space-between;
  padding: 24px 26px 8px;
}
.om-modal-head small {
  letter-spacing: 1.8px;
  font-size: 10px;
  color: var(--om-green);
}
.om-modal-head h2 {
  margin: 6px 0;
}
.om-modal-head > button {
  border: 0;
  background: transparent;
  color: #bdcadb;
  font-size: 26px;
  cursor: pointer;
}
.om-modal-body {
  padding: 8px 26px 14px;
}
.om-modal-foot {
  padding: 18px 26px;
  border-top: 1px solid var(--om-border);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.om-form-error {
  padding: 10px 26px;
  color: var(--om-red) !important;
}
.om-qr {
  text-align: center;
}
.om-qr img {
  display: block;
  max-width: 260px;
  width: 100%;
  margin: 20px auto;
  border: 12px solid white;
  border-radius: 12px;
}
.om-toast {
  background: #192b27;
  border: 1px solid #2c725c;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  margin: 10px;
  box-shadow: 0 10px 30px #0007;
  max-width: 430px;
}
.om-toast.error {
  background: #38232c;
  border-color: #965061;
}
.om-toast button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 20px;
}
#om-notifications {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 90;
}
.om-login-card {
  max-width: 430px;
  margin: 10vh auto;
  padding: 35px;
  background: var(--om-panel);
  border: 1px solid var(--om-border);
  border-radius: 20px;
}
.om-login-card .om-brand {
  margin: 0 0 28px;
}
.om-login-card h1 {
  font-size: 25px;
}
.om-login-card button.primary {
  width: 100%;
  margin-top: 15px;
}
.om-login-card .om-password {
  position: relative;
}
.om-login-card .om-password input {
  padding-right: 50px;
}
.om-login-card .om-password button {
  position: absolute;
  right: 7px;
  top: 6px;
  background: transparent;
}
.om-backdrop,
#om-menu {
  display: none;
}
.om-detail .page-header {
  margin-bottom: 20px;
}
.om-detail .group-panel {
  margin-top: 18px;
}
.om-detail .pub-card {
  background: var(--om-panel);
}
@media (max-width: 1100px) {
  .om-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .om-topbar {
    padding: 15px 24px;
  }
  #om-main {
    padding: 28px 24px;
  }
  .om-owner {
    display: none;
  }
}
@media (max-width: 760px) {
  .om-sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .om-body.om-menu-open .om-sidebar {
    transform: translateX(0);
  }
  .om-workspace {
    margin: 0;
    width: 100%;
  }
  .om-body.om-menu-open .om-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #0009;
    border: 0;
    z-index: 25;
  }
  #om-menu {
    display: inline-flex;
  }
  .om-topbar {
    gap: 10px;
    padding: 12px 16px;
    min-height: 74px;
  }
  .om-context {
    flex: 1;
    min-width: 0;
  }
  .om-context select {
    max-width: 165px;
  }
  .om-top-actions .om-button {
    font-size: 11px;
    padding: 9px;
  }
  .om-grid,
  .om-grid.two,
  .om-steps {
    grid-template-columns: 1fr;
  }
  #om-main {
    padding: 25px 16px;
  }
  .om-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .om-body h1 {
    font-size: 25px;
  }
  .om-footer {
    padding: 18px 16px;
  }
  .om-card {
    padding: 19px;
  }
  .om-login-card {
    margin: 6vh 16px;
    padding: 25px;
  }
  .om-list-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .om-body * {
    animation: none !important;
    transition: none !important;
  }
}
.om-callout {
  padding: 16px;
  border: 1px solid #635022;
  background: #30291b;
  color: #f0d397;
  border-radius: 12px;
  margin-bottom: 20px;
}
.om-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.om-group-id {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.om-module-options {
  display: grid;
  gap: 12px;
}
.om-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--om-border, #293443);
  border-radius: 10px;
}
.om-check input {
  width: 18px !important;
  margin-top: 5px;
}
.om-check span {
  display: grid;
  gap: 4px;
}
.om-list-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid #293443;
}
.om-detail .top-header {
  position: static;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  background: none;
  flex-wrap: wrap;
}
.om-detail .group-header .header-leading {
  gap: 12px;
}
.om-detail .group-summary {
  margin: 20px 0;
}
.om-detail .group-publish-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.om-detail .pub-card {
  min-width: 0;
}
.om-detail .publication-tabs {
  margin: 20px 0;
  overflow-x: auto;
}
.om-detail .group-panel:not(.active) {
  display: none;
}
.om-detail .publication-table {
  min-width: 650px;
}
.om-detail [data-panel="history"] {
  overflow-x: auto;
}
.om-detail .participant-table {
  overflow-x: auto;
}
.om-detail .group-catalog-form {
  margin: 16px 0;
}
.om-detail .catalog-list {
  max-height: 700px;
  overflow: auto;
}
.om-detail #notice {
  position: sticky;
  top: 86px;
  z-index: 2;
}
.om-body button:focus-visible,
.om-body a:focus-visible {
  outline: 2px solid #24c998;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .om-detail .group-publish-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .om-list-row {
    align-items: flex-start;
  }
  .om-detail .group-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .om-detail .search-box-row {
    flex-wrap: wrap;
  }
  .om-detail .automation-form {
    grid-template-columns: 1fr;
  }
  .om-detail .page-title-area {
    min-width: 0;
  }
  .om-detail h1 {
    overflow-wrap: anywhere;
  }
  .om-detail .header-leading {
    max-width: 100%;
  }
}
.om-grid > *,
.om-context,
.om-workspace {
  min-width: 0;
}
.om-context select {
  max-width: 240px;
}
.om-modal .om-qr img {
  max-width: 100%;
  height: auto;
}
.om-metric strong {
  display: block;
  font-size: 32px;
  margin: 12px 0;
}
.om-card + .om-card {
  margin-top: 0;
}
.om-body .om-modal label {
  margin: 12px 0;
}
.om-body .om-modal .om-actions {
  margin: 12px 0;
}
@media (max-width: 760px) {
  .om-context select {
    max-width: 145px;
  }
  .om-owner {
    max-width: 130px;
  }
  .om-owner span {
    overflow-wrap: anywhere;
  }
  .om-top-actions #om-refresh {
    font-size: 12px;
    padding: 8px;
  }
  .om-topbar {
    gap: 8px;
  }
}
.om-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.om-card > label,
.om-login-card label,
.om-modal label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 15px 0;
  font-size: 12px;
  font-weight: 600;
}
.om-card input,
.om-card select,
.om-card textarea,
.om-login-card input {
  background: #0f1721;
  border: 1px solid #35465c;
  border-radius: 8px;
  color: var(--om-text);
  padding: 11px 12px;
  font: inherit;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.om-card > small {
  display: block;
  line-height: 1.7;
}
.om-grid.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}
.om-grid + section.om-card {
  margin-top: 24px;
}
.om-login-card .om-password {
  position: relative;
}
.om-login-card .om-password input {
  padding-right: 50px;
}
.om-login-card .om-password button {
  position: absolute;
  right: 6px;
  top: 7px;
  border: 0;
  color: #bcd0e2;
  background: transparent;
  cursor: pointer;
  padding: 5px;
  font-size: 18px;
}
.om-card.muted {
  opacity: 0.65;
}
.om-page-head > div > small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--om-green);
}
.om-owner > .om-badge {
  margin-right: 9px;
}
@media (max-width: 1000px) {
  .om-grid.metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .om-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .om-grid.metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .om-login-card {
    margin: 30px 18px;
    max-width: none;
    padding: 24px;
  }
  .om-page-head h1 {
    font-size: 26px;
  }
  .om-card {
    padding: 20px;
  }
}
.om-module-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.om-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.om-module-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  max-width: 700px;
}
.om-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.om-command-row {
  padding: 12px;
  border: 1px solid var(--om-border);
  border-radius: 10px;
  margin: 12px 0;
}
.om-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.om-section-title label {
  flex: 1;
}
.om-json-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #0b131d;
  border-radius: 8px;
  padding: 15px;
  font-size: 12px;
}
.om-module-toolbar .om-input {
  background: #101923;
  border: 1px solid var(--om-border);
  color: var(--om-text);
  padding: 12px;
  border-radius: 8px;
}
.om-card.om-section {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .om-module-filters,
  .om-form-grid {
    grid-template-columns: 1fr;
  }
  .om-tabs .om-button {
    flex: 1;
    font-size: 12px;
  }
  .om-section-title {
    flex-wrap: wrap;
  }
  .om-module-toolbar {
    gap: 12px;
  }
}

.om-company-picker { display:flex; align-items:center; gap:8px; }
.om-company-picker select { flex:1; min-width:0; }
.om-icon-button { display:inline-flex; align-items:center; justify-content:center; width:40px; min-width:40px; height:40px; padding:0; }


.om-account-in-use { font-size:12px; color:var(--om-green); line-height:1.5; }
.om-account-hint { font-size:13px; color:var(--om-muted, #a8b5c5); line-height:1.5; }

.om-account-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),280px)); gap:14px; }
.om-account-grid .om-card { width:100%; max-width:280px; box-sizing:border-box; padding:16px; }
.om-account-grid .om-card-top { margin-bottom:12px; }
.om-account-grid h2 { font-size:17px; margin:0 0 8px; }
.om-account-grid .om-account-hint { margin:6px 0 12px; font-size:12px; }

.om-job-entry{min-width:0}.om-job-id{display:block;max-width:100%;overflow-wrap:anywhere}
