:root {
  color-scheme: light;
  --ink: #19322d;
  --muted: #697a75;
  --green: #173f35;
  --green-2: #276553;
  --mint: #cce9dd;
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --line: #d9ddd5;
  --coral: #e26d4f;
  --shadow: 0 22px 50px rgba(24, 50, 45, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
button, a { font: inherit; }
a { color: inherit; }

.topbar {
  height: 76px; padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(25, 50, 45, .12); background: rgba(245, 240, 231, .92);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font: 800 12px/1 ui-monospace, monospace; letter-spacing: .06em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.status-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 12px; }
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: #bd9c51; box-shadow: 0 0 0 4px rgba(189, 156, 81, .15); }
.status-pill.running span { background: var(--coral); animation: pulse 1.2s infinite; }
.status-pill.ok span { background: #3b8d70; box-shadow: 0 0 0 4px rgba(59, 141, 112, .15); }

main { max-width: 1180px; margin: 0 auto; padding: 56px 24px 80px; }
.control-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.eyebrow { margin: 0 0 14px; color: var(--green-2); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; max-width: 740px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 82px); font-weight: 500; letter-spacing: -.045em; line-height: .94; }
.lead { max-width: 600px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.run-card { padding: 26px; border-radius: 24px; background: var(--green); color: #fff; box-shadow: var(--shadow); }
.run-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.run-card .label { color: #aad0c2; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.run-card h2 { margin: 8px 0 0; font-size: 21px; }
.live-icon { width: 14px; height: 14px; margin-top: 5px; border: 3px solid var(--mint); border-radius: 50%; }
.run-card p { min-height: 42px; margin: 20px 0; color: #bcd5cc; font-size: 13px; line-height: 1.55; }
#search-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field-wide, .run-button { grid-column: 1 / -1; }
.field > span { color: #aad0c2; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid rgba(204, 233, 221, .24); border-radius: 10px; outline: none; background: rgba(255, 255, 255, .08); color: #fff; font: 700 12px/1 Inter, sans-serif; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #cce9dd 50%), linear-gradient(135deg, #cce9dd 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(204, 233, 221, .1); }
.field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .75; }
.run-button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--coral); color: #fff; font-weight: 800; cursor: pointer; transition: transform .18s, background .18s; }
.run-button:hover:not(:disabled) { transform: translateY(-2px); background: #ee7555; }
.run-button:disabled { cursor: wait; opacity: .58; }
.run-button svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.run-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; color: #88aa9f; font-size: 11px; }

.facts { margin: 56px 0 76px; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(25, 50, 45, .14); }
.facts div { min-height: 96px; padding: 22px 24px; border-right: 1px solid rgba(25, 50, 45, .14); }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts span, .facts b { display: block; }
.facts span { margin-bottom: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.facts b { font-size: 14px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; }
.section-heading h2 span { display: inline-grid; place-items: center; min-width: 32px; height: 32px; margin-left: 8px; border-radius: 50%; background: var(--mint); font: 800 13px/1 Inter, sans-serif; vertical-align: 5px; }
.downloads { display: flex; gap: 8px; }
.downloads a { padding: 10px 14px; border: 1px solid #bec8c2; border-radius: 10px; text-decoration: none; font-size: 12px; font-weight: 700; }
.downloads a:hover { background: var(--paper); }
.table-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 30px rgba(24, 50, 45, .06); }
table { width: 100%; border-collapse: collapse; }
th { padding: 15px 18px; background: #edf1eb; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
td { padding: 18px; border-top: 1px solid #e5e8e1; font-size: 13px; vertical-align: middle; }
td:first-child { width: 48px; color: var(--muted); font-family: Georgia, serif; font-size: 17px; }
.property b, .property span { display: block; }
.property b { max-width: 360px; font-size: 14px; }
.property span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.price { white-space: nowrap; }
.price b { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.price span { color: var(--muted); font-size: 11px; }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--green-2); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.verified::before { content: "✓"; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); }
.go-link { display: inline-grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--green); color: #fff; text-decoration: none; font-weight: 800; }
.go-link:hover { background: var(--coral); }
.empty-state { padding: 62px 24px; text-align: center; }
.empty-state b, .empty-state span { display: block; }
.empty-state span { margin-top: 8px; color: var(--muted); font-size: 13px; }

footer { max-width: 1180px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(25, 50, 45, .14); color: var(--muted); font-size: 11px; }

@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(226, 109, 79, 0); } }
@media (max-width: 860px) {
  .control-panel { grid-template-columns: 1fr; gap: 36px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(3) { border-top: 1px solid rgba(25, 50, 45, .14); padding-left: 0; }
  .facts div:nth-child(4) { border-top: 1px solid rgba(25, 50, 45, .14); }
  .table-shell { overflow-x: auto; }
  table { min-width: 780px; }
}
@media (max-width: 560px) {
  .topbar { height: 68px; padding-inline: 18px; }
  .status-pill b { display: none; }
  main { padding: 38px 18px 64px; }
  h1 { font-size: 46px; }
  .lead { font-size: 15px; }
  #search-form { grid-template-columns: 1fr; }
  .field-wide, .run-button { grid-column: auto; }
  .facts { margin: 42px 0 58px; }
  .facts div { min-height: 84px; padding: 18px 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .downloads { width: 100%; }
  .downloads a { flex: 1; text-align: center; }
  footer { padding-inline: 18px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
