.el-dialog.client-level-dialog {
  width: min(610px, calc(100% - 32px));
  max-height: 84vh;
  max-height: 84dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  background: #fff;
}
.client-level-dialog .el-dialog__header { display: flex; align-items: center; flex: none; padding: 16px 52px 15px 24px; font-size: 16px; line-height: 24px; }
.client-level-dialog .el-dialog__headerbtn { top: 13px; right: 16px; width: 32px; height: 32px; }
.client-level-dialog .el-dialog__body { overflow-y: auto; min-height: 0; padding: 22px 24px 24px; }
.cy-level { font-size: 14px; color: #24364c; line-height: 1.55; overflow-wrap: anywhere; word-break: normal; }
.cy-level__identity {
  display: flex; align-items: center; gap: 15px; padding: 22px;
  background: linear-gradient(112deg, #eaf2ff, #f6faff);
  border: 1px solid #d5e5fb; border-radius: 12px;
}
.cy-level__symbol {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border: 1px solid #c8dcfa; border-radius: 13px; background: #fff; color: #2664b2; font-size: 27px;
}
.cy-level__label { display: flex; align-items: center; gap: 6px; color: #4c6380; font-size: 13px; }
.cy-level__swatch { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #0002; }
.cy-level__name { display: block; color: #173b70; font-size: 24px; line-height: 1.4; font-weight: 650; }
.cy-level .cy-level__expiry { margin: 5px 0 0; color: #4c6380; font-size: 13px; }
.cy-level__section { margin-top: 22px; }
.cy-level__section h3 { margin: 0 0 10px; font-size: 15px; color: #233952; font-weight: 600; }
.cy-level__metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr)); gap: 8px 18px; margin: 0; }
.cy-level__metrics > div { padding: 4px 0 4px 12px; border-left: 3px solid #d5e6ff; }
.cy-level__metrics dt { font-size: 13px; color: #53667b; }
.cy-level__metrics dd { margin: 1px 0 0; font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; }
.cy-level__choices { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.cy-level__choices button, .cy-level__retry {
  cursor: pointer; font: inherit; font-size: 13px; line-height: 1.4; text-align: left;
  border-radius: 7px; padding: 6px 12px; border: 1px solid #cedbe9; color: #42566f; background: white;
  overflow-wrap: anywhere; max-width: 100%; white-space: normal;
}
.cy-level__choices button[aria-pressed="true"], .cy-level__retry { color: #18589f; border-color: #aacaf0; background: #f0f6ff; }
.cy-level button:focus-visible { outline: 2px solid #276fc9; outline-offset: 2px; }
.cy-level__table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.cy-level__table td, .cy-level__table th { text-align: left; padding: 9px 12px; border-bottom: 1px solid #e4ebf3; }
.cy-level__table th { background: #f5f8fc; color: #546a82; font-size: 13px; font-weight: 500; }
.cy-level__table td:last-child, .cy-level__table th:last-child { text-align: right; width: 30%; }
.cy-level__table td:last-child { color: #20568e; font-weight: 600; font-variant-numeric: tabular-nums; }
.cy-level .cy-level__notice { margin: 16px 0 0; color: #52677f; font-size: 14px; }
.cy-level > .cy-level__notice:first-child { margin-top: 0; }
.cy-level__error { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (max-width: 540px) {
  .el-dialog.client-level-dialog { width: calc(100% - 24px); margin-top: 5vh !important; max-height: 90vh; max-height: 90dvh; }
  .client-level-dialog .el-dialog__header { padding-left: 16px; }
  .client-level-dialog .el-dialog__body { padding: 16px; }
  .cy-level__identity { padding: 17px 14px; gap: 11px; }
  .cy-level__name { font-size: 21px; }
  .cy-level__section { margin-top: 18px; }
}
