
:root {
  --bg: #030913;
  --bg-2: #071426;
  --surface: rgba(8, 24, 42, 0.78);
  --surface-2: rgba(13, 36, 60, 0.74);
  --surface-3: rgba(8, 19, 34, 0.96);
  --line: rgba(98, 178, 255, 0.18);
  --line-strong: rgba(94, 204, 255, 0.42);
  --text: #eef7ff;
  --muted: #8ea4ba;
  --blue: #1688ff;
  --blue-2: #4fc3ff;
  --green: #55f08d;
  --red: #ff4747;
  --amber: #ffc247;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, Manrope, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 90% -10%, rgba(84, 177, 255, 0.32), transparent 34rem),
    radial-gradient(circle at 0% 22%, rgba(0, 119, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 70% 100%, rgba(55, 255, 154, 0.10), transparent 26rem),
    linear-gradient(145deg, #02050b 0%, #061326 46%, #020813 100%);
  letter-spacing: -0.01em;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
body::before {
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0, transparent 70%);
}
body::after {
  width: 34rem;
  height: 34rem;
  left: -12rem;
  bottom: -13rem;
  border: 1px solid rgba(22, 136, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(22, 136, 255, 0.22), 0 0 70px rgba(22, 136, 255, 0.24);
}
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.page-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 42px;
}
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 34px;
  align-items: end;
  padding: 30px 32px 28px;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 34px 34px 18px 18px;
  background:
    linear-gradient(135deg, rgba(4, 12, 23, 0.92), rgba(6, 27, 50, 0.82)),
    radial-gradient(circle at 82% 22%, rgba(73, 180, 255, 0.32), transparent 20rem),
    radial-gradient(circle at 18% 100%, rgba(0, 101, 255, 0.24), transparent 18rem);
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 2px;
  right: 40px;
  top: 82px;
  background: linear-gradient(90deg, transparent, rgba(124, 214, 255, 0.94), transparent);
  transform: rotate(-9deg);
  filter: drop-shadow(0 0 14px rgba(87, 185, 255, 0.9));
}
.hero::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(80, 181, 255, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(22, 136, 255, 0.18), 0 0 54px rgba(22, 136, 255, 0.14);
}
.brand {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.92);
  z-index: 2;
}
.brand-script {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: .04em;
  line-height: 1;
  font-weight: 400;
}
.brand-sub {
  margin-top: 7px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .62em;
  color: rgba(255,255,255,0.72);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 58px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 88px);
  line-height: .92;
  letter-spacing: -0.06em;
  color: #fff;
  text-shadow: 0 0 34px rgba(22, 136, 255, 0.22);
}
.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(225, 235, 244, 0.68);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.45;
}
.meta {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 10px;
  min-width: min(360px, 100%);
  padding: 18px;
  border: 1px solid rgba(95, 183, 255, 0.22);
  border-radius: 20px;
  background: rgba(3, 14, 28, 0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  color: rgba(229, 240, 250, 0.8);
  font-size: 13px;
}
.meta span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.meta span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 14px var(--blue-2);
  flex: 0 0 auto;
}
.tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 18px;
  margin: -1px 18px 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: rgba(3, 12, 23, 0.78);
  box-shadow: 0 18px 48px rgba(0,0,0,0.25);
  scrollbar-width: thin;
}
.tab {
  position: relative;
  min-width: max-content;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(93, 174, 255, 0.16);
  border-radius: 14px;
  background: rgba(11, 30, 52, 0.74);
  color: rgba(230, 241, 255, 0.76);
  cursor: pointer;

}
.tab:hover { border-color: rgba(94, 204, 255, 0.42); color: #fff; }
.tab.active {
  color: #fff;
  border-color: rgba(66, 181, 255, 0.72);
  background: linear-gradient(180deg, rgba(19, 146, 255, 0.96), rgba(1, 94, 202, 0.92));
  box-shadow: 0 10px 28px rgba(0, 101, 255, 0.32), inset 0 1px 0 rgba(255,255,255,0.24);
}
main { padding: 22px 0 0; }
.filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 25, 43, 0.84), rgba(4, 14, 27, 0.76));
  box-shadow: var(--shadow);
}
label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(203, 221, 237, 0.72);
}
select, input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(91, 168, 246, 0.2);
  border-radius: 13px;
  background: rgba(1, 13, 27, 0.74);
  color: var(--text);
  padding: 10px 12px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
select[multiple] { min-height: 104px; padding: 7px; }
select, input { color-scheme: dark; }
select option {
  background: #041326;
  color: #eaf6ff;
}
select option:checked {
  background: linear-gradient(180deg, #1688ff, #0a63d8);
  color: #ffffff;
}
select option:hover {
  background: #0b2a4a;
  color: #ffffff;
}
select[multiple] option {
  padding: 5px 7px;
  border-radius: 7px;
  margin: 1px 0;
}
input::placeholder { color: rgba(204, 220, 236, 0.56); }
select:focus, input:focus {
  border-color: rgba(85, 199, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(22, 136, 255, 0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
button {
  min-height: 42px;
  border: 1px solid rgba(77, 183, 255, 0.58);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(19, 146, 255, 0.95), rgba(0, 76, 176, 0.95));
  color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 101, 255, 0.26), inset 0 1px 0 rgba(255,255,255,0.22);
}
button.secondary {
  background: rgba(7, 22, 39, 0.8);
  color: #dff2ff;
  border-color: rgba(90, 186, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
button:hover { border-color: rgba(94, 204, 255, 0.55); }
.kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.kpi {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 18px;
  cursor: pointer;
  border: 1px solid rgba(87, 178, 255, 0.20);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 14%, rgba(25, 139, 255, 0.23), transparent 6rem),
    linear-gradient(180deg, rgba(14, 37, 62, 0.82), rgba(5, 18, 34, 0.82));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.07);

}
.kpi:hover {
  border-color: rgba(80, 198, 255, 0.62);
  box-shadow: 0 26px 70px rgba(0, 80, 180, 0.22), inset 0 1px 0 rgba(255,255,255,0.1);
}
.kpi .name {
  margin-bottom: 9px;
  color: rgba(223, 237, 251, 0.72);
  font-size: 12px;
  line-height: 1.25;
}
.kpi .value {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #fff;
  word-break: break-word;
  text-shadow: 0 0 22px rgba(22, 136, 255, 0.18);
}
.kpi:nth-child(10) {
  border-color: rgba(85, 240, 141, 0.48);
  background: radial-gradient(circle at 80% 18%, rgba(85, 240, 141, 0.20), transparent 7rem), linear-gradient(180deg, rgba(14, 54, 44, 0.85), rgba(5, 18, 34, 0.82));
}
.kpi:nth-child(10) .value { color: #aaffc8; text-shadow: 0 0 20px rgba(85, 240, 141, 0.28); }
.grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 18px;
}
section {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(8, 26, 44, 0.84), rgba(4, 14, 27, 0.82));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
}
section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 207, 255, 0.62), transparent);
}
h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #f2f8ff;
}
.table-wrap {
  position: relative;
  z-index: 1;
  overflow: auto;
  max-height: 640px;
  border: 1px solid rgba(89, 169, 247, 0.17);
  border-radius: 18px;
  background: rgba(1, 10, 20, 0.35);
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  white-space: nowrap;
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(113, 176, 232, 0.11);
  text-align: right;
  vertical-align: middle;
}
th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(4, 18, 34, 0.96);
  color: rgba(224, 241, 255, 0.82);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(91, 181, 255, 0.14);
}
td { color: rgba(232, 241, 250, 0.82); }
tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child, .left { text-align: left; }
tr.clickable { cursor: pointer; }
tr.clickable:hover { background: rgba(25, 130, 255, 0.08); }
.bar {
  height: 10px;
  min-width: 130px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(91, 141, 188, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.035);
}
.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 14px rgba(22, 136, 255, 0.45);
}
.status-ok { color: var(--green); font-weight: 800; }
.status-bad { color: var(--red); font-weight: 800; }
.note {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: rgba(203, 221, 237, 0.62);
  font-size: 13px;
  line-height: 1.5;
}
.detail-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.detail-title h2 { margin: 0; }
.hidden { display: none; }

@media (max-width: 1280px) {
  .filters { grid-template-columns: repeat(3, minmax(170px, 1fr)); }
  .kpis { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}
@media (max-width: 900px) {
  .page-shell { width: min(100% - 24px, 1480px); padding-top: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 26px 22px 24px; }
  .brand { position: relative; left: auto; top: auto; transform: none; text-align: left; order: -1; }
  .brand-sub { letter-spacing: .45em; }
  .hero-copy { padding-top: 8px; }
  .meta { min-width: 0; }
  .tabs { margin-left: 8px; margin-right: 8px; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .filters { grid-template-columns: 1fr; padding: 14px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { min-height: 112px; padding: 14px; }
    section { padding: 14px; border-radius: 20px; }
  .table-wrap { border: 0; border-radius: 0; max-height: none; overflow: visible; background: transparent; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  table { white-space: normal; font-size: 13px; }
  tr {
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid rgba(89, 169, 247, 0.16);
    border-radius: 16px;
    background: rgba(6, 20, 36, 0.70);
  }
  tr.clickable:hover { background: rgba(6, 20, 36, 0.70); }
  td {
    display: grid;
    grid-template-columns: minmax(112px, 42%) minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 0;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  td.left { text-align: right; }
  td::before {
    content: attr(data-label);
    color: rgba(203, 221, 237, 0.56);
    text-align: left;
    font-weight: 700;
  }
  .bar { min-width: 0; width: 100%; align-self: center; }
}
@media (max-width: 480px) {
  .page-shell { width: min(100% - 16px, 1480px); }
  h1 { font-size: 40px; }
  .lead { font-size: 15px; }
  .kpis { grid-template-columns: 1fr; }
  td { grid-template-columns: 1fr; text-align: left; }
  td.left { text-align: left; }
}


/* Performance layer v1.2: lighter public demo build */
body::before,
body::after,
.hero::before,
.hero::after,
section::before {
  display: none !important;
}
.kpi::after {
  content: none !important;
  display: none !important;
}
.meta,
.tabs,
.filters,
.kpi,
section {
  backdrop-filter: none !important;
}
.kpi,
section,
.filters,
.hero {
  box-shadow: var(--shadow);
}
.tab,
.kpi,
button {
  transition: none !important;
}
