:root {
  --bg: #071320;
  --card: #0d2031;
  --card2: #10293e;
  --line: #21445d;
  --text: #effaff;
  --muted: #91aabd;
  --cyan: #5ce1e6;
  --green: #4ce39a;
  --amber: #ffc869;
  --red: #ff727c;
  --shadow: 0 25px 70px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 16% 0, #123957 0, transparent 31%), var(--bg);
  color: var(--text);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.shell { width: min(1180px, calc(100% - 34px)); margin: auto; }

.top {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand small { color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }

.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 900;
}

.live { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

main { padding: 46px 0 70px; }

.workspace { display: grid; grid-template-columns: 1fr 430px; gap: 36px; align-items: end; }

.heading h1 { font-size: clamp(36px, 5vw, 61px); line-height: 1; letter-spacing: -.045em; margin: 0; }
.heading > p:last-child { color: var(--muted); font-size: 17px; max-width: 670px; margin: 15px 0 0; }

.eyebrow {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 850;
}

.panel {
  background: linear-gradient(180deg, rgba(16, 41, 62, .96), rgba(11, 29, 45, .97));
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow);
}

.submit-card, .pad { padding: 21px; }
.submit-card { display: grid; gap: 12px; }
.submit-card label { font-size: 12px; font-weight: 800; }
.submit-card input { margin-top: 5px; }

.submit-card button {
  border: 0;
  background: linear-gradient(135deg, var(--cyan), #5aa7ff);
  color: #06121d;
  border-radius: 10px;
  padding: 13px 15px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.submit-card p { color: var(--muted); font-size: 11px; margin: 0; }

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #071724;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  outline: none;
}

input:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(92, 225, 230, .08); }

.notice {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
}

.notice.error { border-color: #6b313a; color: #ffc1c6; }
.hidden { display: none !important; }

.metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0; }
.metric { background: rgba(13, 32, 49, .95); border: 1px solid var(--line); border-radius: 13px; padding: 15px; }
.metric span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
}
.metric strong { font-size: 25px; display: block; margin-top: 4px; }
.metric small { color: var(--muted); }

.grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; }

.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-title h2 { font-size: 19px; margin: 0 0 15px; }

.ghost, .secondary {
  border: 1px solid var(--line);
  background: #123047;
  color: var(--text);
  border-radius: 9px;
  padding: 9px 11px;
  font-weight: 800;
  cursor: pointer;
}
.ghost { font-size: 12px; }
.secondary:hover, .ghost:hover { border-color: var(--cyan); }

textarea { min-height: 250px; resize: vertical; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }

.actions, .verify { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 10px; }

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

.verify-result {
  min-height: 102px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #071724;
  padding: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.safe {
  margin-top: 12px;
  border: 1px solid #225849;
  border-radius: 11px;
  background: rgba(76, 227, 154, .05);
  padding: 13px;
}
.safe strong { color: var(--green); }
.safe p { margin: 4px 0 0; color: #a8c6bb; font-size: 12px; }

.table-panel { margin-top: 12px; }
.table-panel a { color: var(--cyan); font-weight: 800; text-decoration: none; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 11px; }

table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: 12px; }
th { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .07em; background: #091a29; }
td { color: #c8d9e5; }
tr:last-child td { border-bottom: 0; }

.pill { display: inline-block; border-radius: 999px; padding: 4px 8px; font-size: 10px; font-weight: 900; }
.verified { background: rgba(76, 227, 154, .12); color: var(--green); }
.suspected { background: rgba(255, 114, 124, .12); color: var(--red); }
.other { background: rgba(255, 200, 105, .11); color: var(--amber); }

footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .workspace, .grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 20px, 1180px); }
  .brand small { display: none; }
  .metrics { grid-template-columns: 1fr; }
  .actions, .verify { grid-template-columns: 1fr; }
  .heading h1 { font-size: 40px; }
}
