/* Αεροδρόμιο Χίου (jkhwatch.gr) — στυλ σελίδας, v2.
   Brand: πορτοκαλί #FC6808 και μπλε #102038, δειγματοληψία από assets/brand/jkh_logo_source.jpeg
   (build/make_brand.py). Το πορτοκαλί χρησιμοποιείται μόνο ως διακόσμηση (γραμμές, σήματα)·
   για κείμενο και συνδέσμους χρησιμοποιούνται αποχρώσεις με αντίθεση AA.
   Γραφήματα: παλέτα του dataviz skill (--accent, --accent-2), ανεξάρτητη από το brand.
   Ετικέτες κατάστασης (Γεγονός/Στόχος/Δημοσίευμα/Εκτίμηση): πράσινο/μωβ/χρυσό/γκρι, διακριτά από
   το πορτοκαλί, με αντίθεση ≥ 4,5:1 στο φόντο τους. Τα charts διαβάζουν τα tokens μέσω theme(). */

:root {
  color-scheme: light;
  --brand: #FC6808;         /* πορτοκαλί λογοτύπου: μόνο διακόσμηση */
  --brand-ink: #B34500;     /* πορτοκαλί για κείμενο (5,6:1 σε λευκό) */
  --navy: #102038;          /* μπλε λογοτύπου */
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f1f0ec;
  --tint: #fff6ef;          /* πολύ ανοιχτό πορτοκαλί: banner */
  --ink: #0f1520;
  --muted: #52514e;
  --faint: #898781;
  --line: #e3e1da;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --accent: #2a78d6;        /* γραφήματα σειρά 1 */
  --accent-2: #eda100;      /* γραφήματα σειρά 2 */
  --warn: #d03b3b;
  --link: #17325f;          /* μπλε λογοτύπου, λίγο πιο ανοιχτό (12,7:1) */
  --link-hover: #B34500;
  --fact: #0a7d0a;
  --target: #4a3aa7;
  --reported: #8a6500;
  --estimate: #6b6a65;
  --v-yes: #0f766e;
  --v-partial: #9a5b00;
  --v-no: #b42318;
  --v-unproven: #6b4fa3;
  --v-pending: #52514e;
  --focus: #2a78d6;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(16, 32, 56, 0.05), 0 4px 16px rgba(16, 32, 56, 0.04);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 70ch;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand-ink: #ffa463;
    --bg: #0e1117;
    --surface: #161a22;
    --surface-2: #1f2430;
    --tint: #1d1912;
    --ink: #ecebe7;
    --muted: #c9c8c0;
    --faint: #8d8c86;
    --line: #2a303c;
    --grid: #2a2f3a;
    --axis: #3a404c;
    --accent: #3987e5;
    --accent-2: #c98500;
    --warn: #e05a5a;
    --link: #ffa463;
    --link-hover: #ffc89e;
    --fact: #3fcf3f;
    --target: #a79cf0;
    --reported: #f2c230;
    --estimate: #a8a7a0;
    --v-yes: #5eead4;
    --v-partial: #f5b453;
    --v-no: #ff8a80;
    --v-unproven: #c4b5fd;
    --v-pending: #c9c8c0;
    --focus: #86b6ef;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand-ink: #ffa463;
  --bg: #0e1117;
  --surface: #161a22;
  --surface-2: #1f2430;
  --tint: #1d1912;
  --ink: #ecebe7;
  --muted: #c9c8c0;
  --faint: #8d8c86;
  --line: #2a303c;
  --grid: #2a2f3a;
  --axis: #3a404c;
  --accent: #3987e5;
  --accent-2: #c98500;
  --warn: #e05a5a;
  --link: #ffa463;
  --link-hover: #ffc89e;
  --fact: #3fcf3f;
  --target: #a79cf0;
  --reported: #f2c230;
  --estimate: #a8a7a0;
  --v-yes: #5eead4;
  --v-partial: #f5b453;
  --v-no: #ff8a80;
  --v-unproven: #c4b5fd;
  --v-pending: #c9c8c0;
  --focus: #86b6ef;
  --shadow: none;
}

/* ---------- βάση ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 56px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.005em; }
h1 { font-size: clamp(1.75rem, 4.8vw, 2.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
h3 { font-size: 1.15rem; margin-top: 1.6em; }
h4 { font-size: 1.02rem; margin-top: 1.2em; }
p { margin: 0 0 0.9em; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 700px) { .wrap { padding-left: 24px; padding-right: 24px; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 30;
  background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 6px;
  border: 1px solid var(--line);
}
.skip-link:focus { top: 8px; }

.notice {
  border: 1px solid var(--warn); border-radius: var(--radius);
  padding: 12px 16px; background: var(--surface); margin-top: 16px;
}

/* ---------- header / footer ---------- */
.site-header { background: var(--surface); border-top: 4px solid var(--brand); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 20px; padding-top: 12px; padding-bottom: 10px;
}
.brand { display: inline-flex; align-items: center; border-radius: 10px; }
.brand-logo { display: block; width: auto; height: 52px; }
@media (max-width: 480px) { .brand-logo { height: 42px; } }
/* σε σκούρο θέμα: ανοιχτή εκδοχή του logo μέσω <picture> + prefers-color-scheme (build/make_brand.py, Δ3) */
.brand picture, .site-footer picture { display: contents; }
.site-name { margin: 0; font-weight: 650; color: var(--muted); font-size: 0.95rem; flex: 1 1 auto; }
.as-of { margin: 0; color: var(--muted); font-size: 0.92rem; }
.as-of strong { color: var(--ink); }

.site-nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.site-nav ul {
  list-style: none; margin: 0 auto; padding-top: 6px; padding-bottom: 6px;
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.site-nav li { flex: 0 0 auto; scroll-snap-align: start; }
.site-nav a {
  display: inline-block; padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 550;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[href="#closure"] { color: var(--brand-ink); }

.site-footer {
  margin-top: 56px; padding: 28px 0 36px;
  border-top: 4px solid var(--navy); background: var(--surface); color: var(--muted);
}
.footer-inner { display: flex; gap: 16px; align-items: flex-start; }
.footer-mark { flex: 0 0 auto; width: 56px; height: 56px; }
.site-footer strong { color: var(--ink); }

/* ---------- ενότητες ---------- */
section { padding: 48px 0 8px; scroll-margin-top: 56px; }
section + section { border-top: 1px solid var(--line); margin-top: 40px; }
.prose { max-width: var(--measure); }
.section-intro { font-size: 1.05em; color: var(--ink); }
.lead { font-size: 1.15em; max-width: var(--measure); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  margin: 16px 0; min-width: 0;
}
@media (min-width: 700px) { .card { padding: 22px; } }
.card-title { font-size: 1.02rem; font-weight: 700; margin: 0 0 10px; }
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card-grid > .card { margin: 0; }

/* «Μάθετε περισσότερα»: βάθος για τον ερευνητή */
details.more { margin: 16px 0; border-top: 1px dashed var(--line); padding-top: 8px; }
details.more > summary { font-size: 0.98rem; }
details.more > summary::after { content: " ↓"; }
details.more[open] > summary::after { content: " ↑"; }

/* ---------- γραφήματα ---------- */
.chart {
  position: relative; width: 100%; min-height: 320px;
  background: var(--surface); border-radius: 8px;
}
.chart--gauge { min-height: 340px; }
.chart--timeline { min-height: 440px; }
.chart--payments { min-height: 420px; }
.chart--forecast { min-height: 360px; }
.chart--traffic { min-height: 340px; }
.chart--money-split { min-height: 230px; }
@media (max-width: 600px) {
  .chart { min-height: 260px; }
  .chart--gauge { min-height: 290px; }
  .chart--timeline { min-height: 420px; }
  .chart--payments { min-height: 380px; }
  .chart--forecast { min-height: 380px; }
  .chart--traffic { min-height: 320px; }
  .chart--money-split { min-height: 270px; }
}
.chart-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  margin: 0; padding: 16px; text-align: center;
  color: var(--muted); font-size: 0.9rem;
  border: 1px dashed var(--line); border-radius: 8px;
}
details.chart-data { margin-top: 12px; }
details > summary {
  cursor: pointer; color: var(--link); font-weight: 650; padding: 6px 0;
  width: fit-content; min-height: 32px;
}
details[open] > summary { margin-bottom: 8px; }

/* ---------- 0. banner αναστολής (κανόνας Α: ≤ 420 px στα 1280, ≤ 520 px στα 375) ---------- */
.closure {
  margin-top: 16px; padding: 14px 14px 4px;
  background: var(--tint); border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-left: 6px solid var(--brand); border-radius: var(--radius);
}
@media (min-width: 700px) { .closure { padding: 16px 22px 6px; } }
section.closure { scroll-margin-top: 56px; }
.closure-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 6px; }
.closure h2 { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.35rem); }
.closure-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: 0.8rem; font-weight: 650; color: var(--ink); line-height: 1.35;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: 0 0 auto;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.closure-status { font-size: 0.98em; max-width: 90ch; }
.closure-status p { margin: 0 0 6px; }
.closure-blocks { display: grid; gap: 8px; grid-template-columns: 1fr; margin: 8px 0 4px; grid-auto-flow: row dense; }
@media (min-width: 640px) { .closure-blocks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .closure-blocks { grid-template-columns: repeat(4, 1fr); } }
.closure-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-width: 0;
}
.closure-block[open] { grid-column: 1 / -1; }
.closure-block > summary {
  width: 100%; list-style: none; color: var(--ink); display: grid; grid-template-columns: 26px 1fr auto;
  gap: 8px; align-items: center; padding: 7px 10px; margin: 0; min-height: 44px;
}
.closure-block[open] > summary { border-bottom: 1px solid var(--line); }
.closure-block > summary::-webkit-details-marker { display: none; }
.closure-block > summary::after { content: "+"; color: var(--brand-ink); font-weight: 700; font-size: 1.1rem; }
.closure-block[open] > summary::after { content: "−"; }
.cb-icon { color: var(--brand-ink); display: grid; place-items: center; }
.cb-icon svg { width: 20px; height: 20px; }
.cb-text { min-width: 0; display: grid; }
.closure-block > summary h3 { display: block; font-size: 0.95rem; margin: 0; line-height: 1.3; color: var(--ink); }
.cb-sub { font-size: 0.8rem; font-weight: 450; color: var(--muted); line-height: 1.3; }
.cb-body { padding: 8px 14px 12px; }
.closure-block .prose { font-size: 0.95em; }
.closure-more details.more { margin: 4px 0 6px; border-top: 0; padding-top: 0; }
.closure-more details.more > summary { font-size: 0.9rem; min-height: 28px; padding: 2px 0; }
.scen-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.scen-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.scen-when { font-weight: 700; }
.impact { margin-bottom: 16px; }
.impact h4 { margin-bottom: 6px; }

.approach { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 0.85rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.approach[data-a="full"] { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.approach[data-a="weekly"] { border-style: dashed; }
.approach[data-a="night"] { border-style: dotted; }

/* πίνακας που γίνεται κάρτες στο κινητό */
.compare-table { margin-top: 8px; }
.stack-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.stack-table th, .stack-table td { border-top: 1px solid var(--line); padding: 8px 10px; }
.stack-table thead th { background: var(--surface-2); }
@media (max-width: 699px) {
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table th, .stack-table td { display: block; width: 100%; }
  .stack-table tr { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 10px; padding: 6px 10px; background: var(--surface); }
  .stack-table th, .stack-table td { border: 0; padding: 3px 0; text-align: left; }
  .stack-table th[scope="row"] { font-size: 1rem; }
  .stack-table td::before { content: attr(data-label) ": "; color: var(--muted); font-size: 0.85rem; }
  .stack-table td.num { text-align: left; }
}

/* κενό πληροφόρησης: τρία σκέλη, ήρεμη και πλήρης εμφάνιση */
.gap { margin: 10px 0; border-radius: 10px; background: var(--surface-2); padding: 10px 14px; max-width: var(--measure); }
.gap-title { margin: 0 0 6px; font-weight: 700; }
.gap dl { margin: 0; display: grid; gap: 6px; }
.gap-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 640px) { .gap-row { grid-template-columns: 13.5em 1fr; } }
.gap dt { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.gap dt::before { display: inline-block; width: 1.3em; color: var(--ink); }
.gap-row--known dt::before { content: "✓"; color: var(--fact); }
.gap-row--pending dt::before { content: "◷"; }
.gap-row--where dt::before { content: "→"; }
.gap dd { margin: 0; font-size: 0.95rem; }

/* ---------- 1. hero: (δείκτης | «Με μια ματιά») → 4 KPI (Δ2)· στο κινητό: TL;DR → δείκτης → KPI ---------- */
#hero { padding-top: 22px; }
.h1-visual {
  font-size: clamp(1.6rem, 4.2vw, 2.3rem); font-weight: 750; line-height: 1.2; letter-spacing: -0.015em;
  margin: 0 0 0.35em; color: var(--ink);
}
#hero .lead { font-size: 1.05em; margin-bottom: 4px; }
#hero .lead p { margin-bottom: 0.4em; }
.tldr { border-top: 4px solid var(--navy); margin: 0; }
.tldr-title { font-size: 1.15rem; margin: 0 0 10px; }
.tldr-grid { display: grid; gap: 0; grid-template-columns: 1fr; }
.tldr-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.tldr-item:first-child { border-top: 0; padding-top: 2px; }
.tldr-icon {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand-ink);
}
.tldr-icon svg { width: 20px; height: 20px; }
.tldr-label { margin: 0; font-size: 0.78rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.tldr-item[data-k="obstacles"] .tldr-label { color: var(--brand-ink); }
.tldr-head { margin: 1px 0 3px; font-weight: 750; font-size: 1.02rem; line-height: 1.3; }
.tldr-text { margin: 0; font-size: 0.92rem; line-height: 1.5; }

.hero-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; margin: 14px 0 16px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; grid-template-areas: "gauge tldr"; align-items: stretch; }
  .hero-grid > .gauge-card { grid-area: gauge; }
  .hero-grid > .tldr { grid-area: tldr; }
}
.gauge-card { margin: 0; }
.gauge-caption {
  margin: 4px 0 10px; font-weight: 650; font-size: 1rem;
  padding: 6px 12px; border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 6px 6px 0;
}
.gauge-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.gauge-stat { border-top: 3px solid var(--accent); padding-top: 6px; }
.gauge-stat--time { border-top: 2px solid var(--muted); padding-top: 7px; }
.gauge-stat .value { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.gauge-stat .label { color: var(--muted); font-size: 0.88rem; }
.gauge-stat .label + div { margin-top: 4px; }

.kpis { container-type: inline-size; min-width: 0; }
.kpi-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@container (min-width: 420px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@container (min-width: 880px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; box-shadow: var(--shadow);
}
.kpi .label { margin: 0; color: var(--muted); font-size: 0.92rem; }
.kpi .value { margin: 0; font-size: 1.55rem; font-weight: 700; line-height: 1.2; }
.kpi .value .arrow { color: var(--faint); font-weight: 400; }
.nowrap, time { white-space: nowrap; }
.kpi .sub { margin: 0; font-size: 0.9rem; color: var(--muted); }
.kpi .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ---------- ετικέτες και παραπομπές ---------- */
.badge {
  --c: var(--fact);
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.8rem; font-weight: 600; line-height: 1.3;
  padding: 2px 8px; border-radius: 1em; /* χάπι σε μία γραμμή, στρογγυλεμένο ορθογώνιο όταν αναδιπλώνεται */
  color: var(--ink);
  background: color-mix(in srgb, var(--c) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c) 55%, var(--surface));
  vertical-align: middle; white-space: normal;
}
.badge-icon { color: var(--c); font-weight: 700; }
.badge[data-status="TARGET"] { --c: var(--target); border-style: dashed; }
.badge[data-status="REPORTED"] { --c: var(--reported); }
.badge[data-status="ESTIMATE"] { --c: var(--estimate); border-style: dashed; }
.badge-neutral {
  display: inline-block; font-size: 0.8rem; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}

.cite {
  font: inherit; font-size: 0.78em; font-weight: 600; line-height: 1.2;
  color: var(--link); background: transparent;
  border: 1px solid color-mix(in srgb, var(--link) 40%, transparent);
  border-radius: 4px; padding: 0 4px; margin: 0 1px; cursor: pointer;
  vertical-align: 0.1em; white-space: nowrap;
  min-height: 1.4em; position: relative;
}
.cite-br { opacity: 0.6; }
/* μεγαλύτερη περιοχή αφής χωρίς να αλλάζει η γραμμή του κειμένου */
.cite::after { content: ""; position: absolute; inset: -8px -3px; }
.cite:hover { background: color-mix(in srgb, var(--link) 12%, transparent); }
.cites { display: inline; }

/* ---------- έργα ---------- */
.project-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .project-grid { grid-template-columns: 1fr 1fr; } }
.project h3 { margin-top: 0; }
.project dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0 0 12px; }
.project dt { color: var(--muted); }
.project dd { margin: 0; min-width: 0; }
@media (max-width: 480px) {
  .project dl { grid-template-columns: 1fr; }
  .project dd { margin-bottom: 6px; }
}
.item-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.item-list li { padding-top: 10px; border-top: 1px solid var(--line); }
.item-list .badge { margin-right: 4px; }

/* ---------- χρονολόγιο ---------- */
.deadline-cols { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .deadline-cols { grid-template-columns: 1fr 1fr; } }
.deadline-cols h4 { margin: 0 0 8px; font-size: 1rem; }
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list li { display: grid; grid-template-columns: 7.2em 1fr; gap: 2px 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.dl-list time { font-weight: 650; font-variant-numeric: tabular-nums; }

.timeline-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline-list li { position: relative; padding: 4px 0 14px 18px; }
.timeline-list li::before {
  content: ""; position: absolute; left: -7px; top: 10px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--faint);
}
.timeline-list li[data-status="FACT"]::before { background: var(--fact); border-color: var(--fact); }
.timeline-list li[data-status="TARGET"]::before { border-style: dashed; border-color: var(--target); }
.timeline-list li[data-status="REPORTED"]::before { border-color: var(--reported); }
.timeline-list .tl-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.timeline-list time { font-weight: 650; font-variant-numeric: tabular-nums; }
.timeline-list .tl-title { font-weight: 600; }
.timeline-list p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- καθυστερήσεις ---------- */
.delay-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .delay-grid { grid-template-columns: 1fr 1fr; } }
.delay { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.delay h3 { margin: 0; font-size: 1.05rem; }
.delay .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.delay p { margin: 0; }
.evidence { --c: var(--accent); }
.evidence[data-level="Ισχυρή"] { font-weight: 650; color: var(--ink); }
.related { border-top: 1px solid var(--line); padding-top: 8px; font-size: 0.95rem; color: var(--muted); }
.notes { margin-top: 16px; }

/* ---------- πίνακες ---------- */
.table-wrap { position: relative; overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
caption { text-align: left; font-weight: 650; padding: 10px 12px; }
th, td { text-align: left; vertical-align: top; padding: 8px 12px; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--surface-2); font-weight: 650; font-size: 0.9rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finance-table td:first-child { min-width: 14em; }
.sources-table td:nth-child(2) { min-width: 16em; }
.table-stack { display: grid; gap: 16px; }

/* ---------- σενάρια ---------- */
.method-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 860px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }
.method { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.method[data-status="TARGET"] { border-top: 4px solid var(--target); }
.method[data-status="ESTIMATE"] { border-top: 4px dashed var(--estimate); }
.method h3 { margin: 0; font-size: 1rem; }
.method .date { font-size: 1.5rem; font-weight: 650; margin: 0; }
.method ul { margin: 0; padding-left: 1.1em; font-size: 0.95rem; }
.method p { margin: 0; font-size: 0.95rem; }
.caveat { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--warn); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.caveat p:last-child { margin-bottom: 0; }

/* ---------- πηγές ---------- */
.downloads { padding-left: 1.2em; }
.filter { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter legend { padding: 0; margin-bottom: 6px; font-weight: 600; width: 100%; }
.filter label {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--surface);
}
.filter input { accent-color: var(--accent); margin: 0; }
.filter label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.filter label:has(input:disabled) { opacity: 0.55; cursor: default; }
.rel { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--ink); font-size: 1.05rem; }
.faq .prose { padding: 4px 0 0; }

/* ---------- dialog ---------- */
dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
dialog::backdrop { background: rgba(11, 11, 11, 0.45); }
.dialog-body { padding: 20px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-kicker { margin: 0; color: var(--muted); font-weight: 600; }
.dialog-close {
  font: inherit; font-size: 1.5rem; line-height: 1; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer;
}
#source-dialog-title { font-size: 1.15rem; margin: 10px 0 12px; }
.dialog-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 0 0 16px; }
.dialog-meta dt { color: var(--muted); }
.dialog-meta dd { margin: 0; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px;
  border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.button:hover { filter: brightness(1.08); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

@media print {
  .site-nav, .skip-link, .chart-placeholder { display: none; }
  details > *:not(summary) { display: block; }
}
@media (forced-colors: active) {
  .badge, .cite, .kpi, .card { border: 1px solid CanvasText; }
}

/* ---------- 2. σύγκριση των δύο έργων ---------- */
.compare { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 20px 0 12px; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
.cmp-col {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; min-width: 0;
}
.cmp-head { padding: 16px 18px 14px; color: #fff; background: var(--navy); }
.cmp-col[data-project="terminal"] .cmp-head { background: #3d4a5c; }
.cmp-head h3 { margin: 2px 0 8px; font-size: 1.1rem; color: #fff; }
.cmp-kicker { margin: 0; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: #ffb27a; }
.cmp-col[data-project="terminal"] .cmp-kicker { color: #d6dde8; }
.cmp-head .badge { color: #0f1520; background: #fff; border-color: #fff; }
.cmp-col dl { margin: 0; padding: 4px 18px 14px; }
.cmp-row { padding: 12px 0; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row dt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 2px; }
.cmp-row dd { margin: 0; }
.cmp-big { font-size: 1.7rem; font-weight: 750; margin: 0; line-height: 1.2; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cmp-k { display: block; font-size: 0.85rem; color: var(--muted); }
.rec-date { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 3. ζωή στη Χίο ---------- */
.life-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 1000px) { .life-grid { grid-template-columns: repeat(3, 1fr); } }
.life-grid > .card { margin: 0; }
.life-card h3 { margin-top: 0; display: flex; gap: 10px; align-items: baseline; }
.life-letter {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 0.95rem; transform: translateY(2px);
}
.life-card .prose { font-size: 0.97em; }
.bullets { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 0.95em; }
.myth-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .myth-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .myth-grid { grid-template-columns: repeat(3, 1fr); } }
.myth { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.myth-claim { font-weight: 700; margin-bottom: 8px; }
.myth p:last-child { margin-bottom: 0; }

/* ετυμηγορίες: χρώμα + εικονίδιο + κείμενο */
.verdict {
  --c: var(--v-pending);
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem;
  padding: 3px 10px 3px 4px; border-radius: 8px; color: var(--ink);
  background: color-mix(in srgb, var(--c) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 60%, var(--surface));
}
.verdict-icon {
  display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 6px;
  background: var(--c); color: var(--surface); font-size: 0.85em;
}
.verdict[data-v="yes"] { --c: var(--v-yes); }
.verdict[data-v="partial"] { --c: var(--v-partial); }
.verdict[data-v="no"] { --c: var(--v-no); }
.verdict[data-v="unproven"] { --c: var(--v-unproven); }
.verdict[data-v="pending"] { --c: var(--v-pending); border-style: dashed; }

/* ---------- 4. χρονολόγιο: φίλτρα, μετα-στοιχεία ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.chips-label { font-weight: 650; font-size: 0.9rem; margin-right: 4px; }
.chip {
  font: inherit; font-size: 0.86rem; cursor: pointer; min-height: 34px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--surface); color: var(--ink);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] .muted { color: #d6dde8; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--link); border-color: var(--link); color: #111; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chip[aria-pressed="true"] { background: var(--link); border-color: var(--link); color: #111; }
  :root:not([data-theme="light"]) .chip[aria-pressed="true"] .muted { color: #333; }
}
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 6px; font-size: 0.88rem; }
.type-chip { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 0.8rem; }
.rel-chip { font-size: 0.8rem; color: var(--muted); }
.rel-chip b { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; border: 1.5px solid var(--muted); color: var(--ink); font-size: 0.8rem; margin-right: 2px; }
.rel-chip[data-rel="A"] b { border-color: var(--fact); }
.rel-chip[data-rel="B"] b { border-color: var(--target); }
.doc-link { font-weight: 650; white-space: nowrap; }

/* ---------- 7. ποιότητα ---------- */
.q-card { position: relative; }
.q-card h3 { margin-top: 0; padding-right: 36px; }
.q-step { position: absolute; top: 14px; right: 16px; margin: 0; font-weight: 800; font-size: 1.4rem; color: var(--brand-ink); opacity: 0.8; }
.q-card .prose { font-size: 0.97em; }
.law { font-size: 0.8rem; font-weight: 700; color: var(--muted); }

/* ---------- 8. δήλωση vs πραγματικότητα ---------- */
.fc-list { display: grid; gap: 16px; }
.fc { display: grid; gap: 16px 24px; grid-template-columns: 1fr; margin: 0; border-left: 5px solid var(--v-pending); }
.fc[data-v="yes"] { border-left-color: var(--v-yes); }
.fc[data-v="partial"] { border-left-color: var(--v-partial); }
.fc[data-v="no"] { border-left-color: var(--v-no); }
.fc[data-v="pending"] { border-left-style: dashed; }
@media (min-width: 980px) { .fc { grid-template-columns: 1.1fr 1.3fr 0.9fr; } }
.fc-label { margin: 0 0 6px; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.fc blockquote {
  margin: 0 0 8px; padding: 0 0 0 14px; border-left: 3px solid var(--brand);
  font-size: 1.02em; font-style: italic;
}
.fc blockquote p { margin: 0; }
.fc-who { font-size: 0.88rem; color: var(--muted); margin: 0; }
.fc-facts .item-list { font-size: 0.93rem; }

/* ---------- 12. λεξικό ---------- */
.glossary-list { display: grid; gap: 0 32px; grid-template-columns: 1fr; margin: 16px 0 0; }
@media (min-width: 820px) { .glossary-list { grid-template-columns: 1fr 1fr; } }
.gl-item { padding: 10px 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.gl-item:target { background: color-mix(in srgb, var(--brand) 10%, transparent); border-radius: 6px; }
.gl-item dt { font-weight: 700; }
.gl-item dd { margin: 0; color: var(--ink); }

/* tooltip όρων */
.gloss {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: help;
  text-decoration: underline dotted; text-decoration-color: var(--brand-ink); text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em; line-height: inherit; text-align: inherit;
}
.gloss:hover, .gloss[aria-expanded="true"] { background: color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 3px; }
.gloss-pop {
  position: absolute; z-index: 40; max-width: calc(100vw - 24px);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: 10px; padding: 10px 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  font-size: 0.92rem; line-height: 1.45; display: grid; gap: 4px;
}
.gloss-pop[hidden] { display: none; }
.gloss-pop a { font-size: 0.85rem; font-weight: 600; }

/* ---------- μικρές προσαρμογές ---------- */
@media (max-width: 520px) { .site-name { display: none; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tldr { border-top-color: var(--brand); }
  :root:not([data-theme="light"]) .closure-block > summary h3 { color: var(--ink); }
}
:root[data-theme="dark"] .tldr { border-top-color: var(--brand); }

/* banner στο κινητό: χωρίς υπότιτλους στα μπλοκ, πιο σφιχτό κείμενο (στόχος ≤ 520 px στα 375 px) */
@media (max-width: 639px) {
  .cb-sub { display: none; }
  .closure-status { font-size: 0.92em; line-height: 1.5; }
  .closure-top { margin-bottom: 4px; }
  .closure-blocks { gap: 6px; }
  .closure-block > summary { min-height: 42px; padding: 5px 10px; }
  .closure-more details.more > summary { font-size: 0.85rem; }
}
