.owner-opening {
  min-width: 0;
  color: #182b40;
  font-size: 14px;
}
.owner-opening-description {
  margin: 0 0 19px;
  color: #52657a;
  line-height: 1.5;
}
.owner-opening-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #dce3ea;
  border-radius: 11px;
  background: #fff;
}
.owner-opening-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #31475d;
  font-weight: 500;
}
.owner-opening-filters label > span { flex: none; white-space: nowrap; }
.owner-opening-filters input { width: 142px; }
.owner-opening-filters select { min-width: 113px; }
.owner-opening-filters :is(input, select),
.owner-opening-reason textarea {
  min-height: 36px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid #c5d1e0;
  border-radius: 7px;
  background: #fff;
  color: #182b40;
  font: inherit;
}
.owner-opening-filters input::placeholder,
.owner-opening-reason textarea::placeholder { color: #5d6d81; opacity: 1; }
.owner-opening :is(input, select, button, [tabindex]):focus-visible,
.owner-opening-dialog :is(textarea, button):focus-visible { outline: 2px solid #3269a7; outline-offset: 2px; }
.owner-opening-filters .el-button,
.owner-opening-dialog .el-dialog__footer .el-button {
  min-height: 36px;
  margin: 0;
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 550;
}
.owner-opening-filters .el-button--primary,
.owner-opening-dialog .el-button--primary {
  --el-button-bg-color: #234f80;
  --el-button-border-color: #234f80;
  --el-button-hover-bg-color: #1f4672;
  --el-button-hover-border-color: #1f4672;
}
.owner-opening-list-error,
.owner-opening-message {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #52657a;
}
.owner-opening-list-error { margin: 0 0 14px; padding: 9px 12px; background: #fceeee; border-radius: 7px; color: #963138; }
.owner-opening-table { overflow: hidden; border: 1px solid #dce3ea; border-radius: 11px; background: #fff; }
.owner-opening-scroll { width: 100%; overflow-x: auto; }
.owner-opening-scroll table {
  width: 100%;
  min-width: 938px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.owner-opening-scroll :is(th, td) { padding: 14px; border-bottom: 1px solid #e6ebf3; }
.owner-opening-scroll th { background: #f2f6fc; color: #31475d; white-space: nowrap; font-weight: 650; }
.owner-opening-scroll tbody tr:hover { background: #f8faff; }
.owner-opening-scroll td { max-width: 190px; overflow-wrap: anywhere; }
.owner-opening-scroll td:nth-child(-n+2) { font-weight: 550; }
.owner-opening-time { white-space: nowrap; }
.owner-opening-scroll .owner-opening-empty { padding-block: 35px; text-align: center; color: #52657a; }
.owner-opening-link {
  display: inline-block;
  min-height: 28px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #234f80;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.owner-opening-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.owner-opening-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: #fff4df;
  color: #865518;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.owner-opening-badge.is-approved { background: #eaf6ee; color: #206848; }
.owner-opening-badge.is-rejected { background: #fdeeee; color: #a33237; }
.owner-opening-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 16px;
  color: #52657a;
  font-size: 13px;
}
.owner-opening-pager button,
.owner-opening-page-number {
  min-width: 29px;
  padding: 3px 8px;
  border: 0;
  border-radius: 5px;
  color: #234f80;
  font: inherit;
  text-align: center;
}
.owner-opening-pager button { background: #f5f7fa; cursor: pointer; }
.owner-opening-pager button:disabled { color: #52657a; cursor: default; opacity: .62; }
.owner-opening-page-number { background: #e9f0f8; font-weight: 650; }

.owner-opening-backdrop.el-overlay { background: rgb(28 41 57 / 40%); }
.owner-opening-dialog.el-dialog {
  --el-dialog-padding-primary: 0;
  --el-dialog-border-radius: 14px;
  display: flex;
  flex-direction: column;
  max-width: calc(100vw - 30px);
  max-height: calc(100dvh - 54px);
  overflow: hidden;
  padding: 0;
  color: #182b40;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 18px 62px rgb(0 0 0 / 18%);
}
.owner-opening-dialog .el-dialog__header {
  flex: none;
  margin: 0;
  padding: 17px 62px 17px 24px;
  border-bottom: 1px solid #dce3ea;
}
.owner-opening-dialog .el-dialog__title { color: #182b40; font-size: 20px; line-height: 1.5; font-weight: 700; }
.owner-opening-dialog .el-dialog__headerbtn { inset: 16px 20px auto auto; width: 32px; height: 32px; border-radius: 6px; }
.owner-opening-dialog .el-dialog__headerbtn:hover { background: #eff3f8; }
.owner-opening-dialog .el-dialog__body { min-height: 0; overflow: auto; padding: 20px 24px 23px; color: #182b40; }
.owner-opening-dialog .el-dialog__footer {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  padding: 15px 24px;
  border-top: 1px solid #dce3ea;
  background: #f5f7fa;
}
.owner-opening-dialog .el-button--danger {
  --el-button-bg-color: #a33237;
  --el-button-border-color: #a33237;
  --el-button-hover-bg-color: #862a31;
  --el-button-hover-border-color: #862a31;
}
.owner-opening-dialog .el-button--danger.is-plain {
  --el-button-bg-color: white;
  --el-button-border-color: #e9bfc1;
  --el-button-text-color: #a33237;
  --el-button-hover-bg-color: #fdeeee;
  --el-button-hover-text-color: #862a31;
}
.owner-opening-note {
  margin: 0 0 17px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #f1f5fa;
  color: #365371;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.owner-opening-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  margin: 0;
}
.owner-opening-facts > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  column-gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf3;
}
.owner-opening-facts > .is-wide { grid-column: 1 / -1; }
.owner-opening-facts dt { color: #52657a; }
.owner-opening-facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; font-weight: 550; }
.owner-opening-log { margin-top: 18px; }
.owner-opening-log h3 { margin: 0 0 6px; color: #182b40; font-size: 15px; }
.owner-opening-log ol { margin: 0; padding: 0; list-style: none; }
.owner-opening-log li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  padding: 7px 0;
  color: #52657a;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.owner-opening-log li b { color: #263b53; }
.owner-opening-reason { display: grid; gap: 6px; color: #263b53; font-weight: 650; }
.owner-opening-reason b, .owner-opening-error { color: #a33237; }
.owner-opening-reason textarea { width: 100%; resize: vertical; font-weight: 400; line-height: 1.5; }
.owner-opening-error { margin: 8px 0 0; }

@media (max-width: 540px) {
  .owner-opening-filters { gap: 9px; padding: 11px; }
  .owner-opening-filters label { width: 100%; }
  .owner-opening-filters label > span { flex-basis: 57px; }
  .owner-opening-filters :is(input, select) { min-width: 0; width: 100%; }
  .owner-opening-dialog .el-dialog__header { padding-inline-start: 16px; }
  .owner-opening-dialog :is(.el-dialog__body, .el-dialog__footer) { padding-inline: 16px; }
  .owner-opening-facts { grid-template-columns: minmax(0, 1fr); }
}
