:root {
  color-scheme: dark;
  --bg: #111318;
  --panel: #1b1f27;
  --panel-2: #222835;
  --text: #edf1f7;
  --muted: #aeb7c6;
  --line: #323a48;
  --accent: #53d18a;
  --accent-2: #4aa3ff;
  --warn: #ffca5c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(17, 19, 24, 0.82), rgba(17, 19, 24, 0.94)),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1800&q=80") center / cover fixed;
  color: var(--text);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(27, 31, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
  margin: 24px 0 16px;
}

.panel {
  background: rgba(27, 31, 39, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.panel p {
  color: var(--muted);
  margin: 0 0 14px;
}

code,
pre {
  font-family: Consolas, "Courier New", monospace;
}

pre {
  overflow: auto;
  margin: 0;
  padding: 14px;
  background: #0d1016;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  background: var(--accent);
  color: #07120c;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

input {
  width: min(360px, 100%);
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0d1016;
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.stat {
  padding: 12px;
  background: var(--panel-2);
  border-radius: 6px;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.file-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.file {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #141821;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  min-width: 0;
}

.file span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file span:last-child {
  color: var(--accent-2);
  flex: 0 0 auto;
}

footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  padding: 18px 0 0;
}

footer span {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 760px) {
  .hero,
  .section-head {
    display: block;
  }

  .status {
    margin-top: 20px;
  }

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

  input {
    margin-top: 12px;
  }
}
