/* JSON-Vergleich · Style mit Benjahn-Branding (Wireframe-Charakter beibehalten) */

:root {
  /* Ben Jahn Brand-Tokens (siehe Design/Benjahn) */
  --ink: #1A2128;          /* Tinte – Haupttext, dunkle Buttons */
  --ink-soft: #364856;     /* primary-deep */
  --ink-faint: #8FA3B0;    /* primary-light */
  --paper: #FFFFFF;        /* Paper – innere Flächen */
  --paper-2: #F4F2EE;      /* Cream – sekundäre Flächen */
  --bg: #ECE9E3;           /* warmer Cream-Schatten für Window-Hintergrund */
  --line: #1A2128;         /* Linien in Tinte (mit reduzierter Opazität in border-Farben) */
  --line-soft: rgba(26, 33, 40, 0.18);

  --primary: #4D6577;      /* Schiefer – primärer Brand-Akzent */
  --primary-deep: #364856;
  --primary-light: #8FA3B0;
  --accent: #C97A4A;       /* Kupfer – sparsam einsetzen */

  /* Diff-Pastelle (colorblind-friendly Blau / Coral / Gelb) – auf Brand abgestimmt */
  --added: #cfdfeb;          /* Schiefer-Tint, helles Blau */
  --added-ink: #1f3e5a;
  --added-stripe: rgba(31, 62, 90, 0.15);
  --removed: #f3b8a8;        /* Coral bleibt – Kontrast zum Schiefer */
  --removed-ink: #7a1d10;
  --removed-stripe: rgba(122, 29, 16, 0.15);
  --changed: #f1d385;        /* etwas wärmeres Gelb, harmoniert mit Cream */
  --changed-ink: #5a3d05;
  --highlight: #e0d4ec;
  --highlight-ink: #3a1f6e;
}

* { box-sizing: border-box; }

/* hidden-Attribut hat Vorrang vor display:flex der Panels */
[hidden] { display: none !important; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  height: 100%;
}

body {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  letter-spacing: -0.005em;
}

.hand { font-family: "Kalam", "Caveat", cursive; }
.mono { font-family: "JetBrains Mono", monospace; }

/* ─── Buttons ─── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1.25px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font: inherit; font-size: 12px; color: var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--line);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translate(-0.5px, -0.5px); box-shadow: 2px 2px 0 var(--line); }
.btn:active { transform: translate(1px, 1px); box-shadow: 0.5px 0.5px 0 var(--line); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: 1.5px 1.5px 0 var(--line); transform: none; }
.btn--ghost { box-shadow: none; background: transparent; border-style: dashed; }
.btn--primary { background: var(--primary); color: var(--paper); border-color: var(--primary-deep); }
.btn--primary:hover { background: var(--primary-deep); }
.btn--lg { padding: 10px 22px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }

.btn input[type="file"] { display: none; }

/* ─── Chips ─── */

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  border: 1.25px solid var(--line);
  background: var(--paper);
  font-size: 11px; font-family: "Inter", sans-serif;
  white-space: nowrap;
}
.chip--add { background: var(--added); color: var(--added-ink); border-color: var(--added-ink); }
.chip--del { background: var(--removed); color: var(--removed-ink); border-color: var(--removed-ink); }
.chip--mod { background: var(--changed); color: var(--changed-ink); border-color: var(--changed-ink); }

/* ─── Diff-Hintergründe ─── */

.row-add { background-color: var(--added); background-image: repeating-linear-gradient(45deg, var(--added-stripe) 0 2px, transparent 2px 8px); }
.row-del { background-color: var(--removed); background-image: repeating-linear-gradient(-45deg, var(--removed-stripe) 0 2px, transparent 2px 8px); }
.row-mod { background-color: var(--changed); }
.row-gap { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,.05) 6px 12px); }

.scribble {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'><path d='M2 5 Q 25 1, 50 5 T 100 5 T 150 5 T 198 5' stroke='%231d1c1a' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 6px;
  padding-bottom: 8px;
}

/* ─── Landing ─── */

.landing {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 24px;
  overflow: auto;
}
.landing__inner {
  max-width: 1100px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.landing__header { text-align: center; }
.landing__title { font-size: 56px; line-height: 1; display: inline-block; }
.landing__sub { font-size: 20px; color: var(--ink-soft); margin-top: 12px; }

.dropzones {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

.dropzone {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  box-shadow: 2px 3px 0 var(--line);
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: background .15s ease, border-color .15s ease;
}
.dropzone__head {
  padding: 8px 14px;
  border-bottom: 1.25px solid var(--line);
  background: var(--paper-2);
  font-size: 14px;
}
.dropzone__body {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 24px; text-align: center;
  border-radius: 0 0 5px 5px;
}
.dropzone__icon {
  font-size: 28px; color: var(--ink-faint);
  width: 60px; height: 60px;
  border: 1.5px dashed var(--ink-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.dropzone__hint { font-size: 14px; }
.dropzone__or { font-size: 12px; color: var(--ink-faint); margin: 4px 0; }
.dropzone__meta { font-size: 11px; color: var(--ink-faint); margin-top: 10px; font-family: "JetBrains Mono", monospace; min-height: 16px; }
.dropzone.dropzone--filled { background: #f6f4ec; border-style: solid; }
.dropzone.dropzone--filled .dropzone__icon { display: none; }
.dropzone.dropzone--filled .dropzone__hint { display: none; }
.dropzone.dropzone--filled .dropzone__or { display: none; }
.dropzone.dropzone--drag { background: var(--highlight); border-color: var(--highlight-ink); }
.dropzone.dropzone--error { border-color: var(--removed-ink); background: #fbe9e3; }

.dropzones__sep {
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ink-faint);
  padding: 0 8px;
}

.landing__actions { display: flex; gap: 14px; margin-top: 4px; }

.parse-error {
  width: 100%;
  background: #fbe9e3;
  border: 1.25px solid var(--removed-ink);
  color: var(--removed-ink);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.landing__legend {
  width: 100%;
  background: var(--paper-2);
  border: 1.25px dashed var(--ink-soft);
  border-radius: 6px;
  padding: 14px 18px;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 12px; color: var(--ink-soft);
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-swatch {
  width: 26px; height: 18px; border: 1.25px solid var(--line); border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
}
.legend-foot { width: 100%; font-style: italic; font-size: 11px; }

.landing__foot {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 10px 18px;
  font-size: 11px; color: var(--ink-soft);
  background: rgba(244, 242, 238, 0.92);
  border-top: 1px solid var(--line-soft);
  display: flex; gap: 12px; justify-content: center; align-items: center;
  backdrop-filter: blur(6px);
}
.landing__foot-sep { color: var(--ink-faint); }

/* ─── Brand: Logo + Wordmark ─── */

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
  flex-shrink: 0;
}
.brand__mark {
  width: 28px; height: 28px;
  border-radius: 5px;
  display: block;
}
.brand__name {
  display: flex; flex-direction: column; line-height: 1;
}
.brand__name-row {
  display: flex; align-items: baseline; gap: 4px;
  font-family: "Inter Tight", sans-serif;
  letter-spacing: -0.02em;
}
.brand__name-light { font-weight: 300; }
.brand__name-bold { font-weight: 700; }
.brand__sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* Größenvarianten */
.brand--sm .brand__mark { width: 22px; height: 22px; }
.brand--sm .brand__name-row { font-size: 13px; }
.brand--md .brand__mark { width: 28px; height: 28px; }
.brand--md .brand__name-row { font-size: 15px; }
.brand--lg .brand__mark { width: 56px; height: 56px; border-radius: 8px; }
.brand--lg .brand__name-row { font-size: 28px; }
.brand--lg .brand__sub { font-size: 11px; margin-top: 6px; }

/* Auf dunkler Fläche */
.brand--invert { color: var(--paper); }
.brand--invert .brand__sub { color: var(--ink-faint); opacity: 0.7; }

/* Markenleiste am unteren Rand der Landing */
.landing__brand {
  display: flex; align-items: center; gap: 8px;
}
.landing__brand-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Trennstrich nach Brand in der Window-Bar */
.window__title-sep {
  color: var(--ink-faint);
  margin: 0 4px;
  font-size: 14px;
}

/* Brand-Ecke oben links auf der Landing */
.landing__corner {
  position: fixed;
  top: 22px; left: 28px;
  z-index: 5;
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.landing__corner .brand__mark {
  width: 38px; height: 38px; border-radius: 7px;
}
.landing__corner .brand__name { gap: 2px; }
.landing__corner .brand__name-row { font-size: 17px; }
.landing__corner .brand__sub {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.18em;
}

@media (max-width: 720px) {
  .landing__corner { top: 14px; left: 16px; }
  .landing__corner .brand__mark { width: 30px; height: 30px; }
  .landing__corner .brand__name-row { font-size: 14px; }
  .landing__corner .brand__sub { display: none; }
}

/* ─── App ─── */

.app {
  position: fixed; inset: 0;
  padding: 14px;
  background: var(--bg);
  display: flex;
}

.window {
  flex: 1;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  box-shadow: 2px 3px 0 var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.window__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-bottom: 1.25px solid var(--line);
  background: var(--paper-2);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.window__dots { display: flex; gap: 6px; }
.window__dots span {
  width: 10px; height: 10px; border-radius: 999px;
  border: 1.25px solid var(--line);
}
.window__title { font-size: 16px; }

.tabs { display: flex; gap: 4px; margin-left: 18px; }
.tab {
  padding: 6px 14px;
  border: 1.25px solid var(--line);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: var(--paper-2);
  font: inherit; font-size: 12px;
  cursor: pointer;
  position: relative; top: 5px;
}
.tab.active {
  background: var(--paper); font-weight: 600;
  border-top: 2px solid var(--primary);
  padding-top: 5px;
}

.window__actions {
  margin-left: auto;
  display: flex; gap: 6px; align-items: center;
  flex-wrap: wrap;
}

/* Filebar */

.filebar {
  display: flex; align-items: stretch;
  border-bottom: 1.25px solid var(--line);
  background: var(--paper);
  flex-shrink: 0;
}
.filebar__file {
  flex: 1; padding: 8px 14px;
  border-right: 1.25px dashed var(--ink-soft);
  min-width: 0;
}
.filebar__side { font-size: 12px; color: var(--ink-faint); }
.filebar__name {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.filebar__meta { font-size: 11px; color: var(--ink-faint); }
.filebar__stats {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 14px;
}

/* Breadcrumb */

.breadcrumb {
  padding: 6px 14px;
  border-bottom: 1.25px dashed var(--ink-soft);
  background: var(--paper-2);
  font-size: 12px;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
}
.breadcrumb__label { font-size: 13px; color: var(--ink); font-family: "Kalam", cursive; }
.breadcrumb__counter { margin-left: auto; font-size: 11px; }

/* Panels (Tabs) */

.panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* ─── Diff-Pane ─── */

.diff {
  flex: 1; display: flex; min-height: 0;
}
.diff__pane {
  flex: 1; overflow: auto;
  background: var(--paper);
  position: relative;
  min-width: 0;
}
.diff__divider { width: 1px; background: var(--line); flex-shrink: 0; }
.diff__minimap {
  width: 18px;
  background: var(--paper-2);
  border-left: 1.25px solid var(--line);
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
.diff__minimap-row {
  width: 100%; height: 100%;
  position: absolute; left: 0;
}
.diff__minimap-viewport {
  position: absolute;
  left: 0; right: 0;
  border: 1.5px solid var(--ink);
  border-radius: 1px;
  pointer-events: none;
  background: rgba(0,0,0,0.04);
}

.codeline {
  display: flex; align-items: stretch;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 20px;
  white-space: pre;
}
.codeline > span:last-child { padding-left: 8px; flex: 1; min-width: 0; }
.codeline.codeline--active { outline: 1.5px solid var(--primary); outline-offset: -2px; }

.gutter {
  width: 56px;
  text-align: right; padding-right: 8px;
  color: var(--ink-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  user-select: none;
  border-right: 1px dashed var(--ink-faint);
  flex-shrink: 0;
}
.marker {
  width: 16px;
  text-align: center;
  color: var(--ink-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  user-select: none;
  flex-shrink: 0;
}

/* ─── Tree ─── */

.tree { flex: 1; display: flex; min-height: 0; }
.tree__index {
  width: 280px; flex-shrink: 0;
  background: var(--paper-2);
  border-right: 1.25px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 0;
}
.tree__index-head { padding: 10px 14px; border-bottom: 1.25px dashed var(--ink-soft); }
.tree__index-head .hand { font-size: 14px; }
.tree__index-head input {
  width: 100%; margin-top: 6px;
  padding: 5px 8px; font-family: inherit; font-size: 12px;
  border: 1.25px solid var(--line); border-radius: 4px;
  background: var(--paper);
}
.tree__index-body { flex: 1; overflow: auto; padding: 8px 6px; }
.tree__index-foot {
  padding: 8px 12px;
  border-top: 1.25px dashed var(--ink-soft);
  font-size: 11px; color: var(--ink-soft);
}
.tree__index-foot .hand { font-size: 12px; margin-top: 2px; }

.tree__main {
  flex: 1; overflow: auto;
  padding: 12px 14px; min-width: 0;
  background: var(--paper);
}
.tree-row {
  display: flex; align-items: center; gap: 4px;
  padding: 2px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; line-height: 22px;
  border-radius: 3px;
  cursor: pointer;
}
.tree-row:hover { background: rgba(0,0,0,0.04); }
.tree-row .twist { width: 12px; color: var(--ink-faint); flex-shrink: 0; user-select: none; }
.tree-row.tree-row--highlight { background: rgba(201, 216, 240, 0.25); }
.tree-row .key { color: #6e2a73; }
.tree-row .val { color: #1f5a32; }
.tree-row .tail { color: var(--ink-soft); margin-left: 6px; }
.tree-row.mute { color: var(--ink-faint); }
.tree-row.mute .key { color: var(--ink-faint); }
.tree-row.mute .val { color: var(--ink-faint); }

.tree-row.row-mod, .tree-row.row-add, .tree-row.row-del { padding-top: 2px; padding-bottom: 2px; }
.tree-row .mod-before {
  text-decoration: line-through; color: var(--removed-ink); margin-left: 6px;
}
.tree-row .mod-arrow { margin: 0 6px; color: var(--ink-faint); }
.tree-row .mod-after { color: var(--added-ink); font-weight: 600; }
.tree-row.row-add .key { color: #6e2a73; }
.tree-row.row-add .val { color: var(--added-ink); font-weight: 600; }
.tree-row.row-del .key { text-decoration: line-through; color: #6e2a73; }
.tree-row.row-del .val { text-decoration: line-through; color: var(--removed-ink); }

/* Index-Einträge */
.idx-row {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; line-height: 1.5;
  border-radius: 3px;
  cursor: pointer;
}
.idx-row:hover { background: rgba(0,0,0,0.05); }
.idx-row.idx-active { background: var(--highlight); }
.idx-row .twist { width: 10px; color: var(--ink-faint); flex-shrink: 0; }
.idx-row .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idx-row .chip { font-size: 10px; padding: 1px 6px; }

/* ─── Review ─── */

.review { flex: 1; display: flex; min-height: 0; }
.review__list {
  width: 360px; flex-shrink: 0;
  background: var(--paper-2);
  border-right: 1.25px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 0;
}
.review__list-head {
  padding: 10px 12px; border-bottom: 1.25px dashed var(--ink-soft);
  display: flex; gap: 6px;
}
.review__list-body { flex: 1; overflow: auto; }

.rev-item {
  padding: 8px 12px;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
  border-left: 3px solid transparent;
  cursor: pointer;
}
.rev-item:hover { background: rgba(0,0,0,0.03); }
.rev-item.active {
  background: var(--paper);
  border-left-color: var(--primary);
}
.rev-item__head {
  display: flex; align-items: center; gap: 6px; margin-bottom: 2px;
}
.rev-item__path { font-family: "JetBrains Mono", monospace; font-size: 12px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rev-item.active .rev-item__path { font-weight: 600; }
.rev-item__num { font-size: 10px; color: var(--ink-faint); }
.rev-item__note {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--ink-soft);
  padding-left: 18px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rev-item--seen { opacity: 0.45; }
.rev-item--seen::before { content: "✓ "; color: var(--ink); margin-right: 2px; }

.kind-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; font-weight: 700;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.kind-dot--add { background: var(--added); color: var(--added-ink); border-color: var(--added-ink); }
.kind-dot--del { background: var(--removed); color: var(--removed-ink); border-color: var(--removed-ink); }
.kind-dot--mod { background: var(--changed); color: var(--changed-ink); border-color: var(--changed-ink); }

.review__detail {
  flex: 1; display: flex; flex-direction: column;
  min-height: 0; min-width: 0;
  background: var(--paper);
}
.review__detail-head {
  padding: 12px 18px;
  border-bottom: 1.25px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.review__detail-head .mono { font-size: 13px; font-weight: 600; }
.review__detail-actions { margin-left: auto; display: flex; gap: 6px; }

.review__ba {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1.25px solid var(--line);
}
.review__ba-side {
  border-right: 1.25px dashed var(--ink-soft);
  min-width: 0;
  overflow: auto;
}
.review__ba-side:last-child { border-right: 0; }
.review__ba-head {
  padding: 8px 14px; background: var(--paper-2);
  font-size: 11px; color: var(--ink-soft);
  border-bottom: 1px dashed var(--ink-soft);
}
.review__ba-body { padding: 10px 0; }

.review__notes {
  flex: 1; overflow: auto;
  padding: 18px;
  font-size: 12px; color: var(--ink-soft);
}

.review__progress {
  padding: 8px 18px;
  border-top: 1.25px solid var(--line);
  background: var(--paper-2);
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
}
.progressbar {
  flex: 1; height: 8px; background: var(--paper);
  border: 1.25px solid var(--line); border-radius: 4px;
  overflow: hidden;
}
.progressbar > div {
  height: 100%;
  background: var(--primary);
  transition: width .2s ease;
}

/* Footer */

.window__foot {
  padding: 6px 14px;
  border-top: 1.25px solid var(--line);
  background: var(--paper-2);
  display: flex; gap: 16px;
  font-size: 11px; color: var(--ink-soft);
  flex-shrink: 0;
}
.window__foot-shortcuts { margin-left: auto; }

/* ─── Searchbar ─── */

.searchbar {
  position: fixed; top: 60px; left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1.25px solid var(--line);
  border-radius: 6px;
  box-shadow: 2px 3px 0 var(--line);
  padding: 8px 10px;
  display: flex; gap: 8px; align-items: center;
  z-index: 100;
}
.searchbar input {
  width: 360px;
  padding: 5px 8px;
  border: 1.25px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font: inherit; font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}
#search-info { font-size: 11px; color: var(--ink-soft); min-width: 60px; }

/* ─── Empty state ─── */

.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 32px;
  font-size: 14px; color: var(--ink-soft);
  gap: 10px;
  text-align: center;
}
.empty-state .hand { font-size: 20px; color: var(--ink); }

/* ─── Responsive ─── */

@media (max-width: 1100px) {
  .dropzones { grid-template-columns: 1fr; }
  .dropzones__sep { padding: 8px 0; }
  .review__list { width: 280px; }
  .tree__index { width: 220px; }
}
@media (max-width: 800px) {
  .window__actions .btn:not(.btn--ghost):not(#btn-export) { display: none; }
}
