:root {
  --ink: #0a1f14;
  --cream: #eafff1;
  --paper: #f1ead9;
  --paper-ink: #122019;
  --mist: #b9d4c4;
  --dim: #5a6a5b;
  --accent: #1d6b43;
  --row-alt: #ece4cf;
  --warm: #b3541e;
  --cold: #1e5fb3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--paper-ink);
  line-height: 1.5;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.site-header {
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(10, 31, 20, .25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { font-size: 1.05rem; letter-spacing: .02em; }
.brand-name { font-weight: 700; }
.brand-sep { color: var(--mist); margin: 0 6px; }
.brand-page { color: var(--mist); }

.btn-export {
  background: var(--cream);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s ease, transform .1s ease;
}
.btn-export:hover:not(:disabled) { transform: translateY(-1px); }
.btn-export:disabled { opacity: .45; cursor: not-allowed; }

.intro { padding-top: 24px; }
.intro h1 { font-size: 1.45rem; margin: 0 0 8px; color: var(--ink); }
.meta-line { margin: 0; color: var(--dim); font-size: .95rem; }
#updated { margin-left: 8px; }
.extremes { margin: 6px 0 0; font-size: .95rem; }

.controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}
.controls input[type="search"] {
  padding: 8px 12px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  min-width: 220px;
}
.controls .hint { color: var(--dim); font-size: .85rem; }

.table-scroll { overflow-x: auto; border-radius: 10px; box-shadow: 0 1px 4px rgba(10,31,20,.12); }

table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  font-size: .95rem;
}
thead th {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 10px;
  text-align: left;
  position: sticky;
  top: 0;
  white-space: nowrap;
  font-weight: 600;
}
thead th small { font-weight: 400; color: var(--mist); }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { background: #14311f; }
th.sorted-asc::after  { content: " ▲"; font-size: .7em; }
th.sorted-desc::after { content: " ▼"; font-size: .7em; }

tbody td { padding: 8px 10px; border-top: 1px solid #e3dcc8; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--row-alt); }
tbody tr:hover { background: #dff0e4; }

td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.col-il { font-weight: 600; color: var(--ink); }
td .plaka { color: var(--dim); font-weight: 400; font-size: .8em; margin-right: 6px; }
td.now-temp { font-weight: 700; }
td.hot  { color: var(--warm); }
td.cold { color: var(--cold); }
td.pending { color: var(--dim); font-style: italic; }

.site-footer {
  margin: 26px 0 40px;
  color: var(--dim);
  font-size: .85rem;
}
.site-footer a { color: var(--accent); }

@media (max-width: 640px) {
  .intro h1 { font-size: 1.15rem; }
  table { font-size: .85rem; }
  tbody td, thead th { padding: 6px 6px; }
}
