/* 0.172.3 (362) · «Χάρτης της Aneligma» (aneligma-map.js): ίδιο στην εφαρμογή (παράθυρο) και στο aneligma.com
   (ενότητα #xartis). Σχεδιασμός από το Mobbin (362): χάρτης αριστερά, πλαϊνό πάνελ δεξιά (Cofounder), + / − / ⤢ κάτω
   αριστερά (Gemini Notebook), 3D · 2D πάνω δεξιά, λίστα που ανοίγει σε στενή οθόνη (Brainly).
   0.173.0 (370) · Εικονίδιο σε στρογγυλεμένο τετράγωνο στο χρώμα της ομάδας (OpenAI Platform, Quo, Unity): οι τόνοι
   έρχονται από το aneligma-map.js ως μεταβλητές (--amap-c / --amap-ci φωτεινή, --amap-cd / --amap-cdi σκοτεινή). */
.amap {
  --amap-ink: #18283d;
  --amap-muted: #5a6b72;
  --amap-line: #e3e9ee;
  --amap-bg: #fff;
  --amap-soft: #f3f6f8;
  --amap-deep: #115564;
  position: relative;
  color: var(--amap-ink);
  font-size: 14px;
  line-height: 1.55;
}
.amap:not(.amap-narrow) {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.amap-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 560px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--amap-line);
  background: var(--amap-bg);
  isolation: isolate;
}
.amap-stage .s3-cv {
  position: absolute;
  inset: 0;
  display: block;
  cursor: grab;
  outline: none;
  touch-action: none;
}
.amap-stage .s3-cv.is-drag {
  cursor: grabbing;
}
.amap-stage .s3-cv:focus-visible {
  box-shadow: inset 0 0 0 2px var(--amap-deep);
}
.amap-tr,
.amap-bl {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.amap-tr {
  top: 12px;
  right: 12px;
}
.amap-bl {
  left: 12px;
  bottom: 12px;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--amap-line);
  background: var(--amap-bg);
}
.amap-bl button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--amap-ink);
  font: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.amap-bl button:hover,
.amap-bl button:focus-visible {
  background: var(--amap-soft);
}
.amap .s3-mode {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--amap-line);
  background: var(--amap-bg);
}
.amap .s3-mode button {
  min-height: 26px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--amap-ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.amap .s3-mode button[aria-pressed='true'] {
  background: var(--amap-deep);
  color: #fff;
}
.amap .s3-mode button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.amap-hint {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 10px;
  margin: 0;
  color: var(--amap-muted);
  font-size: 12px;
  pointer-events: none;
}
.amap-has-panel .amap-hint {
  display: none;
}
/* πλαϊνό πάνελ, δίπλα στον χάρτη (ο χάρτης στενεύει, δεν κρύβεται) */
.amap-panel {
  position: relative;
  flex: none;
  width: 320px;
  overflow: auto;
  padding: 16px 18px 18px;
  border-radius: 12px;
  border: 1px solid var(--amap-line);
  border-top: 4px solid var(--amap-c, #115564);
  background: var(--amap-bg);
}
/* 370β · το εικονίδιο σε στρογγυλεμένο τετράγωνο */
.amap-ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--amap-c);
  color: var(--amap-ci);
}
.amap-ic svg {
  width: 62%;
  height: 62%;
}
.amap-ic-s {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.amap-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 30px 10px 0;
}
.amap-head .amap-h {
  margin: 0;
}
.amap-panel[hidden] {
  display: none;
}
.amap-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--amap-muted);
  cursor: pointer;
}
.amap-x:hover {
  background: var(--amap-soft);
}
.amap-up {
  display: block;
  margin: 0 30px 6px 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--amap-muted);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.amap-eye {
  margin: 0 30px 2px 0;
  color: var(--amap-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.amap-h {
  margin: 0 30px 8px 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 650;
}
.amap-t {
  margin: 0 0 12px;
  color: var(--amap-ink);
}
.amap-kids {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.amap-kids button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--amap-line);
  border-radius: 10px;
  background: var(--amap-soft);
  color: var(--amap-ink);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.amap-kids button::after {
  content: '›';
  margin-left: auto;
  color: var(--amap-muted);
}
.amap-kids button:hover,
.amap-kids button:focus-visible {
  border-color: var(--amap-c);
}
.amap-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
}
.amap-show {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--amap-deep);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.amap-guide {
  color: var(--amap-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.amap-guide:hover,
.amap-show:hover {
  text-decoration: underline;
}
/* 3D: βαθύ σκούρο φόντο (όπως οι άλλοι χάρτες) */
.amap-stage.amap-3d {
  background: #0b1622;
  border-color: #0b1622;
}
.amap-3d .amap-bl,
.amap-3d .s3-mode {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 16, 24, 0.82);
}
.amap-3d .amap-bl button,
.amap-3d .s3-mode button {
  color: #eef3f6;
}
.amap-3d .amap-bl button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.amap-3d .s3-mode button[aria-pressed='true'] {
  background: #eef3f6;
  color: #0b1622;
}
.amap-3d .amap-hint {
  color: #9fb3bf;
}
/* στενή οθόνη: λίστα που ανοίγει */
.amap-list {
  display: grid;
  gap: 8px;
}
.amap-li {
  border: 1px solid var(--amap-line);
  border-radius: 12px;
  background: var(--amap-bg);
  padding: 0 14px;
}
.amap-li > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.amap-li > summary::-webkit-details-marker {
  display: none;
}
.amap-li > summary::after {
  content: '⌄';
  margin-left: auto;
  color: var(--amap-muted);
}
.amap-li[open] > summary::after {
  content: '⌃';
}
.amap-li[open] {
  padding-bottom: 14px;
}
/* 370 · κινητό: πρώτα οι 6 ομάδες, μέσα τους οι κλάδοι */
.amap-gli > summary {
  min-height: 60px;
  font-size: 16px;
}
.amap-gli[open] > summary {
  border-bottom: 1px solid var(--amap-line);
  margin-bottom: 10px;
}
.amap-bli {
  margin-top: 8px;
  padding: 0 12px;
  background: var(--amap-soft);
}
.amap-bli > summary {
  min-height: 46px;
  font-size: 14.5px;
}
.amap-kl {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.amap-kl li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.amap-kl b {
  display: block;
}
/* παράθυρο στην εφαρμογή */
.amap-dlg {
  width: min(1180px, 94vw);
  height: min(780px, 90vh);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #18283d;
  box-shadow: 0 24px 60px rgba(16, 32, 48, 0.28);
  overflow: hidden;
}
.amap-dlg[open] {
  display: flex;
  flex-direction: column;
}
.amap-dlg::backdrop {
  background: rgba(16, 32, 48, 0.42);
}
.amap-top {
  position: relative;
  flex: none;
  padding: 16px 60px 10px 22px;
}
.amap-top h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}
.amap-top p {
  margin: 2px 0 0;
  color: #5a6b72;
  font-size: 13px;
}
.amap-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5a6b72;
  font-size: 16px;
  cursor: pointer;
}
.amap-close:hover {
  background: #f3f6f8;
}
.amap-host {
  flex: 1;
  min-height: 0;
  padding: 0 16px 16px;
  overflow: auto;
}
.amap-dlg .amap-stage {
  height: 100%;
  min-height: 420px;
}
.amap-dlg .amap:not(.amap-narrow) {
  height: 100%;
}
html.m-mobile .amap-dlg {
  width: 100vw;
  height: 100dvh;
  border-radius: 0;
}
/* σκοτεινή εμφάνιση */
html[data-theme='dark'] .amap {
  --amap-ink: #e8eef3;
  --amap-muted: #9fb3bf;
  --amap-line: #2a3946;
  --amap-bg: #141d26;
  --amap-soft: #1d2a35;
  --amap-deep: #4e97a5;
}
/* 370 · στη σκοτεινή: το χρώμα του λεξικού με σκούρο εικονίδιο */
html[data-theme='dark'] .amap-ic {
  background: var(--amap-cd);
  color: var(--amap-cdi);
}
html[data-theme='dark'] .amap-panel {
  border-top-color: var(--amap-cd);
}
html[data-theme='dark'] .amap-kids button:hover,
html[data-theme='dark'] .amap-kids button:focus-visible {
  border-color: var(--amap-cd);
}
html[data-theme='dark'] .amap-dlg {
  background: #141d26;
  color: #e8eef3;
}
html[data-theme='dark'] .amap-top p,
html[data-theme='dark'] .amap-close {
  color: #9fb3bf;
}
html[data-theme='dark'] .amap-close:hover {
  background: #1d2a35;
}
@media print {
  .amap-stage,
  .amap-dlg {
    display: none;
  }
}
