:root {
  --bg: #f3efe6;
  --ink: #101418;
  --muted: #66716d;
  --panel: #ffffff;
  --line: #d9d0c0;
  --gold: #b99443;
  --green: #1e5a49;
  --red: #a64b4b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

button, input, select { font: inherit; }

button {
  min-height: 42px;
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #101418;
  color: #f6f2ea;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
}

.login-panel {
  width: min(420px, 100%);
  background: #171d23;
  border-color: #2e3841;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 64px);
  background: #101418;
  color: #f6f2ea;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f6f2ea;
}

.hero-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 42px clamp(20px, 5vw, 64px);
  background: #17221f;
  color: #f6f2ea;
}

.eyebrow {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(30px, 5vw, 54px); }
h2 { font-size: 20px; }

.quote-status {
  color: #c6d1cc;
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
}

.stats article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.stats span, .message, .list small {
  color: var(--muted);
}

.stats strong {
  display: block;
  font-size: 28px;
  margin-top: 8px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px) 42px;
}

.list {
  display: grid;
  gap: 10px;
}

.position {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 8px;
}

.position strong { display: block; }
.positive { color: var(--green); }
.negative { color: var(--red); }

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  margin-bottom: 12px;
}

input, select {
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 0 12px;
  width: 100%;
  background: #fff;
  color: var(--ink);
}

.login-panel input {
  background: #0d1115;
  color: #fff;
  border-color: #2e3841;
}

@media (max-width: 900px) {
  .hero-panel, .content-grid { grid-template-columns: 1fr; }
  .hero-panel { align-items: start; flex-direction: column; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

