/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg-a: #031820;
  --bg-b: #0e3b43;
  --ink: #e8f4ef;
  --muted: #aac3bc;
  --card: rgba(3, 19, 26, 0.72);
  --line: rgba(156, 200, 188, 0.25);
  --ok: #4be0a6;
  --warn: #f6b55f;
  --danger: #ff7f72;
  --accent: #9afbbf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(1050px 480px at 0% 0%, rgba(151, 243, 202, 0.14), transparent 60%),
    radial-gradient(880px 300px at 100% 15%, rgba(244, 195, 115, 0.1), transparent 55%),
    linear-gradient(160deg, var(--bg-a) 0%, var(--bg-b) 65%, #0a2a34 100%);
}

.wrap {
  width: min(1180px, 94vw);
  margin: 28px auto 54px;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(140deg, rgba(8, 31, 38, 0.85), rgba(5, 20, 30, 0.7));
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.tabs {
  margin-top: 12px;
  display: inline-flex;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(4, 20, 31, 0.6);
}

.tab {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  background: transparent;
  color: var(--muted);
}

.tab.active {
  border-color: rgba(190, 255, 223, 0.45);
  color: #062a24;
  background: linear-gradient(90deg, #90f4cc, #d7ff93);
}

.panel {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}

.controls {
  padding: 16px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  grid-template-columns: 2fr 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  border: 1px solid rgba(146, 207, 188, 0.34);
  border-radius: 12px;
  padding: 10px 11px;
  background: rgba(2, 15, 24, 0.72);
  color: var(--ink);
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(118, 235, 198, 0.94);
  box-shadow: 0 0 0 2px rgba(118, 235, 198, 0.14);
}

input:disabled {
  opacity: 0.7;
}

.actions {
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.checkbox {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

button {
  border: 1px solid rgba(190, 255, 223, 0.6);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #03231e;
  background: linear-gradient(90deg, #90f4cc, #d7ff93);
}

button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.ghost {
  border-radius: 8px;
  padding: 6px 10px;
  text-transform: none;
  letter-spacing: 0;
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(150, 205, 189, 0.35);
}

.ghost:hover {
  color: var(--ink);
  border-color: rgba(186, 248, 223, 0.55);
}

.status {
  margin-left: auto;
  font-size: 0.86rem;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(120, 245, 192, 0.86);
  color: #08362a;
}

.status.busy {
  background: rgba(246, 181, 95, 0.9);
  color: #563500;
}

.status.error {
  background: rgba(255, 127, 114, 0.92);
  color: #4b0f09;
}

.grid {
  padding: 12px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.controls-inline {
  border-top: 1px solid var(--line);
}

.field-span-2 {
  grid-column: span 2;
}

.card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(2, 13, 20, 0.72);
  padding: 12px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.span4 {
  grid-column: span 4;
}

.span6 {
  grid-column: span 6;
}

.span8 {
  grid-column: span 8;
}

.span12 {
  grid-column: span 12;
}

.metrics {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.delta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.delta {
  border: 1px solid rgba(145, 201, 186, 0.24);
  border-radius: 10px;
  padding: 8px 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delta span {
  font-size: 0.82rem;
  color: var(--muted);
}

.delta.bad {
  border-color: rgba(255, 127, 114, 0.4);
  background: rgba(70, 21, 20, 0.3);
}

.metric-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--muted);
}

.bar {
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  background: rgba(147, 210, 189, 0.16);
}

.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #89f1c9, #d7ff93);
  transition: width 260ms ease;
}

.bar.risk > span {
  background: linear-gradient(90deg, #f7c77d, #ff7f72);
}

.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 6px 10px;
  gap: 6px 10px;
  margin: 0;
}

.kv dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.kv dd {
  margin: 0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88rem;
  word-break: break-word;
}

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

.tag {
  border: 1px solid rgba(148, 206, 188, 0.25);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(10, 39, 44, 0.66);
  font-size: 0.79rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item {
  border: 1px solid rgba(145, 201, 186, 0.24);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(5, 20, 28, 0.72);
}

.sev {
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-right: 6px;
}

.sev.low {
  background: rgba(75, 222, 166, 0.22);
  color: #8dffd8;
}

.sev.medium {
  background: rgba(246, 181, 95, 0.25);
  color: #ffd79f;
}

.sev.high,
.sev.critical {
  background: rgba(255, 127, 114, 0.24);
  color: #ffc1b9;
}

pre {
  margin: 0;
  max-height: 300px;
  overflow: auto;
  border: 1px solid rgba(147, 202, 188, 0.25);
  border-radius: 10px;
  background: rgba(3, 17, 25, 0.85);
  padding: 10px;
  font-size: 0.82rem;
  white-space: pre-wrap;
}

.empty {
  color: var(--muted);
}

.muted-text {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .controls {
    grid-template-columns: 1fr;
  }

  .span4,
  .span6,
  .span8 {
    grid-column: span 12;
  }

  .status {
    margin-left: 0;
  }

  .delta-grid {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: span 1;
  }
}

