:root {
  --navy: #171717;
  --ink: #202020;
  --yellow: #e4e4e4;
  --paper: #fafafa;
  --line: #d0d0d0;
  --muted: #626262;
  --red: #444444;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px/1.5 system-ui,
    -apple-system,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid #bcbcbc;
  background: white;
  border-radius: 7px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  min-height: 40px;
}
button:hover {
  border-color: var(--navy);
  background: #eeeeee;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #555555;
  outline-offset: 2px;
}
a {
  color: #222222;
}
header {
  height: 72px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 24px;
}
.brand {
  font-weight: 850;
  font-size: 27px;
  letter-spacing: -1px;
  color: var(--yellow);
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: white;
  font-size: 17px;
  font-weight: 450;
  letter-spacing: 0;
  margin-left: 10px;
}
header nav {
  display: flex;
  gap: 7px;
}
header nav button {
  background: transparent;
  color: white;
  border-color: #777777;
}
header nav button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
  font-weight: 700;
}
.trip {
  margin-left: auto;
  font-size: 14px;
  color: #cccccc;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(290px, 340px) minmax(380px, 1fr) minmax(
      290px,
      335px
    );
  height: calc(100dvh - 72px);
}
.catalog,
.route-column {
  overflow: auto;
  background: #ffffff;
}
.catalog {
  border-right: 1px solid var(--line);
}
.catalog-head {
  padding: 18px 18px 10px;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
h1 {
  font: 700 24px/1.2 system-ui;
  margin: 0 0 18px;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 8px;
}
label {
  display: block;
  font-size: 14px;
}
label span {
  display: block;
}
input:not([type="checkbox"]),
select {
  width: 100%;
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  background: white;
  min-height: 42px;
  color: var(--ink);
  font-size: 14px;
}
select {
  padding-right: 22px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}
.check {
  margin: 12px 0 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.check input {
  width: 17px;
  height: 17px;
}
.countline,
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.countline {
  font-size: 13px;
  color: var(--muted);
}
.textbutton {
  border: 0;
  background: none;
  padding: 5px;
  font-size: 13px;
}
.place {
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
}
.place.selected {
  background: #eaeaea;
  border-left: 4px solid #222222;
  padding-left: 14px;
}
.place .select-place {
  border: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
}
.meta {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
  line-height: 1.4;
}
.tag {
  font-size: 12px;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eeeeee;
  margin: 2px 4px 0 0;
}
.tag.chosen {
  background: #dedede;
}
.place-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.place-actions button {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 13px;
}
.more {
  display: block;
  width: calc(100% - 36px);
  margin: 16px 18px;
}
.map-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.map-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #f2f2f2;
  border-bottom: 1px solid var(--line);
}
.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.primary:hover {
  background: #383838;
  color: white;
}
.map-wrap {
  position: relative;
  flex: 0 0 43vh;
  min-height: 285px;
}
.map-wrap #map {
  height: 100%;
  background: #e5e5e5;
}
.map-hint {
  position: absolute;
  bottom: 12px;
  left: 48px;
  right: 12px;
  z-index: 600;
  font-size: 12px;
  background: #ffffffed;
  padding: 7px 11px;
  border-radius: 6px;
  pointer-events: none;
  box-shadow: 0 2px 7px #0002;
}
.detail {
  padding: 22px 24px;
  background: var(--paper);
  flex: 1;
}
.detail p {
  margin: 10px 0;
}
.detail .hero-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  background: #e2e2e2;
}
.photo-credit {
  font-size: 12px;
  margin-top: 3px;
}
.detail-title {
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 13px 0;
}
.detail-actions button.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
  font-weight: 750;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.alert {
  border-left: 3px solid var(--red);
  padding: 8px 12px;
  background: #f1f1f1;
}
.route-column {
  border-left: 1px solid var(--line);
}
.route-box,
.near-box {
  padding: 19px 17px;
}
.route-box {
  border-bottom: 1px solid var(--line);
  background: #f5f5f5;
}
.route-box h2 {
  margin: 0;
}
.route-box ol {
  padding: 0;
  list-style: none;
}
.route-stop {
  margin: 7px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.stop-num {
  background: var(--navy);
  border-radius: 50%;
  color: white;
  width: 24px;
  height: 24px;
  text-align: center;
  font-size: 13px;
  flex-shrink: 0;
}
.stop-info {
  flex: 1;
  font-size: 14px;
}
.stop-controls {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}
.stop-controls button {
  min-height: 26px;
  padding: 3px 7px;
  font-size: 12px;
}
.near-card {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.near-card h3 button {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
}
.near-card .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.distance {
  font-weight: 700;
  white-space: nowrap;
  font-size: 13px;
}
.near-card button.add {
  min-height: 30px;
  font-size: 13px;
  padding: 5px 9px;
}
.coverage {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.navigation a {
  background: var(--navy);
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 5px;
}
.secondary {
  max-width: 1400px;
  margin: auto;
  padding: 32px 24px;
}
.program-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.program-tabs .active {
  background: var(--navy);
  color: white;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.program-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}
.program-card p {
  font-size: 14px;
}
.program-card a {
  display: inline-block;
  margin-top: 8px;
}
.download-icon {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.empty {
  padding: 10px 0;
}
.empty p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 13px 20px;
  border-radius: 8px;
  max-width: 90vw;
  z-index: 3000;
  font-size: 14px;
  box-shadow: 0 4px 20px #0003;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 560px;
  width: 94%;
  padding: 24px;
  color: var(--ink);
}
dialog::backdrop {
  background: #17171788;
}
#geoForm {
  display: flex;
  align-items: end;
  gap: 9px;
}
#geoForm label {
  flex: 1;
}
#geoResults button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 8px 0;
}
.map-pin {
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: 2px solid white;
  box-shadow: 0 1px 6px #0006;
  text-align: center;
  font: 700 12px/24px system-ui;
}
.map-pin.route-pin {
  background: #343434;
}
.map-pin.start-pin {
  background: #606060;
}
.map-pin.selected-pin {
  background: #111111;
}
.leaflet-container {
  font-family: system-ui;
}
.leaflet-popup-content {
  font-size: 14px;
}
.leaflet-tooltip {
  font-size: 13px;
}
.map-fallback {
  height: 100%;
  width: 100%;
  border: 0;
}
.photo-empty {
  padding: 14px;
  background: #eeeeee;
  border-radius: 7px;
  font-size: 14px;
}
@media (min-width: 1500px) {
  .workspace {
    grid-template-columns: 370px 1fr 375px;
  }
  .map-wrap {
    flex-basis: 48vh;
  }
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 300px 1fr;
    height: auto;
    min-height: calc(100dvh - 72px);
  }
  .catalog {
    max-height: calc(100dvh - 72px);
  }
  .map-column {
    height: calc(100dvh - 72px);
  }
  .route-column {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .route-box {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .map-wrap {
    flex-basis: 42vh;
  }
  .trip {
    display: none;
  }
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 100px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }
  header nav {
    width: 100%;
    overflow: auto;
  }
  header nav button {
    font-size: 12px;
    white-space: nowrap;
  }
  .workspace {
    display: flex;
    flex-direction: column;
  }
  .map-column {
    order: 0;
    height: auto;
    overflow: visible;
  }
  .map-wrap {
    height: 38vh;
    flex: none;
    min-height: 250px;
  }
  .detail {
    padding: 18px;
  }
  .detail .hero-photo {
    height: 165px;
  }
  .catalog {
    order: 1;
    max-height: none;
    border-top: 1px solid var(--line);
  }
  .catalog-head {
    position: static;
  }
  .place-list {
    max-height: 450px;
    overflow: auto;
  }
  .route-column {
    order: 2;
    display: block;
  }
  .map-actions {
    padding: 10px;
    gap: 5px;
  }
  .map-actions button {
    font-size: 12px;
    padding: 8px;
  }
  .route-box,
  .near-box {
    padding: 20px;
  }
  .trip {
    display: none;
  }
  .detail-title {
    font-size: 23px;
  }
  .brand {
    font-size: 24px;
  }
  .near-box .small {
    font-size: 13px;
  }
  .secondary {
    padding: 24px 16px;
  }
  .program-grid {
    grid-template-columns: 1fr;
  }
  .map-hint {
    left: 12px;
    font-size: 12px;
  }
  .detail .empty {
    padding: 0;
  }
  .pair {
    gap: 8px;
  }
}

#mapPreview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 500;
  background: white;
}
.map-hint {
  z-index: 700;
}

.mobile-nav {
  display: none;
}
@media (max-width: 700px) {
  body {
    padding-bottom: 68px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 8px;
    gap: 5px;
    background: #171717f5;
    backdrop-filter: blur(8px);
  }
  .mobile-nav button {
    flex: 1;
    border: 0;
    background: transparent;
    color: white;
    font-size: 13px;
  }
  .mobile-nav button:hover {
    background: #444444;
  }
  #toast {
    bottom: 78px;
  }
}

/* Independent editorial typography: classic serif headings and neutral controls. */
:root {
  --serif: Georgia, "Times New Roman", serif;
}
header {
  background: #fff;
  color: #171717;
  border-top: 4px solid #171717;
  border-bottom: 3px double #171717;
}
.brand {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.6px;
  color: #171717;
}
.brand span {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: #444;
  letter-spacing: -0.4px;
}
header nav button {
  color: #333;
  border-color: #c8c8c8;
  border-radius: 0;
  font-size: 13px;
}
header nav button.active {
  background: #171717;
  border-color: #171717;
  color: #fff;
}
.trip {
  color: #555;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3,
.detail-title {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 27px;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 21px;
}
.detail-title {
  font-size: 32px;
}
.place .select-place,
.near-card h3 button {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.detail > p:not(.small):not(.muted):not(.alert) {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
}
button,
input:not([type="checkbox"]),
select,
.tag,
.program-card,
.navigation a,
.photo-empty,
.detail .hero-photo,
.map-hint,
dialog {
  border-radius: 2px;
}
.detail-actions button.primary {
  background: #171717;
  border-color: #171717;
  color: white;
}
.program-card {
  border: 0;
  border-top: 2px solid #222;
  border-bottom: 1px solid #ccc;
}
.meta,
.download-icon {
  letter-spacing: 0.025em;
}
.tag.chosen {
  background: #333;
  color: #fff;
}
a {
  text-underline-offset: 3px;
}
input[type="checkbox"] {
  accent-color: #222;
}
@media (max-width: 700px) {
  .brand {
    font-size: 30px;
  }
  .brand span {
    font-size: 19px;
  }
  .detail-title {
    font-size: 28px;
  }
  .detail > p:not(.small):not(.muted):not(.alert) {
    font-size: 17px;
  }
}

.photo-frame {
  position: relative;
}
.photo-zoom {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: visible;
}
.detail .photo-zoom .hero-photo {
  display: block;
  transition: transform 0.2s ease;
  transform-origin: center;
}
.photo-expand-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #fff;
  color: #222;
  padding: 4px 7px;
  font: 12px system-ui;
  pointer-events: none;
}
.photo-dialog {
  max-width: min(1100px, 96vw);
  width: max-content;
  padding: 42px 12px 10px;
  background: #111;
  color: white;
}
.photo-dialog #largePhoto {
  display: block;
  max-width: 90vw;
  max-height: 78dvh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.photo-close {
  position: absolute;
  top: 6px;
  right: 8px;
  min-height: 30px;
}
.photo-dialog p {
  margin: 8px 0;
  font-size: 13px;
}
@media (hover: hover) and (pointer: fine) {
  .photo-zoom:hover {
    z-index: 900;
  }
  .detail .photo-zoom:hover .hero-photo {
    transform: scale(1.16);
    box-shadow: 0 10px 28px #0005;
  }
}
@media (prefers-reduced-motion: reduce) {
  .detail .photo-zoom .hero-photo {
    transition: none;
  }
}

.personal-views {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.personal-views button {
  flex: 1;
}
.place-actions {
  flex-wrap: wrap;
}
button[aria-pressed="true"] {
  background: #222;
  color: white;
  border-color: #222;
}

/* Full monochrome presentation, including map and photographs. */
.hero-photo,
#largePhoto {
  filter: grayscale(1);
}

/* Colour is reserved for the geographic map and its markers. */
#mapPreview,
#map .leaflet-tile-pane {
  filter: none;
}
.map-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 7px 16px;
  background: white;
  font-size: 12px;
  border-bottom: 1px solid #ddd;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-legend i {
  width: 11px;
  height: 11px;
  display: inline-block;
  border-radius: 50%;
}
.legend-selected {
  background: #1766ce;
}
.legend-near {
  background: #ed6500;
}
.legend-other {
  background: #586774;
}
.nearby-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  font: bold 16px system-ui;
  box-shadow:
    0 0 0 2px #fff9,
    0 2px 7px #0007;
}
.near-place-pin {
  background: #ed6500;
}
.selected-place-pin {
  background: #1766ce;
  box-shadow:
    0 0 0 5px #1766ce40,
    0 2px 9px #0008;
}
.near-tooltip {
  border: 1px solid #ed6500;
  color: #803200;
  font-weight: 700;
}
.map-status {
  padding: 10px 16px;
  margin: 0;
  font-size: 13px;
  background: #f3f3f3;
  border-bottom: 1px solid #aaa;
}

/* w pobliżu: dodatki */
.radius-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.radius-quick button.active { background: #111; color: #fff; border-color: #111; }
.near-in-range { margin: 4px 0 0; }
.near-card .daypart { font-size: 0.8rem; color: #666; }
.along-route { margin-top: 14px; padding-top: 10px; border-top: 1px solid #ddd; }
.along-route h3 { font-family: Georgia, serif; font-size: 1rem; margin: 0 0 8px; }
.geo-batch { margin-top: 10px; }
.geo-batch-actions { margin-top: 8px; }
.geo-batch-actions[hidden] { display: none; }

/* zwijane filtry katalogu */
.catalog-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.catalog-title h1 { margin-bottom: 10px; }
.toggle-filters { white-space: nowrap; font-size: 0.85rem; }
.filters-panel[hidden] { display: none; }
.catalog-head.collapsed { padding-bottom: 6px; }
.catalog-head.collapsed .countline { margin-top: 0; }

/* rozbudowa 30.09: pasek info, chipy, tagi, galeria, notatki, tryb A+ */
.infobar { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 6px 18px; border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); }
.infobar a { color: inherit; }
.recent { padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font-size: 0.8rem; padding: 3px 9px; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: #111; }
.tag-soft { background: #f1f1f1; color: #444; }
.near-card .why { color: #333; font-style: italic; }
.gallery-strip { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0; }
.gallery-strip img { height: 110px; width: auto; border-radius: 4px; flex: none; }
.note-box { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.note-box textarea, .note-box input { width: 100%; font: inherit; padding: 6px; border: 1px solid var(--line); border-radius: 4px; }
.osm-row { padding: 4px 0; border-bottom: 1px solid #eee; }
.scope-tabs { margin-bottom: 10px; }
.scope-tabs button.active { background: #111; color: #fff; }
.mta-line { white-space: nowrap; }
body.big { font-size: 18px; }
body.big button, body.big select, body.big input { font-size: 1.05rem; padding: 10px 14px; min-height: 44px; }
body.big .chip { padding: 6px 12px; }
body.big .mobile-nav button { font-size: 1.05rem; }
@media (max-width: 700px) { .infobar { font-size: 0.8rem; } .mobile-nav button { min-height: 52px; } }

/* must see, okazje, kalendarz */
.repeat-box, .deal-hints { margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fafafa; }
.repeat-box h3, .deal-hints h3 { font-family: Georgia, serif; font-size: 1rem; margin: 0 0 6px; }
.src-line { color: var(--muted); }
.deal-card h2 { font-size: 1.05rem; }
.cal-day p { margin: 6px 0; }
#calFilters[hidden], #dealsFilters[hidden] { display: none; }

/* NOWE */
.tag-new { background: #e85d04; color: #fff; font-weight: 700; letter-spacing: .02em; margin-left: 6px; }
.nav-new { font-weight: 700; }
.news-list h3 { font-family: Georgia, serif; font-size: 1rem; margin: 12px 0 4px; }
.toggle-filters { border: 1px solid var(--line); border-radius: 4px; padding: 4px 10px; background: #fff; cursor: pointer; }

.legend-new { display:inline-block; width:12px; height:12px; border-radius:50%; background:#111; border:2px solid #fff; box-shadow:0 0 0 1px #111; vertical-align:middle; margin-right:4px; }
.new-banner { margin: 10px 18px; padding: 10px 12px; border: 2px solid #111; border-radius: 6px; background: #fff; }
.new-banner .pair { margin-top: 8px; }
.new-banner[hidden] { display: none; }
.cat-pin { background: transparent; border: none; font-size: 18px; line-height: 22px; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.55); }
.cat-pin-new { font-size: 19px; text-shadow: 0 0 0 2px #fff; }
.fav-cat-pin { position: relative; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
.fav-cat-pin::before { content: "★"; position: absolute; inset: 0; font-size: 26px; line-height: 26px; color: #f7b500; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.fav-cat-pin .fcp-cat { position: relative; font-size: 11px; transform: translateY(-1px); }
.map-legend-box { position: absolute; left: 8px; bottom: 44px; z-index: 700; background: rgba(255,255,255,.95); border: 1px solid var(--line,#d0d0d0); border-radius: 8px; max-width: 220px; font-size: 12px; }
.map-legend-box summary { cursor: pointer; padding: 6px 10px; font-weight: 600; }
.map-legend-body { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 4px 10px 8px; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-item i { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* pusta trasa: konkretne pierwsze kroki zamiast samego „Wybierz punkt startowy” */
.route-empty { display: grid; gap: 8px; margin: 8px 0 12px; }
.route-empty[hidden] { display: none; }
.route-empty button { min-height: 44px; text-align: left; }

/* krótki opis zaraz pod zdjęciem w karcie miejsca */
.detail-lead { font-family: Georgia, serif; font-size: 16px; line-height: 1.45; margin: 10px 0 6px; }

/* „Polecane od Szczepana” w widoku Miejsca (osoba osobna / Kasia) */
.explore-recs { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line, #d0d0d0); }
.explore-recs-h { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; margin: 0 0 8px; }
.explore-recs .np-photos { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.explore-recs .np-photo figcaption strong { font-size: 14px; }

/* Podgląd „jako Kasia” (test, tylko dla Szczepana) */
.preview-solo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; background: #fff4cc; border-bottom: 1px solid #d0d0d0; font-size: 13px;
}
.preview-solo-bar button { border: 1px solid #171717; background: #171717; color: #fff; padding: 4px 10px; border-radius: 4px; }
.preview-solo-bar[hidden] { display: none; }
