/* state skin — Zeq DNA: black field, mint grid, square corners, system fonts only
   (the sandbox loads nothing from outside, so no web fonts). Text never below 16px. */
:root {
  --bg: #050807; --panel: #0b1110; --line: #1c2a26; --ink: #e8f3ef;
  --muted: #8fa39c; --mint: #3df5b0; --bad: #ff6b6b;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  /* the grid: faint mint lines every 32px */
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.bad { color: var(--bad); }
.ok { color: var(--mint); }

.bar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--bg); }
.brand { font-weight: 700; letter-spacing: .12em; color: var(--mint); }
#zid { flex: 1; overflow-wrap: anywhere; }
.keyf, .find { display: flex; gap: .5rem; }

main { max-width: 72rem; margin: 0 auto; padding: 1.25rem; display: grid; gap: 1rem; }
.note:empty { display: none; }
.note { margin: 0; padding: .75rem 1rem; border: 1px solid var(--line); background: var(--panel); }

.grid4 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.grid2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.tile { background: var(--panel); border: 1px solid var(--line); padding: 1rem 1.1rem; min-width: 0; }
h2 { margin: 0 0 .6rem; font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.big { margin: 0; font-size: 1.6rem; overflow-wrap: anywhere; }
.tile p { margin: .2rem 0 0; }

.phase { height: 6px; margin-top: .6rem; background: var(--line); }
.phase i { display: block; height: 100%; width: 0; background: var(--mint); transition: width .2s linear; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0 0 1rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.row-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; }
td { font-family: var(--mono); }
tbody tr { cursor: pointer; }
tbody tr:hover, tbody tr:focus { background: #10201b; outline: none; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: .75rem; }

pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 28rem; overflow: auto; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: .35rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }

input { font: inherit; padding: .5rem .6rem; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 0; min-width: 0; }
button { font: inherit; padding: .5rem 1rem; border: 1px solid var(--mint); background: transparent; color: var(--mint); border-radius: 0; cursor: pointer; }
button:hover { background: var(--mint); color: var(--bg); }
button:disabled { opacity: .4; cursor: default; }
footer { max-width: 72rem; margin: 1rem auto 2rem; padding: 0 1.25rem; }

@media (max-width: 40rem) {
  th:nth-child(5), td:nth-child(5) { display: none; }   /* time column hidden on phones */
  .big { font-size: 1.3rem; }
}
