.seal-pot-ois-launch {
  min-width: 88px;
}

.seal-pot-ois-dialog {
  width: min(1460px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.seal-pot-ois-dialog::backdrop {
  background: rgba(24, 36, 48, 0.5);
}

.seal-pot-ois-window {
  overflow: auto;
  max-height: calc(100vh - 48px);
  padding: 0 14px 14px;
  border: 1px solid #d7e1e8;
  border-radius: 14px;
  background: #f8fbfd;
  box-shadow: 0 18px 60px rgba(20, 35, 48, 0.26);
}

.seal-pot-ois-window > header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  margin: 0 -14px 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #dce6ec;
  background: rgba(248, 251, 253, 0.97);
}

.seal-pot-ois-window > header span {
  display: block;
  color: #60758a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
}

.seal-pot-ois-window > header strong {
  display: block;
  margin-top: 2px;
  color: #17344d;
  font-size: 15px;
}

.seal-pot-ois-note,
.seal-pot-ois-status {
  padding: 8px 10px;
  border: 1px solid #d6e1e9;
  border-radius: 8px;
  background: #fff;
  color: #5e7081;
  font-size: 11px;
}

.seal-pot-ois-status[data-state="error"] {
  border-color: #efb1a9;
  background: #fff4f2;
  color: #bf453d;
}

.seal-pot-ois-presets,
.seal-pot-ois-controls {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.seal-pot-ois-presets button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #c9d9e7;
  border-radius: 999px;
  background: #fff;
  color: #365c7b;
  font-size: 11px;
  font-weight: 800;
}

.seal-pot-ois-controls {
  justify-content: flex-end;
}

.seal-pot-ois-controls label {
  display: grid;
  gap: 4px;
  color: #647587;
  font-size: 10px;
  font-weight: 800;
}

.seal-pot-ois-controls input {
  height: 38px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid #cbd8e3;
  border-radius: 8px;
  background: #fff;
  color: #21384c;
}

.seal-pot-ois-table-wrap {
  margin-top: 10px;
  overflow: auto;
  border: 1px solid #d8e2e9;
  border-radius: 10px;
  background: #fff;
}

.seal-pot-ois-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.seal-pot-ois-table-wrap th,
.seal-pot-ois-table-wrap td {
  padding: 10px;
  border-bottom: 1px solid #e5ebf0;
  text-align: left;
  vertical-align: top;
}

.seal-pot-ois-table-wrap th {
  background: #eef4f8;
  color: #5a6e80;
  font-size: 10px;
}

.seal-pot-ois-table-wrap td {
  color: #263e52;
  font-size: 11px;
}

.seal-pot-ois-table-wrap td strong,
.seal-pot-ois-table-wrap td small {
  display: block;
}

.seal-pot-ois-table-wrap td small {
  margin-top: 3px;
  color: #728393;
  font-size: 9px;
}

@media (max-width: 900px) {
  .seal-pot-ois-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .seal-pot-ois-window {
    max-height: calc(100vh - 16px);
  }
}

/* Seal Pot OIS V2 apply states */
.seal-pot-ois-status[data-state="running"] {
  border-color: #b9d1e6;
  background: #f3f8fc;
  color: #365d7c;
}

.seal-pot-ois-status[data-state="complete"] {
  border-color: #b9d7c5;
  background: #f4faf6;
  color: #356548;
}

.seal-pot-ois-status[data-state="warning"] {
  border-color: #ead19b;
  background: #fff9e9;
  color: #80621f;
}

.seal-pot-ois-apply {
  min-width: 142px;
  font-weight: 800;
}

.seal-pot-ois-table-wrap tr.is-blocked td {
  background: #fafbfc;
}

.seal-pot-ois-table-wrap tr.is-blocked td:first-child {
  box-shadow: inset 3px 0 0 #d8a0a0;
}
