@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700;900&display=swap');

:root {
  --window: rgba(22, 24, 19, 0.94);
  --window-solid: #161813;
  --border: #25281f;
  --row: rgba(28, 29, 26, 0.8);
  --scan: rgba(110, 118, 81, 0.09);
  --header: #7b7e75;
  --status: #52544c;
  --line: #464843;
  --title: #a3a79b;
  --text: #bec0b8;
  --muted: #7b7e75;
  --button: rgba(123, 126, 117, 0.8);
  --button-text: #1c1d1a;
  --danger: rgba(255, 55, 55, 0.8);
  --red: #ff3737;
  --accent: #a7885e;
  --ok: #8fa86a;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  color: var(--text);
  font: 700 17px/1.55 'Inconsolata', ui-monospace, monospace;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(167, 136, 94, 0.07), transparent 60%),
    radial-gradient(ellipse at center, #1b1d17 0%, #0c0d0a 75%);
  background-attachment: fixed;
}

.window {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--window);
  border: 4px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.window.wide { max-width: 820px; }

.window::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px solid #272824;
  border-radius: 5px;
  background: repeating-linear-gradient(to bottom, var(--scan) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.win-inner { position: relative; padding: 22px 28px 28px; }

.win-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.win-title {
  margin: 0;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--header);
}

.win-line { flex: 1; height: 2px; background: var(--line); }

.win-status {
  font-size: 17px;
  color: var(--status);
  white-space: nowrap;
}

.win-status.ok { color: var(--ok); }
.win-status.bad { color: var(--red); }

.section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 12px;
  color: var(--title);
  font-size: 19px;
  text-transform: lowercase;
}

.section::before, .section::after {
  content: '';
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.section::before { width: 14px; }
.section::after { flex: 1; }

.prompt-title {
  margin: 4px 0 10px;
  color: var(--accent);
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
}

.prompt-title.bad { color: var(--red); text-shadow: 0 0 1px #761f1f; }

p { margin: 0 0 12px; color: var(--text); }

.fine { font-size: 14px; color: var(--muted); }

a { color: var(--accent); }

.rows { display: grid; gap: 8px; }

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--row);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted);
}

.row b { color: var(--text); font-weight: 700; }

.row .key {
  min-width: 26px;
  color: var(--accent);
}

.row .value { margin-left: auto; color: var(--text); text-align: right; }

.btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px 18px;
  border: 0;
  border-radius: 5px;
  background: var(--button);
  color: var(--button-text);
  font: 900 20px/1.2 'Inconsolata', ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.btn:hover { background: rgba(150, 153, 143, 0.9); }
.btn:active { transform: translateY(1px); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: rgba(255, 85, 85, 0.9); }

.profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--row);
  border: 1px solid var(--border);
  border-radius: 5px;
}

.profile img {
  width: 72px;
  height: 72px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: #1c1d1a;
}

.profile .name { color: var(--text); font-size: 22px; line-height: 1.2; }
.profile .sub { color: var(--muted); }

.legal {
  margin-top: 18px;
  font-size: 14px;
  color: var(--status);
}

.legal a { color: var(--muted); text-decoration: none; }
.legal a:hover { color: var(--accent); }

.doc h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 12px;
  color: var(--title);
  font-size: 19px;
  font-weight: 700;
  text-transform: lowercase;
}

.doc h2::before, .doc h2::after {
  content: '';
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.doc h2::before { width: 14px; }
.doc h2::after { flex: 1; }

.doc ul { margin: 0 0 12px; padding-left: 0; list-style: none; display: grid; gap: 8px; }

.doc li {
  padding: 10px 14px;
  background: var(--row);
  border: 1px solid var(--border);
  border-radius: 5px;
}

.doc strong { color: #d4d1c3; }

.doc code, code {
  color: var(--accent);
  font-family: inherit;
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 15px;
}

th {
  padding: 4px 12px;
  color: var(--status);
  text-align: left;
  font-weight: 700;
  text-transform: lowercase;
}

td {
  padding: 10px 12px;
  background: var(--row);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

td:first-child { border-left: 1px solid var(--border); border-radius: 5px 0 0 5px; color: var(--text); }
td:last-child { border-right: 1px solid var(--border); border-radius: 0 5px 5px 0; }
td:not(:first-child) { color: var(--muted); }

@media (max-width: 560px) {
  body { padding: 20px 10px; font-size: 16px; }
  .win-inner { padding: 18px 18px 22px; }
  .win-title { font-size: 26px; }
  .win-status { font-size: 14px; }
}
