:root {
  --wsa-navy: #0b2940;
  --wsa-blue: #176b96;
  --wsa-sky: #eaf5fc;
  --wsa-line: #dfe8f0;
  --wsa-muted: #728596;
  --wsa-orange: #c66a1b;
  --wsa-red: #b42318;
  --wsa-green: #087c50;
}

.wsa-ux {
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 160, 213, .10), transparent 32rem),
    linear-gradient(165deg, #f7fafd 0%, #eef4fa 58%, #e9f1f8 100%) !important;
}

.wsa-ux .panel {
  border: 1px solid var(--wsa-line) !important;
  border-radius: 17px !important;
  box-shadow: 0 8px 28px rgba(15, 53, 80, .055) !important;
}

.wsa-ux .panel:hover {
  box-shadow: 0 12px 34px rgba(15, 53, 80, .085) !important;
}

.wsa-ux .panel h3 {
  font-size: 15px !important;
  letter-spacing: .01em;
}

.wsa-ux table {
  border-collapse: separate !important;
  border-spacing: 0;
}

.wsa-ux th {
  background: #f3f8fb !important;
  color: #617789 !important;
  letter-spacing: .035em;
}

.wsa-ux td {
  border-bottom-color: #edf2f6 !important;
}

.wsa-ux tbody tr:hover td,
.wsa-ux tr:hover td {
  background: #f7fbfe !important;
}

.wsa-ux input,
.wsa-ux select,
.wsa-ux textarea {
  border-color: #ccdae5 !important;
  border-radius: 10px !important;
  background: #fff;
}

.wsa-ux .btn,
.wsa-ux button.pri {
  border-radius: 10px !important;
  box-shadow: 0 5px 14px rgba(15, 53, 80, .12);
}

.wsa-ux .ghost {
  border-radius: 9px !important;
  background: #fff;
}

.ux-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 23px 27px;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(118deg, #08243a 0%, #103e59 50%, #1b6a94 100%);
  box-shadow: 0 18px 48px rgba(15, 53, 80, .17);
}

.ux-hero::before,
.ux-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ux-hero::before {
  width: 330px;
  height: 330px;
  right: -110px;
  top: -190px;
  background: radial-gradient(circle, rgba(109, 204, 255, .26), transparent 70%);
}

.ux-hero::after {
  width: 210px;
  height: 210px;
  right: 190px;
  bottom: -165px;
  background: radial-gradient(circle, rgba(91, 219, 169, .16), transparent 70%);
}

.ux-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ux-kicker {
  color: #9ed6f3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ux-title {
  margin: 7px 0 7px;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
}

.ux-sub {
  max-width: 760px;
  color: #c7dfed;
  font-size: 13px;
  line-height: 1.75;
}

.ux-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ux-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--wsa-navy);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ux-btn.ghost {
  background: rgba(255, 255, 255, .09);
  color: #edf8ff;
  border: 1px solid rgba(255, 255, 255, .28);
}

.ux-focus {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
}

.ux-focus .label {
  color: #8ee1bd;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ux-focus .value {
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
}

.ux-focus .why {
  margin-left: auto;
  color: #bdd9e9;
  font-size: 11.5px;
}

.ux-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ux-kpi {
  position: relative;
  overflow: hidden;
  padding: 13px 14px 12px;
  border: 1px solid var(--wsa-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 53, 80, .045);
}

.ux-kpi::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--kpi-color, var(--wsa-blue));
}

.ux-kpi .label {
  color: #667b8e;
  font-size: 11.5px;
  font-weight: 750;
}

.ux-kpi .number {
  margin: 5px 0 2px;
  color: var(--wsa-navy);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.ux-kpi .hint {
  color: #93a1ae;
  font-size: 10.5px;
  line-height: 1.4;
}

.ux-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
  gap: 14px;
  margin-bottom: 14px;
}

.ux-split.equal {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ux-section {
  border: 1px solid var(--wsa-line);
  border-radius: 17px;
  padding: 17px 19px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: 0 7px 25px rgba(15, 53, 80, .05);
}

.ux-section-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ux-section-hd h3 {
  margin: 0;
  color: var(--wsa-navy);
  font-size: 15.5px;
}

.ux-section-hd p {
  margin-top: 4px;
  color: #7a8d9e;
  font-size: 11.5px;
  line-height: 1.55;
}

.ux-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.ux-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #d6e3ed;
  border-radius: 999px;
  background: #f8fbfd;
  color: #587084;
  font-size: 11.5px;
  font-weight: 750;
}

.ux-pill b {
  color: var(--wsa-navy);
}

.ux-pill.warn {
  border-color: #f0d39f;
  background: #fff8eb;
  color: #996019;
}

.ux-pill.bad {
  border-color: #efc7c3;
  background: #fff4f2;
  color: var(--wsa-red);
}

.ux-pill.ok {
  border-color: #bce4d1;
  background: #effaf5;
  color: var(--wsa-green);
}

.ux-link {
  color: var(--wsa-blue);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.ux-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ux-table-wrap {
  overflow: auto;
  border: 1px solid #e4ebf2;
  border-radius: 13px;
}

.ux-table-wrap table {
  min-width: 760px;
}

.ux-empty {
  padding: 28px 12px;
  color: #94a2af;
  text-align: center;
  font-size: 12.5px;
}

@media (max-width: 1120px) {
  .ux-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ux-split { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .ux-hero { padding: 20px 18px; }
  .ux-title { font-size: 23px; }
  .ux-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ux-focus .why { margin-left: 0; width: 100%; }
}
