:root {
  --bg: #f4f5f2;
  --card: #ffffff;
  --ink: #1d2329;
  --muted: #66707a;
  --line: #dfe2dc;
  --soft: #eef0ec;
  --accent: #0d5c63;
  --accent-ink: #ffffff;
  --warn: #a4451b;
  --eu: #1f4fb3;
  --eu-bg: #e8eefc;
  --radius: 10px;
  --st-initial: #7a8591;
  --st-approved: #4f5bb5;
  --st-tender_open: #0f7fb3;
  --st-tender_eval: #b7791f;
  --st-awarded: #7d4fb0;
  --st-executing: #1f6fd1;
  --st-completed: #2f8a4c;
  --st-completed_nocontract: #2a8a85;
  --st-cancelled: #b23b3b;
  --ph-plan: #4f5bb5;
  --ph-tender: #b7791f;
  --ph-exec: #1f6fd1;
  --ph-closed: #2f8a4c;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --sev-crit: #d03b3b;
  --sev-serious: #ec835a;
  --sev-warn: #fab219;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181c; --card: #1c2228; --ink: #e6e9ec; --muted: #9aa4ad; --line: #2d353d; --soft: #232a31;
    --accent: #4fb3b9; --accent-ink: #0d1316; --warn: #f0a070; --eu: #8fb0ff; --eu-bg: #1d2a47;
    --st-initial: #9aa4ad; --st-approved: #8f99ea; --st-tender_open: #4fb4e6; --st-tender_eval: #e2a94a;
    --st-awarded: #b38ae0; --st-executing: #6aa6f0; --st-completed: #5cc27c; --st-completed_nocontract: #5cc2bc; --st-cancelled: #ea7272;
    --ph-plan: #8f99ea; --ph-tender: #e2a94a; --ph-exec: #6aa6f0; --ph-closed: #5cc27c;
    --series-1: #3987e5; --series-2: #d95926;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0 auto; background: var(--bg); color: var(--ink);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  padding: 0 16px 32px; max-width: 1280px;
}
a { color: var(--accent); }
code, .num { font-variant-numeric: tabular-nums; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .85em; }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.r { text-align: right; }
.nowrap { white-space: nowrap; }
.warn { color: var(--warn); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

input, select, button, .btn {
  font: inherit; font-size: 14px; min-height: 38px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); padding: 0 10px;
}
input:focus, select:focus, button:focus, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
button, .btn { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--accent); }

/* Κεφαλίδα */
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand h1 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.brand h1 a { color: inherit; text-decoration: none; }
.top .meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); align-items: center; }
.seg { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; }
.seg a { white-space: nowrap; padding: 6px 12px; border-radius: 7px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.seg a.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.notice { background: #fff4d6; color: #6b4d00; border: 1px solid #ecd28a; padding: 8px 12px; border-radius: var(--radius); font-size: 14px; }
@media (prefers-color-scheme: dark) { .notice { background: #3a3218; color: #f0d98a; border-color: #5e5022; } }

/* Αναζήτηση & φίλτρα */
.finder { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; min-height: 44px; font-size: 15px; padding: 0 14px; }
.search button { min-height: 44px; padding: 0 18px; }
.primary { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(220px, 2fr) minmax(180px, 1.3fr); gap: 10px; }
.finder label, .finder fieldset { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); margin: 0; min-width: 0; }
.finder select { width: 100%; }
.hint { cursor: help; }
.more > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "▸"; transition: transform .15s; }
.more[open] > summary::before { transform: rotate(90deg); }
.more-grid { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.more-grid fieldset { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
.more-grid fieldset legend { font-size: 12px; padding: 0; margin-bottom: 4px; width: 100%; }
.more-grid fieldset legend select { font-size: 12px; min-height: 0; height: auto; padding: 0 2px; border: 0; background: transparent; color: var(--accent); width: auto; }
.more-grid input[type=date] { width: 150px; }
.more-grid input[type=text] { width: 140px; }
.more-grid label:first-child { min-width: 200px; }
.more-grid .check { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); min-height: 38px; }
.more-grid .check input { min-height: 0; width: 18px; height: 18px; }

/* Ενεργά φίλτρα */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 13px; }
.chip span { color: var(--muted); font-size: 15px; line-height: 1; }
.chip:hover { border-color: var(--accent); }
.chip:hover span { color: var(--accent); }
.chip.clear { border-style: dashed; color: var(--accent); }

/* Φάσεις — συνδεδεμένες σε ροή */
.phases { display: grid; grid-template-columns: .8fr repeat(4, 1fr); gap: 8px; margin: 14px 0 0; position: relative; }
.phase {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--c, var(--accent));
}
.phase .lbl { font-size: 13px; font-weight: 700; color: var(--muted); }
.phase .cnt { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.phase .amt { font-size: 12.5px; color: var(--muted); }
.phase:hover { border-color: var(--c, var(--accent)); }
.phase.on { background: color-mix(in srgb, var(--c, var(--accent)) 11%, var(--card)); border-color: var(--c, var(--accent)); }
.phase.on .lbl { color: var(--ink); }
.phase.zero { opacity: .55; }
.phase:not(.all):not(:last-child)::after {
  content: ""; position: absolute; right: -8px; top: 50%; width: 8px; height: 2px; background: var(--line);
}
.ph-plan { --c: var(--ph-plan); } .ph-tender { --c: var(--ph-tender); } .ph-exec { --c: var(--ph-exec); } .ph-closed { --c: var(--ph-closed); }
.phase.all { --c: var(--muted); }

.stages { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 8px; background: var(--soft); border-radius: var(--radius); }
.stg { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 14px; border: 1px solid transparent; }
.stg b { font-variant-numeric: tabular-nums; }
.stg .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--muted)); }
.stg:hover { background: var(--card); }
.stg.on { background: var(--card); border-color: var(--c, var(--accent)); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.stg.zero { opacity: .5; }

.st-initial { --c: var(--st-initial); } .st-approved { --c: var(--st-approved); } .st-tender_open { --c: var(--st-tender_open); }
.st-tender_eval { --c: var(--st-tender_eval); } .st-awarded { --c: var(--st-awarded); } .st-executing { --c: var(--st-executing); }
.st-completed { --c: var(--st-completed); } .st-completed_nocontract { --c: var(--st-completed_nocontract); } .st-cancelled { --c: var(--st-cancelled); }

.badge {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}

/* Χρηματοδότηση: μόνο η ευρωπαϊκή ξεχωρίζει (von Restorff) */
.fund { font-size: 12px; color: var(--muted); }
.fund.eu { display: inline-flex; align-items: center; gap: 4px; color: var(--eu); background: var(--eu-bg); border-radius: 5px; padding: 1px 7px; font-weight: 600; }
.fund.eu b { font-weight: 800; letter-spacing: .02em; }
.fund.eu b::before { content: "★ "; font-size: 10px; vertical-align: 1px; }
.fund sup { font-size: 10px; }

/* Αποτελέσματα */
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; font-size: 14px; }
.results-head .tools { display: flex; gap: 8px; align-items: flex-end; }
.results-head .sort { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); gap: 4px; }
.eu-link { color: var(--eu); }

table.cases { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cases th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.cases th.r { text-align: right; }
.cases td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cases tr:last-child td { border-bottom: 0; }
.cases td.t { max-width: 480px; }
.cases td.t > a { font-weight: 600; text-decoration: none; color: var(--ink); }
.cases tbody tr { cursor: pointer; }
.cases tbody tr:hover { background: color-mix(in srgb, var(--accent) 5%, var(--card)); }
.cases tbody tr:hover td.t > a { color: var(--accent); }
.cases .sub { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.cases .sub .unit { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.paid { display: flex; flex-direction: column; gap: 3px; min-width: 90px; }
.paid .bar { display: block; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.paid .bar i { display: block; height: 100%; background: var(--st-completed); }

.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 16px 0; font-size: 14px; }
.empty { padding: 24px; text-align: center; }
.foot { margin-top: 28px; font-size: 12px; color: var(--muted); }

/* Σύνδεση */
.login { min-height: 70vh; display: grid; place-items: center; }
.login form { padding: 24px; display: flex; flex-direction: column; gap: 10px; width: min(360px, 100%); }
.login h1 { margin: 0; font-size: 20px; }
.login .err { color: var(--st-cancelled); margin: 0; }

/* Υπόθεση */
.case-head h2 { margin: 8px 0 4px; font-size: 22px; line-height: 1.3; }
.case-head p { margin: 0 0 14px; }
.case-head .tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 20px; padding: 16px; margin: 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; }
.facts .big { font-size: 20px; font-weight: 700; }
.facts .codes { display: flex; flex-direction: column; gap: 2px; }
.case h3 { margin: 22px 0 10px; font-size: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.timeline li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--k); border-radius: var(--radius); padding: 10px 14px; }
.timeline .row1 { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.timeline .kind { font-weight: 700; font-size: 13px; color: var(--k); }
.timeline .amt { margin-left: auto; font-weight: 600; }
.timeline .ttl { margin: 4px 0; }
.timeline .links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--muted); }
.timeline li.cancelled { opacity: .7; }
.timeline li.cancelled .ttl { text-decoration: line-through; }
.timeline li.external { border-style: dashed; border-left-style: solid; opacity: .8; }
.k-request { --k: var(--st-approved); } .k-notice { --k: var(--st-tender_eval); } .k-auction { --k: var(--st-awarded); }
.k-contract { --k: var(--st-executing); } .k-payment { --k: var(--st-completed); }

/* Κινητό */
@media (max-width: 860px) {
  .primary { grid-template-columns: 1fr 1fr; }
  .primary label:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .phases { grid-template-columns: repeat(5, minmax(118px, 1fr)); overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .phase { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .search button { padding: 0 12px; }
  .seg a { padding: 6px 9px; }
  .cases thead { display: none; }
  .cases, .cases tbody, .cases tr, .cases td { display: block; width: 100%; }
  .cases tr { padding: 12px; border-bottom: 1px solid var(--line); }
  .cases td { border: 0; padding: 3px 0; max-width: none !important; }
  .cases td[data-l] { text-align: right; overflow: hidden; }
  .cases td[data-l]::before { content: attr(data-l); float: left; color: var(--muted); font-size: 12px; padding-right: 10px; }
  .cases td[data-l] > div { display: inline; margin-left: 6px; }
  .cases td[data-l] > div.paid { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; min-width: 0; }
  .cases td[data-l] > div.paid .bar { width: 90px; }
  .results-head .tools { width: 100%; justify-content: space-between; }
}


/* ===================== Πλοήγηση (κοινή σε όλες τις σελίδες) ===================== */
.top { gap: 10px 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo img { height: 36px; width: auto; display: block; }
.logo .name span { color: var(--accent); }
.mainnav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.mainnav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.mainnav a:hover { background: var(--soft); color: var(--ink); }
.mainnav a.on { background: var(--card); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nb { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sev-crit); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.back { margin: 0 0 6px; font-size: 14px; }
.back a { text-decoration: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.page-head h1 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.page-head p { margin: 4px 0 0; }
.page-head .controls { display: flex; gap: 8px; flex-wrap: wrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sec-title { font-size: 17px; margin: 26px 0 10px; }

/* ===================== Αρχική ===================== */
.home { display: flex; flex-direction: column; gap: 22px; }
.hero { text-align: center; padding: 34px 0 6px; }
.hero h1 { margin: 0 0 16px; font-size: 30px; letter-spacing: -.02em; }
.hero .search { max-width: 680px; margin: 0 auto; }
.hero .search input { min-height: 52px; font-size: 16.5px; border-radius: 12px; }
.hero .search button { min-height: 52px; border-radius: 12px; padding: 0 22px; font-size: 15px; }
.hero p { margin: 10px 0 0; }
.alert-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--sev-crit) 7%, var(--card)); border: 1px solid color-mix(in srgb, var(--sev-crit) 30%, var(--line)); }
.alert-strip .ttl { font-weight: 700; }
.alert-strip .sevs { display: flex; gap: 12px; flex-wrap: wrap; }
.alert-strip .go { margin-left: auto; color: var(--accent); font-weight: 600; }
.alert-strip:hover { border-color: var(--sev-crit); }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: 18px; }
.sec-sub { margin: 4px 0 12px; }
.pe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pe-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pe-card:hover { border-color: var(--accent); }
.pe-card.zero { opacity: .6; }
.pe-card .stretch { text-decoration: none; color: var(--ink); }
.pe-card .stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pe-name { font-weight: 700; font-size: 15px; }
.pe-amt { font-size: 26px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pe-n { font-size: 13px; color: var(--muted); }
.pe-bar { display: block; height: 4px; background: var(--soft); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.pe-bar i { display: block; height: 100%; background: var(--series-1); border-radius: 2px; }
.pe-alerts { position: absolute; top: 12px; right: 12px; z-index: 1; display: flex; gap: 8px; text-decoration: none; font-size: 13px; color: var(--ink); padding: 3px 7px; border-radius: 6px; background: var(--soft); }
.pe-alerts:hover { outline: 1px solid var(--sev-crit); }
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.space { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.space:hover { border-color: var(--accent); }
.space svg { width: 30px; height: 30px; flex: none; fill: var(--accent); }
.space b { display: block; font-size: 16px; }
.space small { color: var(--muted); font-size: 13px; }

/* ===================== Επίπεδα ειδοποιήσεων (σύμβολο + λέξη, ποτέ μόνο χρώμα) ===================== */
.sev { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sev b { font-size: 12px; }
.sev.crit b { color: var(--sev-crit); }
.sev.serious b { color: var(--sev-serious); }
.sev.warn b { color: var(--sev-warn); }

/* ===================== Επισκόπηση ===================== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.tile .lbl { font-size: 13px; color: var(--muted); }
.tile .val { font-size: 28px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tile .sub { font-size: 12.5px; color: var(--muted); }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-card { padding: 16px 18px; }
.chart-card h2 { margin: 0; font-size: 16px; }
.chart-card > p { margin: 2px 0 10px; }
.chart-card details { margin-top: 8px; font-size: 13px; }
.chart-card summary { cursor: pointer; color: var(--accent); font-weight: 600; }
svg.chart { width: 100%; max-width: 680px; height: auto; display: block; overflow: visible; font-family: inherit; }
svg.chart .s1 { fill: var(--series-1); }
svg.chart .s2 { fill: var(--series-2); }
svg.chart .axis { stroke: var(--line); stroke-width: 1; }
svg.chart .grid { stroke: var(--soft); stroke-width: 1; }
svg.chart .tick { fill: var(--muted); font-size: 12px; }
svg.chart .lbl { fill: var(--ink); font-size: 13px; }
svg.chart .val { fill: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
svg.chart .hit { fill: transparent; }
svg.chart .row:hover .hit { fill: var(--soft); }
svg.chart a .row { cursor: pointer; }
svg.chart a:hover .lbl { fill: var(--accent); text-decoration: underline; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .sw.s1 { background: var(--series-1); }
.legend .sw.s2 { background: var(--series-2); }
table.mini { width: 100%; border-collapse: collapse; margin-top: 6px; }
table.mini th, table.mini td { padding: 4px 6px; border-bottom: 1px solid var(--line); text-align: left; }
table.mini .r { text-align: right; }
.explain { padding: 12px 16px; margin-bottom: 12px; }
.explain summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.explain ul { margin: 10px 0 6px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.alert-filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 12px; }
.alert-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.alert-filters .seg a { display: inline-flex; gap: 6px; align-items: center; }
table.alerts td.reason { max-width: 420px; color: var(--ink); }

/* ===================== Προμηθευτές ===================== */
.row-ctl { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row-ctl label { min-width: 200px; }
.row-ctl .check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 13.5px; min-height: 38px; min-width: 0; }
.row-ctl .check input { min-height: 0; width: 18px; height: 18px; }
.pe-chip { display: inline-flex; gap: 4px; align-items: center; padding: 2px 8px; margin: 0 4px 4px 0; border-radius: 99px; background: var(--soft); font-size: 12.5px; white-space: nowrap; }
.pe-chip.on { background: color-mix(in srgb, var(--accent) 15%, var(--card)); }
.pe-tabs { margin-bottom: 14px; flex-wrap: wrap; }
.pe-tabs b { font-weight: 700; color: var(--muted); margin-left: 4px; }
.pe-tabs a.on b { color: var(--ink); }
.alert-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.alert-list li { padding: 12px 14px; }
.alert-list p { margin: 6px 0; }

@media (max-width: 1000px) {
  .pe-grid { grid-template-columns: repeat(2, 1fr); }
  .charts { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .mainnav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .spaces { grid-template-columns: 1fr; }
  .hero { padding-top: 14px; }
  .hero h1 { font-size: 24px; }
  .pe-amt { font-size: 22px; }
  .tile .val { font-size: 22px; }
  table.alerts td.reason { max-width: none; text-align: left; }
}

.alert-list + .chart-card, section + section.chart-card, .alert-list + section { margin-top: 14px; }
section.chart-card { margin-top: 14px; }
.alert-context { padding: 12px 16px; margin: 12px 0 0; }
.alert-context p { margin: 6px 0 0; }
