/* The tool pages' shared look (23 Nov 2026): /map, /agenda, /near, /analyseis.
   ONE thin bar, the same on all four — logo · title · one italic line · [the page's own small figures] · links to the other tools · back —
   taken unchanged from the map's v2.1 bar (his word: «less space from the top… I have issues with half the page covered»).
   The bar's HTML is the same block in every page (FEATURES.md §4.5); the links to the other tools are filled in by /features/boot.js.
   Colours: the --ef-* set below is the one every feature uses on every page (boot.js sets the same values on pages without this file). */
:root{--ef-bg:#f6f2ea;--ef-bg2:#efe9dd;--ef-card:#fffdf8;--ef-ink:#141311;--ef-ink2:#4b473f;--ef-ink3:#726c62;--ef-rule:#cfc7b8;--ef-rule2:#e4ddd0;--ef-red:#7a1c1c;--ef-rad:15px;--ef-rad-s:10px}
*{box-sizing:border-box}html{background:var(--ef-bg)}body{margin:0;background:var(--ef-bg);color:var(--ef-ink);font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}
.wrap{max-width:1320px;margin:0 auto;padding:0 20px}
/* masthead: one thin bar */
.top{display:flex;align-items:center;gap:18px;padding:11px 0 9px;border-bottom:3px double var(--ef-ink)}
.top .logo{order:1;flex:none;font:400 18px/1 'GFS Didot',Georgia,serif;letter-spacing:.06em;border:2px solid var(--ef-ink);padding:5px 9px 3px;white-space:nowrap}.top .logo b{font-weight:400;font-size:11px;color:#b3261e}
.top .tt{order:2;display:flex;align-items:baseline;gap:14px;flex:1 1 auto;min-width:0}
.top h1{margin:0;font:400 27px/1.05 'GFS Didot',Georgia,serif;letter-spacing:.005em;white-space:nowrap}
.top .sub{margin:0;font:italic 400 14px/1.2 Literata,Georgia,serif;color:var(--ef-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top .stats{order:3;flex:none;font:500 12px/1 Inter;color:var(--ef-ink3);white-space:nowrap}.top .stats b{font-weight:800;color:var(--ef-ink);font-variant-numeric:tabular-nums}
.top .tnav{order:4;flex:none;display:flex;align-items:center;gap:14px;font:700 11.5px/1 Inter,system-ui,sans-serif;color:var(--ef-ink2);white-space:nowrap}
.top .tnav[hidden]{display:none}
.top .tnav a{padding:6px 0}.top .tnav a:hover,.top .tnav a:focus-visible{color:var(--ef-red)}
.top .back{order:5;flex:none;font:700 11.5px/1 Inter;color:var(--ef-ink2);border:1px solid var(--ef-rule);border-radius:999px;padding:7px 11px;background:#fff}.top .back:hover{border-color:var(--ef-ink3);color:var(--ef-ink)}
.top .tnav a[aria-current]{color:var(--ef-ink);box-shadow:inset 0 -2px 0 var(--ef-red)}
/* ONE filter pill for every tool page (design review 23 Nov 2026: four pages had four sizes): 32 px, 12 px Inter, 1 px rule; .on = ink */
.ef-chip{display:inline-flex;align-items:center;gap:6px;flex:none;height:32px;padding:0 13px;font:600 12px/1 Inter,system-ui,sans-serif;color:var(--ef-ink2);background:#fff;border:1px solid var(--ef-rule);border-radius:999px;white-space:nowrap;cursor:pointer}
.ef-chip:hover{border-color:var(--ef-ink3);color:var(--ef-ink)}.ef-chip.on,.ef-chip[aria-pressed=true]{background:var(--ef-ink);border-color:var(--ef-ink);color:var(--ef-bg)}
.ef-chip i{width:8px;height:8px;border-radius:50%;background:var(--c,var(--ef-red))}.ef-chip b{font-weight:700;color:var(--ef-ink3)}.ef-chip.on b{color:var(--ef-rule)}
.ef-chip:focus-visible{outline:2px solid var(--ef-red);outline-offset:2px}   /* the keyboard sees where it is on every tool page (bug hunt 23 Nov 2026) */
/* the foot every tool page ends with: a double rule, one or two small lines (source, method, links) */
.foot{margin:30px 0 0;padding:14px 0 40px;border-top:3px double var(--ef-ink);font:500 12px/1.7 Inter;color:var(--ef-ink3)}
.foot a{color:var(--ef-red);font-weight:700}
@media (max-width:1240px){.top .stats{display:none}}
@media (max-width:1500px){.top.has-nav .stats{display:none}}   /* the italic line keeps its room when the tool links are there */
@media (max-width:1000px){.top .sub{display:none}}
/* a tablet (761–900 px) with the tool links: the title has no room beside them (the map's title ran under «Χάρτης · Ατζέντα»,
   bug hunt 23 Nov 2026), so it takes the second line, as on a phone: logo · links · back, then the title */
@media (min-width:761px) and (max-width:900px){
  .top.has-nav{flex-wrap:wrap;row-gap:8px}
  .top.has-nav .tnav{order:2;margin-left:auto}.top.has-nav .back{order:3}
  .top.has-nav .tt{order:4;flex:1 1 100%}
}
/* a phone: the top is two short lines and scrolls away with the page */
@media (max-width:760px){
  .wrap{padding:0 14px}
  .top{flex-wrap:wrap;gap:7px 10px;padding:9px 0 8px}
  .top .logo{font-size:14px;padding:4px 7px 3px;border-width:1.5px}.top .logo b{font-size:9.5px}
  .top .back{order:2;margin-left:auto;padding:6px 10px;font-size:11px}
  .top .tt{order:3;flex:1 1 100%;display:block}.top h1{font-size:min(23px,6.1vw)}
  .top .sub{display:block;margin-top:3px;font-size:12.5px;white-space:normal}
  /* with links to the other tools the first line is: logo · links · a round ← (the logo is the way home too); no line is added */
  .top.has-nav .tnav{order:2;flex:0 1 auto;min-width:0;margin-left:auto;gap:11px;font-size:11px}
  .top.has-nav .tnav a{padding:11px 0;margin:-11px 0}   /* a finger-sized target (33 px) around 11-px words; the bar keeps its height */
  .top.has-nav .back{position:relative;margin-left:0;width:32px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:0}   /* as tall as the pill it replaces: the bar keeps its height */
  .top.has-nav .tnav a[aria-current]{display:none}   /* a phone has room for the other three only: the bar keeps its height */
  .top.has-nav .back::before{content:"←";font-size:14px;line-height:1}
  .top.has-nav .back::after{content:"";position:absolute;inset:-9px -6px}   /* a finger-sized target around the small arrow */
}
@media (max-width:380px){.top.has-nav{column-gap:8px}.top.has-nav .tnav{gap:9px;font-size:10.5px}.top.has-nav .back{width:28px}}
/* 320 px: logo · three links · ← must still be ONE line (it was three: the ← fell under the logo) */
@media (max-width:340px){.top.has-nav{column-gap:6px}.top.has-nav .logo{font-size:12px;letter-spacing:.03em;padding:4px 5px 3px}.top.has-nav .logo b{font-size:8.5px}
  .top.has-nav .tnav{gap:6px;font-size:10px}.top.has-nav .back{width:26px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
