.ops-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 24px;
}
.ops-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #6b7e98;
  margin-bottom: 9px;
}
.ops-eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2da28d;
}
.ops-page-heading h2 {
  font-family: inherit;
  font-size: 26px;
  font-weight: 730;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 0 0 7px;
  color: #1d3556;
}
.ops-page-heading > div > p:last-child {
  color: #7a8ba0;
  font-size: 12px;
  line-height: 1.7;
}
.ops-page-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.ops-page-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 15px;
  font-size: 11px;
  border-radius: 9px;
  border-color: #dce4ef;
  box-shadow: 0 2px 3px #23415a04;
}
.ops-page-actions button > span {
  font-size: 17px;
}
.ops-page-actions .ops-primary {
  background: #2454c5;
  border-color: #2454c5;
  color: #fff;
}
.ops-page-actions .ops-primary:hover {
  background: #1e46a7;
}
.ops-feedback {
  padding: 11px 15px;
  background: #eaf1ff;
  border: 1px solid #dbe7ff;
  color: #355b92;
  border-radius: 10px;
  font-size: 12px;
  margin: 0 0 18px;
}
.ops-feedback:empty {
  display: none;
}
#operations-content[aria-busy='true'] {
  opacity: 0.6;
  pointer-events: none;
}
.ops-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.ops-stat {
  position: relative;
  border: 1px solid #dfe6f0;
  background: #fff;
  border-radius: 13px;
  padding: 20px;
  min-width: 0;
  min-height: 140px;
}
.ops-stat-icon {
  position: absolute;
  right: 17px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.ops-stat-icon svg {
  width: 18px;
  height: 18px;
}
.ops-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #6d8099;
  max-width: calc(100% - 35px);
  line-height: 1.6;
  min-height: 32px;
}
.ops-stat > strong {
  display: block;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 6px 0;
  color: #203c5e;
}
.ops-stat > small {
  display: block;
  color: #8292a8;
  font-size: 10px;
}
.ops-tone-amber .ops-stat-icon {
  background: #fff4e5;
  color: #bd833b;
}
.ops-tone-green .ops-stat-icon {
  background: #eaf6f0;
  color: #338e70;
}
.ops-tone-red .ops-stat-icon {
  background: #fff0f0;
  color: #c66a70;
}
.ops-tone-blue .ops-stat-icon {
  background: #edf3fe;
  color: #4a75ca;
}
.ops-tone-green:last-child > strong {
  color: #2e896b;
  font-size: 26px;
}
.ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: start;
}
.ops-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.ops-panel {
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  padding: 22px;
  min-width: 0;
}
.ops-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 19px;
}
.ops-panel-heading h3 {
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.25px;
  color: #203b5c;
  margin: 0 0 6px;
}
.ops-panel-heading p {
  color: #8a98ab;
  font-size: 10.5px;
  line-height: 1.7;
}
.ops-count {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 25px;
  border-radius: 7px;
  background: #f0f4fb;
  color: #6580a9;
  font-size: 11px;
  font-weight: 600;
  padding: 0 7px;
}
.ops-panel .ops-table table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-size: 11px;
}
.ops-panel .ops-table th {
  color: #7b8fa9;
  background: #f3f6fb;
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 11px 10px;
}
.ops-panel .ops-table td {
  color: #4c6381;
  font-size: 11px;
  padding: 14px 10px;
  vertical-align: middle;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #edf1f7;
}
.ops-panel .ops-table td strong {
  font-weight: 600;
  color: #395676;
}
.ops-table code {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #7588a3;
  overflow-wrap: anywhere;
}
.ops-mail-table th:first-child {
  width: 21%;
}
.ops-mail-table th:nth-child(2) {
  width: 52%;
}
.ops-mail-table th:last-child {
  width: 27%;
}
.ops-issue-table th:first-child {
  width: 27%;
}
.ops-issue-table th:nth-child(2) {
  width: 50%;
}
.ops-issue-table th:last-child {
  width: 23%;
}
.ops-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 8px;
  line-height: 1.3;
}
.ops-pill svg {
  width: 12px;
  height: 12px;
}
.ops-pill-amber {
  background: #fff5e7;
  color: #a87933;
}
.ops-pill-green {
  background: #eaf6ef;
  color: #388365;
}
.ops-pill-red {
  background: #fff0f0;
  color: #b2636a;
}
.ops-cell-time {
  display: block;
  font-size: 9px;
  color: #9aa7b8;
  margin-top: 5px;
}
.ops-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 16px;
  background: #f7faf9;
  border: 1px dashed #dbe9e2;
  border-radius: 10px;
}
.ops-empty > span {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: #e5f2eb;
  color: #4d9b76;
}
.ops-empty svg {
  width: 16px;
  height: 16px;
}
.ops-empty strong {
  font-size: 12px;
  font-weight: 600;
  color: #4a6d61;
}
.ops-empty p {
  font-size: 10px;
  color: #8a9c94;
  line-height: 1.7;
  margin-top: 5px;
}
.ops-scope {
  color: #96a2b3;
  font-size: 9px;
  line-height: 1.8;
  padding-top: 13px;
  margin-top: 14px;
  border-top: 1px solid #edf1f6;
}
.ops-backup-list {
  display: grid;
  gap: 14px;
  max-height: 650px;
  overflow: auto;
}
.ops-backup-card {
  padding: 18px;
  border: 1px solid #e1e8f2;
  border-radius: 11px;
  background: #fcfdff;
  min-width: 0;
}
.ops-backup-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.ops-backup-icon {
  width: 37px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf0fd;
  color: #4972bd;
  flex: 0 0 auto;
}
.ops-backup-icon svg {
  width: 21px;
  height: 21px;
}
.ops-backup-heading strong {
  display: block;
  font-size: 13px;
  color: #3b5576;
  font-weight: 650;
}
.ops-backup-heading small {
  display: block;
  font-size: 10px;
  color: #8c9db3;
  margin-top: 5px;
}
.ops-backup-totals {
  display: flex;
  gap: 22px;
  padding: 17px 0;
  margin-top: 4px;
  font-size: 10px;
  color: #8b9bb0;
}
.ops-backup-totals strong {
  color: #546d8f;
  font-size: 12px;
  font-weight: 650;
}
.ops-included {
  padding: 11px 0;
  border-top: 1px solid #e7edf6;
  border-bottom: 1px solid #e7edf6;
}
.ops-included summary {
  cursor: pointer;
  font-size: 10px;
  color: #6c83a4;
}
.ops-included dl {
  font-size: 10px;
  margin-top: 12px;
  color: #7d8fa7;
}
.ops-included dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
}
.ops-included dd {
  margin: 0;
  color: #45617f;
}
.ops-verified-time {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #8c9db3;
  font-size: 9px;
  margin: 13px 0;
}
.ops-verified-time svg {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}
.ops-backup-actions {
  display: grid;
  gap: 6px;
}
.ops-backup-actions button {
  font-size: 10px;
  padding: 10px;
  border-radius: 7px;
  background: transparent;
  color: #667e9f;
  border-color: transparent;
}
.ops-backup-actions .ops-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  background: #2554c4;
  border-color: #2554c4;
}
.ops-download svg {
  width: 14px;
  height: 14px;
}
.ops-download:hover {
  background: #1d45a6 !important;
}
.ops-backup-actions button:last-child:hover {
  background: #edf2fb;
}
.ops-storage-note {
  display: flex;
  gap: 10px;
  padding: 18px 0 0;
  margin-top: 17px;
  border-top: 1px solid #e7edf6;
}
.ops-storage-note > svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #8ba0bd;
}
.ops-storage-note strong {
  color: #607b9d;
  font-size: 10px;
  font-weight: 600;
}
.ops-storage-note p {
  color: #8e9fb4;
  font-size: 10px;
  line-height: 1.8;
  margin: 6px 0;
}
.ops-storage-note small {
  color: #a0adbd;
  font-size: 9px;
}
.ops-loading {
  text-align: center;
  padding: 70px 20px;
  border: 1px solid #dfe6f0;
  background: #fff;
  border-radius: 14px;
}
.ops-loading strong {
  display: block;
  color: #496382;
  font-size: 16px;
}
.ops-loading p {
  font-size: 12px;
  color: #8c9db3;
  margin-top: 9px;
}
@media (max-width: 1050px) {
  .ops-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ops-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ops-backup-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ops-page-heading {
    margin-top: 23px;
    gap: 16px;
  }
  .ops-page-heading h2 {
    font-size: 24px;
  }
  .ops-page-heading > div > p:last-child {
    font-size: 11px;
  }
  .ops-page-actions {
    width: 100%;
  }
  .ops-page-actions button {
    flex: 1;
    padding: 0 9px;
    font-size: 10px;
  }
  .ops-overview {
    gap: 10px;
  }
  .ops-stat {
    padding: 16px;
    min-height: 140px;
  }
  .ops-stat-icon {
    width: 28px;
    height: 28px;
    top: 14px;
    right: 13px;
    border-radius: 8px;
  }
  .ops-stat-icon svg {
    width: 15px;
    height: 15px;
  }
  .ops-stat-label {
    font-size: 9px;
    max-width: calc(100% - 25px);
    min-height: 33px;
  }
  .ops-stat > strong {
    font-size: 27px;
    margin-top: 12px;
  }
  .ops-tone-green:last-child > strong {
    font-size: 24px;
  }
  .ops-stat > small {
    font-size: 9px;
  }
  .ops-panel {
    padding: 17px;
  }
  .ops-layout,
  .ops-main {
    gap: 16px;
  }
  .ops-panel-heading h3 {
    font-size: 15px;
  }
  .ops-panel-heading p {
    font-size: 10px;
  }
  .ops-panel .ops-table td {
    padding: 12px 7px;
    font-size: 10px;
  }
  .ops-panel .ops-table th {
    padding: 10px 7px;
    font-size: 8px;
  }
  .ops-table code {
    font-size: 9px;
  }
  .ops-pill {
    font-size: 8px;
    padding: 5px;
  }
  .ops-empty {
    padding: 18px 12px;
    gap: 10px;
  }
  .ops-empty strong {
    font-size: 11px;
  }
  .ops-backup-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .ops-backup-card {
    padding: 16px;
  }
}

.ops-panel .ops-table td {
  font-size: 12px;
}
.ops-table code {
  font-size: 11px;
}
.ops-panel-heading p,
.ops-empty p {
  font-size: 11px;
}
.ops-scope {
  font-size: 10px;
}
.ops-backup-actions button,
.ops-included summary {
  font-size: 11px;
}
@media (max-width: 600px) {
  .ops-panel .ops-table td {
    font-size: 11px;
  }
  .ops-table code {
    font-size: 10px;
  }
  .ops-panel .ops-table th {
    font-size: 9px;
  }
  .ops-pill {
    font-size: 9px;
  }
}

.ops-email-list {
  display: grid;
  gap: 14px;
}
.ops-email-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  background: #fff;
}
.ops-email-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ops-email-card header strong {
  font-size: 15px;
  color: #24374d;
}
.ops-email-reference,
.ops-email-attempt {
  margin-bottom: 12px;
}
.ops-email-card span:not(.ops-pill) {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #68788d;
  margin-bottom: 5px;
}
.ops-email-reference code {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  color: #41516a;
}
.ops-email-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ops-email-error {
  padding: 12px;
  border-radius: 8px;
  background: #fff8ed;
  color: #75501e;
}
.ops-email-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.ops-email-card footer small {
  font-size: 11px;
  color: #718096;
  line-height: 1.6;
}
.ops-email-card button {
  flex-shrink: 0;
  border: 1px solid #cad8f5;
  background: #edf3ff;
  color: #2454bb;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  min-height: 42px;
  white-space: nowrap;
}
.ops-email-card button:disabled {
  opacity: 0.6;
}
@media (max-width: 650px) {
  .ops-email-card footer {
    align-items: stretch;
    flex-direction: column;
  }
  .ops-email-card button {
    width: 100%;
  }
  .ops-email-card {
    padding: 14px;
  }
}
.ops-issue-actions { display:flex; justify-content:flex-end; margin:-3px 0 12px; }
.ops-issue-actions button { padding:8px 12px; border:1px solid #d6e1f0; border-radius:8px; background:#f8faff; color:#365992; font-size:11px; }
.ops-issue-actions button:hover { background:#edf3ff; }
