/* ELIZNA ADMIN R18.0.3 — Integration Control Room */
#elizna-integration-control-room.icr-page{
  --icr-navy:#071d33;
  --icr-navy-2:#102b46;
  --icr-ink:#17283a;
  --icr-muted:#687789;
  --icr-gold:#b5945b;
  --icr-line:rgba(20,41,62,.11);
  --icr-surface:#fffdf9;
  --icr-soft:#f7f4ed;
  --icr-good:#1f6c4f;
  --icr-attention:#9b6a17;
  --icr-failed:#8b3838;
  width:100%;
  min-width:0;
  color:var(--icr-ink);
  font-family:inherit;
  box-sizing:border-box;
}
#elizna-integration-control-room *,
#elizna-integration-control-room *::before,
#elizna-integration-control-room *::after{box-sizing:border-box}

.icr-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(270px,360px);
  gap:18px;
  padding:26px 28px;
  border:1px solid rgba(181,148,91,.28);
  border-radius:18px;
  background:
    radial-gradient(circle at 92% 10%,rgba(181,148,91,.18),transparent 31%),
    linear-gradient(135deg,#071d33,#102b46);
  color:#fff;
  box-shadow:0 18px 44px rgba(7,29,51,.10);
}
.icr-eyebrow{display:block;color:#d7bd8d;font-size:10px;font-weight:800;letter-spacing:.13em}
.icr-hero h1{margin:7px 0 8px;font-size:26px;line-height:1.1;font-weight:760;color:#fff}
.icr-hero p{max-width:850px;margin:0;color:rgba(255,255,255,.79);font-size:12.5px;line-height:1.6}
.icr-hero aside{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding:15px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(255,255,255,.055);
}
.icr-hero aside small{color:rgba(255,255,255,.74);font-size:10.5px;line-height:1.55}

.icr-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  padding:12px 0;
}
.icr-toolbar button{
  border:1px solid rgba(181,148,91,.55);
  border-radius:10px;
  padding:8px 12px;
  background:#fffdf9;
  color:#6b512b;
  font-size:10.5px;
  font-weight:760;
  cursor:pointer;
}
.icr-toolbar button:disabled{opacity:.55;cursor:default}
.icr-toolbar small{color:var(--icr-muted);font-size:9.5px}

.icr-metrics{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}
.icr-metric{
  padding:12px 13px;
  border:1px solid var(--icr-line);
  border-radius:12px;
  background:var(--icr-surface);
}
.icr-metric span{display:block;color:var(--icr-muted);font-size:9px;font-weight:730;text-transform:uppercase;letter-spacing:.04em}
.icr-metric strong{display:block;margin-top:4px;font-size:21px;line-height:1;color:var(--icr-ink)}
.icr-metric.good{border-color:rgba(31,108,79,.22)}
.icr-metric.attention{border-color:rgba(155,106,23,.25)}
.icr-metric.failed{border-color:rgba(139,56,56,.25)}

.icr-source-status{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin:10px 0;
  padding:10px 12px;
  border-radius:11px;
  border:1px solid var(--icr-line);
  background:#fffdf9;
}
.icr-source-status.good{border-color:rgba(31,108,79,.18)}
.icr-source-status.attention{border-color:rgba(155,106,23,.24);background:#fffaf0}
.icr-source-status strong{font-size:10px}
.icr-source-status small{font-size:9.5px;line-height:1.45;color:var(--icr-muted)}

.icr-section{
  margin-top:12px;
  padding:16px;
  border:1px solid var(--icr-line);
  border-radius:15px;
  background:var(--icr-surface);
}
.icr-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.icr-section-head span{display:block;color:var(--icr-gold);font-size:8.5px;font-weight:800;letter-spacing:.1em}
.icr-section-head h2{margin:3px 0 0;font-size:16px;line-height:1.2;color:var(--icr-ink)}
.icr-section-head>strong{
  min-width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:var(--icr-soft);
  font-size:14px;
  color:#5c4a30;
}

.icr-exception-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.icr-exception-card{
  min-width:0;
  padding:12px;
  border:1px solid rgba(155,106,23,.19);
  border-radius:12px;
  background:#fffcf6;
}
.icr-exception-card header{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.icr-exception-card header>div:first-child span{
  display:block;
  color:var(--icr-muted);
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.icr-exception-card header>div:first-child strong{
  display:block;
  margin-top:2px;
  font-size:11.5px;
  color:var(--icr-ink);
}
.icr-exception-card header>div:last-child{
  display:flex;
  gap:4px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.icr-exception-card p{margin:9px 0;color:#4d5d6c;font-size:9.8px;line-height:1.48}
.icr-exception-card a{font-size:9.5px;font-weight:740;color:#765629;text-decoration:none}
.icr-empty{padding:14px;border-radius:10px;background:var(--icr-soft);font-size:10px;color:var(--icr-muted)}

.icr-pill{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 7px;
  border-radius:999px;
  border:1px solid var(--icr-line);
  background:#f6f3ed;
  color:#566474;
  font-size:8px;
  font-weight:800;
  letter-spacing:.025em;
  white-space:nowrap;
}
.icr-pill.good{color:var(--icr-good);background:#f0f8f4;border-color:rgba(31,108,79,.18)}
.icr-pill.attention{color:#8a5c12;background:#fff7e7;border-color:rgba(155,106,23,.22)}
.icr-pill.failed{color:var(--icr-failed);background:#fff3f2;border-color:rgba(139,56,56,.22)}
.icr-pill.neutral{color:#4e647a;background:#f2f6f9;border-color:rgba(78,100,122,.18)}
.icr-pill.muted{color:#677586;background:#f4f5f6;border-color:rgba(104,119,137,.16)}

.icr-age{
  display:inline-flex;
  padding:3px 6px;
  border-radius:7px;
  background:#f5f3ee;
  color:#5e6a76;
  font-weight:720;
  white-space:nowrap;
}

.icr-table-wrap{
  width:100%;
  overflow:auto;
  border:1px solid rgba(20,41,62,.08);
  border-radius:12px;
}
.icr-table{
  width:100%;
  min-width:1450px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}
.icr-table th{
  position:sticky;
  top:0;
  z-index:1;
  padding:9px 8px;
  background:#f7f3ea;
  border-bottom:1px solid var(--icr-line);
  color:#756a5c;
  font-size:7.8px;
  text-transform:uppercase;
  letter-spacing:.055em;
  text-align:left;
}
.icr-table th:nth-child(1){width:180px}
.icr-table th:nth-child(2){width:105px}
.icr-table th:nth-child(3){width:105px}
.icr-table th:nth-child(4){width:115px}
.icr-table th:nth-child(5){width:130px}
.icr-table th:nth-child(6){width:75px}
.icr-table th:nth-child(7){width:200px}
.icr-table th:nth-child(8){width:430px}
.icr-table th:nth-child(9){width:70px}

.icr-table td{
  padding:9px 8px;
  vertical-align:top;
  border-bottom:1px solid rgba(20,41,62,.065);
  color:#354656;
  font-size:9.3px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.icr-table tbody tr:last-child td{border-bottom:0}
.icr-table tbody tr:hover td{background:#fbf8f2}
.icr-table td:first-child strong{display:block;color:var(--icr-ink);font-size:10px}
.icr-table td:first-child small{
  display:block;
  margin-top:2px;
  color:var(--icr-gold);
  font-size:7.8px;
  font-weight:750;
  text-transform:uppercase;
}
.icr-table td:first-child em{
  display:block;
  margin-top:4px;
  color:var(--icr-muted);
  font-size:7.8px;
  font-style:normal;
}
.icr-open{
  display:inline-flex;
  padding:5px 7px;
  border:1px solid rgba(181,148,91,.3);
  border-radius:8px;
  color:#705228;
  text-decoration:none;
  font-size:8.5px;
  font-weight:750;
  background:#fffdf9;
}

.icr-governance{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:12px;
}
.icr-governance article{
  padding:11px 12px;
  border:1px solid var(--icr-line);
  border-radius:11px;
  background:#faf8f3;
}
.icr-governance span{
  display:block;
  color:var(--icr-gold);
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.icr-governance p{margin:5px 0 0;color:var(--icr-muted);font-size:9.3px;line-height:1.5}
.icr-footer{
  margin-top:12px;
  padding:11px 12px;
  border-top:1px solid var(--icr-line);
  color:var(--icr-muted);
  font-size:8.8px;
  line-height:1.5;
}
.icr-loading{
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid var(--icr-line);
  border-radius:16px;
  background:#fffdf9;
  color:var(--icr-muted);
  font-size:11px;
}
.icr-loading span{
  width:14px;
  height:14px;
  border:2px solid rgba(181,148,91,.25);
  border-top-color:#b5945b;
  border-radius:50%;
  animation:icr-spin .8s linear infinite;
}
@keyframes icr-spin{to{transform:rotate(360deg)}}

@media(max-width:1250px){
  .icr-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .icr-exception-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  .icr-hero{grid-template-columns:1fr;padding:20px}
  .icr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .icr-exception-grid,.icr-governance{grid-template-columns:1fr}
  .icr-toolbar{align-items:flex-start;flex-direction:column}
}
