.operations-status{
  display:inline-flex;
  padding:6px 11px;
  border-radius:999px;
  font-size:.74rem;
  font-weight:850;
  white-space:nowrap;
}

.operations-status-healthy,
.operations-status-completed{
  background:#def7ed;
  color:#087254;
}

.operations-status-warning,
.operations-status-running,
.operations-status-creating{
  background:#fff2d4;
  color:#815d00;
}

.operations-status-critical,
.operations-status-failed,
.operations-status-deleted{
  background:#ffe5e7;
  color:#9a2631;
}

.operations-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}

.operations-actions form{
  margin:0;
}

.health-check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:22px;
}

.health-check-card{
  min-height:150px;
}

.health-check-healthy{
  border-color:#b9e3d6;
}

.health-check-warning{
  border-color:#ead493;
}

.health-check-critical{
  border-color:#efbdc2;
}

.health-check-heading{
  display:flex;
  align-items:center;
  gap:10px;
}

.health-check-heading h2{
  margin:0;
}

.health-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  flex:0 0 auto;
}

.health-dot-healthy{
  background:#009B72;
}

.health-dot-warning{
  background:#d6a51c;
}

.health-dot-critical{
  background:#bd3340;
}

.operations-table-wrap{
  overflow-x:auto;
}

.operations-table{
  width:100%;
  border-collapse:collapse;
}

.operations-table th,
.operations-table td{
  padding:12px 10px;
  border-bottom:1px solid var(--border);
  text-align:left;
  white-space:nowrap;
}

.operations-table th{
  color:var(--muted);
  font-size:.72rem;
  text-transform:uppercase;
}

.operations-job-list{
  display:grid;
}

.operations-job-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:14px;
  align-items:center;
  padding:13px 0;
  border-top:1px solid var(--border);
}

.operations-job-row>div{
  display:grid;
  gap:3px;
}

.operations-job-row small,
.operations-job-row time{
  color:var(--muted);
}

.operations-note{
  margin-bottom:18px;
  background:#f4f8fb;
}

.backup-list{
  display:grid;
  gap:14px;
}

.backup-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.backup-main{
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-width:0;
}

.backup-main h2{
  margin:0 0 6px;
  overflow-wrap:anywhere;
}

.backup-main p{
  margin:0 0 5px;
  color:var(--muted);
}

.backup-main small{
  color:var(--muted);
}

.backup-main code{
  overflow-wrap:anywhere;
}

.backup-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
}

.backup-actions form{
  margin:0;
}

.backup-error{
  margin-top:8px;
  padding:8px 10px;
  border-radius:9px;
  background:#ffe8ea;
  color:#9b2732;
}

.operations-toggle{
  display:flex!important;
  align-items:flex-start;
  gap:12px!important;
  padding:15px;
  border:1px solid var(--border);
  border-radius:14px;
}

.operations-toggle input{
  width:18px;
  height:18px;
  margin-top:2px;
  flex:0 0 auto;
}

.operations-toggle span{
  display:grid;
  gap:4px;
}

.operations-toggle small{
  color:var(--muted);
  font-weight:500;
}

.maintenance-page{
  min-height:70vh;
  display:grid;
  place-items:center;
  padding:40px 20px;
}

.maintenance-card{
  width:min(720px,100%);
  padding:45px;
  border:1px solid var(--border);
  border-radius:25px;
  background:#fff;
  text-align:center;
  box-shadow:0 24px 70px rgba(11,35,69,.14);
}

.maintenance-icon{
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  margin:0 auto 20px;
  border-radius:24px;
  background:#eaf8f3;
  color:var(--emerald);
  font-size:2.3rem;
}

.maintenance-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

@media(max-width:820px){
  .health-check-grid{
    grid-template-columns:1fr;
  }

  .operations-job-row{
    grid-template-columns:1fr;
  }

  .backup-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .backup-main{
    flex-direction:column;
  }

  .backup-actions{
    justify-content:flex-start;
  }

  .maintenance-card{
    padding:30px 22px;
  }
}
