/* Sondle – Meine Listen (11.10.2026, Paket 5, Variante B; seit 11.10.2026 abends gemeinsam für Reiseraum und Hub, wie datepick.css).
   Gehört zu lists.js. Grundbausteine (.ovrow, .rows--framed, .cbx, .subhead, .lform, .hscroll, .fchip, .seg, .cpop) stehen in base.css.
   Im Reiseraum mit Spalte der Reise, im Hub ohne (.pll--notrip). Geladen nach sondle.css bzw. hub.css. */

/* ---------- Seite (Reiseraum #packen/listen, dritter Unterreiter; Hub #/listen) ----------
   Werkzeugzeile: Suche als Pille mit Lupe + Filter „Alle · Nur in Dublin · In keiner Liste“
   (.fchip--sm, die beiden letzten nur wenn es solche Einträge gibt). Liste im Fokus (Handy immer, Desktop bei einer Liste): Chips der Listen
   (gewählte hellblau, nochmal tippen = Menü; „+ Liste“ gestrichelt, nur Handy) und die Spaltennamen „Hütte · Dublin“ rechts im Kategoriekopf.
   Desktop ab zwei Listen: Tabelle mit klebenden Spaltenköpfen (je Liste 76 px, Reise 88 px; Kopf = Knopf mit Menü, Darüberfahren N50 + ⌄).
   Zeile = .ovrow im Rahmen je Kategorie (.rows--framed, Linie ab 8 px): Name 15/700 (+ ☀︎, „nur in Dublin“/„in keiner Liste“ 13/600 N600) |
   Kästchen .cbx je Liste | Reise-Zelle mit Linie links: „+“ gestrichelt (nicht drin) · Koffer im Ring N900 (auf der Liste) · Haken im Ring
   (eingepackt/erledigt) – kein Grün, Grün heißt auf Packen „eingepackt“. Archiviert: Reise-Zelle leer, Listen bleiben pflegbar. */
.pll { --pll-col: 76px; --pll-trip: 88px; }
.pll--focus { --pll-col: 64px; --pll-trip: 64px; }
@media (min-width: 721px) { .pll--focus { --pll-col: 96px; --pll-trip: 88px; } } /* Desktop mit einer Liste: Platz für den Listennamen im Kategoriekopf */
.pll__grid, .pll__r.ovrow { display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--pll-n, 1), var(--pll-col)) var(--pll-trip); align-items: center; gap: 0; }
.pll__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.pll__search { position: relative; flex: 1 1 240px; min-width: 0; }
.pll__search > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; color: var(--n600); pointer-events: none; }
.pll__q { width: 100%; padding-left: 40px; border-radius: var(--r-pill); }
.pll__q::-webkit-search-cancel-button { cursor: pointer; }
.pll__filters { display: flex; flex-wrap: wrap; gap: 6px; }
/* Handy: Filter als eigene Wisch-Zeile .hscroll bis an beide Ränder wie die Chips der Listen – vorher hing „In keiner Liste“ schon bei „Nur in Kopenhagen“
   allein in Zeile 2 (Prüfung 13.10.2026). Desktop wie bisher (neben der Suche, umbricht nur ohne Platz). 4 px oben/unten für den Fokusring; position für offsetLeft (lists.js). */
.pll__filters.hscroll { --hs-gap: 6px; position: relative; }
@media (min-width: 721px) { .pll__filters.hscroll, .pll__filters.hscroll.at-start.at-end { margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 720px) {
  .pll__filters.hscroll { flex: 0 0 calc(100% + 2 * var(--gutter)); flex-wrap: nowrap; margin-top: -4px; margin-bottom: -4px; padding-top: 4px; padding-bottom: 4px; }
  .pll__filters .fchip { white-space: nowrap; }
}
@media (max-width: 720px) and (pointer: coarse) { .pll__filters.hscroll { margin-top: -6px; margin-bottom: -6px; padding-top: 6px; padding-bottom: 6px; } }
.pll__chips { --hs-gap: 6px; margin-top: -4px; margin-bottom: 8px; padding-top: 4px; padding-bottom: 4px; } /* Wisch-Zeile .hscroll: Rand bis an den Bildschirm wie die Filter der Ideen; 4 px oben/unten, damit Fokusring und Trefferfläche nicht abgeschnitten werden */
@media (pointer: coarse) { .pll__chips { margin-top: -6px; margin-bottom: 6px; padding-top: 6px; padding-bottom: 6px; } }
.pll__chips .fchip { white-space: nowrap; }
.pll__chips .fchip .ico { display: inline-flex; margin: 0 -3px 0 -2px; }
.pll__chips .fchip .ico svg { width: 14px; height: 14px; }
@media (min-width: 721px) { .pll__chips .fchip--add { display: none; } } /* Desktop: „+ Liste anlegen“ im Seitenkopf */
.pll .lform { margin: 0 0 14px; }
/* klebt unter der Kopfzeile – im Reiseraum seit 12.10.2026 auch unter den klebenden Unterreitern (--subtabs-h aus sondle.css; im Hub gibt es sie nicht: 0) */
.pll__head { position: sticky; top: calc(var(--hdr-h, 61px) + var(--subtabs-h, 0px)); z-index: 4; margin: 0 0 6px; padding: 6px 5px 6px 0; background: var(--n0); border-bottom: 1px solid var(--n100); }
.pll__hcol { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 32px; margin: 0 2px; padding: 0 4px; border: 0; border-radius: var(--r-sm);
  background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--n600); cursor: pointer; transition: background-color var(--ease), color var(--ease); }
.pll__hname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pll__hcol .ico { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); display: inline-flex; padding: 2px; border-radius: var(--r-sm); background: var(--n50); opacity: 0; transition: opacity var(--ease); } /* ⌄ legt sich beim Darüberfahren über das Ende – der Name behält die volle Breite */
.pll__hcol .ico svg { width: 12px; height: 12px; }
@media (hover: hover) { .pll__hcol:hover { background: var(--n50); color: var(--n900); } .pll__hcol:hover .ico { opacity: 1; } }
.pll__hcol[aria-expanded="true"] { background: var(--n50); color: var(--n900); }
.pll__hcol[aria-expanded="true"] .ico, .pll__hcol:focus-visible .ico { opacity: 1; }
.pll__hcol:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.pll__htrip { align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 4px; border-left: 1px solid var(--n100);
  font-size: 13px; font-weight: 700; color: var(--n900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pll__body > .pll__sec:first-child, .pll__new + .pll__sec { margin-top: 8px; }
.pll__sec { margin-top: var(--sec-gap); scroll-margin-top: calc(var(--hdr-h, 61px) + var(--subtabs-h, 0px) + 8px); } /* Sprung zu den To-dos: nicht unter Kopfzeile und Unterreitern */
.pll:not(.pll--focus) .pll__sec { scroll-margin-top: calc(var(--hdr-h, 61px) + var(--subtabs-h, 0px) + 52px); } /* in der Tabelle auch unter den Spaltenköpfen frei */
.pll__sub { display: grid; grid-template-columns: minmax(0, 1fr) var(--pll-col) var(--pll-trip); gap: 0; padding-right: 5px; } /* Spaltennamen über Kästchen und Reise: 4 Innenrand + 1 Rand; ohne Lücke, sonst stehen sie neben den Spalten */
/* Kategoriekopf bündig mit dem Text der Zeilen (Rand 1 + Innenrand 4 + Zeile 8 = 13) und Gruppenabstand wie auf Packen */
.pll__grp > .subhead { padding-left: calc(var(--pad-row) + 5px); }
.pll__grp + .pll__grp > .subhead { margin-top: var(--grp-gap); }
.pll__colh { min-width: 0; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.25; padding: 0 2px; overflow: hidden; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } /* Listenname am Handy bis zu zwei Zeilen statt „Immer da…“ */
.pll__rows { --rule-x: 8px; }
.pll__r.ovrow { min-height: 48px; padding: 0 0 0 8px; scroll-margin-top: calc(var(--hdr-h, 61px) + var(--subtabs-h, 0px) + 8px); scroll-margin-bottom: 16px; } /* Pfeiltasten: Zeile nie unter Kopfzeile und Unterreitern */
.pll:not(.pll--focus) .pll__r.ovrow { scroll-margin-top: calc(var(--hdr-h, 61px) + var(--subtabs-h, 0px) + 52px); } /* … und nicht unter den klebenden Spaltenköpfen */
@media (hover: hover) { .pll__r:hover { background: var(--n50); } }
.pll__ncell { display: flex; align-self: stretch; min-width: 0; } /* Zelle (role gridcell) um den Namen-Knopf */
.pll__name { flex: 1 1 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; min-width: 0; min-height: 48px; padding: 6px 8px 6px 0; border: 0; border-radius: var(--r-sm);
  background: none; font: inherit; text-align: left; color: var(--n900); cursor: pointer; }
.pll__name b { min-width: 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.pll__name:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.pll__sun { display: inline-flex; color: var(--wx-sun); }
.pll__sun svg { width: 14px; height: 14px; }
.pll__meta { font-size: 13px; font-weight: 600; color: var(--n600); }
.pll__r.is-muted .pll__name b { color: var(--n600); font-weight: 600; }
.pll__cell { display: flex; align-items: center; justify-content: center; }
.pll__cell .cbx { cursor: pointer; }
.pll__cell .cbx:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.pll__tripcell { align-self: stretch; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--n100); }
.pll__trip { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--n900); cursor: default; transition: border-color var(--ease), color var(--ease), box-shadow var(--ease); }
.pll__trip svg { width: 14px; height: 14px; }
.pll__trip.is-add { border: 1.5px dashed var(--n300); color: var(--n600); cursor: pointer; }
.pll__trip.is-on, .pll__trip.is-done { box-shadow: inset 0 0 0 1.5px var(--n900); }
.pll__trip.is-none { visibility: hidden; }
@media (hover: hover) { .pll__trip.is-add:hover { border-style: solid; border-color: var(--n900); color: var(--n900); } }
.pll__trip:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.pll__new { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.pll__new .ovadd { flex: 1; min-width: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { .pll__new .ovadd:hover { background: var(--n50); } } /* wie .ovadd in base.css – lists.css lädt danach und setzte die Fläche sonst zurück */
.pll__startname { width: 100%; max-width: 360px; margin: 16px 0 14px; }
.pll__starts { align-self: stretch; }
.pll__starts .ovrow { width: 100%; }
/* Ding im Panel bzw. Blatt */
.pll__thing { gap: 14px; }
.modal .pll__thing { margin-top: 18px; } /* Abstand Titel → Formular wie im Blatt (auch im Hub-Fenster) */
.pll__thing .field { margin: 0; }
.panel .pll__thing .field + .field, .modal--sheet .pll__thing .field + .field { margin-top: 0; } /* überall 14 px (Abnahme 11.10.) */
.pll__check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; color: var(--n900); cursor: pointer; }
.pll__check > span { display: flex; flex-direction: column; gap: 2px; }
.pll__check small { font-size: 13px; font-weight: 600; color: var(--n600); }
.pll__lab { margin: 8px 0 -6px; }
.pll__lrow .cbx { pointer-events: none; }
.pll__tstate { margin: 0; font-size: 15px; font-weight: 600; color: var(--n900); }
.pll__push { align-self: flex-start; }
.pll__del { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--n100); }
body:has(.offline) .pll__cell .cbx, body:has(.offline) .pll__trip.is-add { opacity: .4; pointer-events: none; }
@media (pointer: coarse) {
  .pll__cell .cbx, .pll__trip { position: relative; }
  .pll__cell .cbx::after, .pll__trip::after, .pll__hcol::after { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, var(--hit)); height: max(100%, var(--hit)); transform: translate(-50%, -50%); }
}
/* Neue Liste: Spalte gleitet herein (240 ms); Weggefallenes blendet lists.js weich aus */
.pll__hcol.is-new, .pll__cell.is-new { animation: pllColIn 240ms var(--ease-out) both; }
@keyframes pllColIn { from { opacity: 0; transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .pll__hcol.is-new, .pll__cell.is-new { animation: none; } }
/* Ab 7 Listen (Tabelle): waagrecht wischen statt schmaler Spalten – Name links und Reise rechts bleiben stehen; der Kopf klebt hier nicht (Wischfläche) */
.pll__scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px 8px; scrollbar-width: thin; }
.pll--wide .pll__head, .pll--wide .pll__body { width: max-content; min-width: 100%; }
.pll--wide .pll__head { position: static; }
.pll--wide .pll__grid, .pll--wide .pll__r.ovrow { grid-template-columns: minmax(200px, 1fr) repeat(var(--pll-n, 1), var(--pll-col)) var(--pll-trip); }
.pll--wide.pll--notrip .pll__grid, .pll--wide.pll--notrip .pll__r.ovrow { grid-template-columns: minmax(200px, 1fr) repeat(var(--pll-n, 1), var(--pll-col)); }
.pll--wide .pll__ncell, .pll--wide .pll__hfirst { position: sticky; left: 0; z-index: 2; background: var(--n0); }
.pll--wide .pll__tripcell, .pll--wide .pll__htrip { position: sticky; right: 0; z-index: 2; background: var(--n0); }
@media (hover: hover) { .pll--wide .pll__r:hover .pll__ncell, .pll--wide .pll__r:hover .pll__tripcell { background: var(--n50); } }
/* „Alles einpacken“ je Liste (12.10.2026, Markus; nur Reiseraum, nicht archiviert, nur Listen mit Einträgen; lists.js packAll → trip.apply):
   Liste im Fokus = Knopf .btn--secondary.btn--sm mit Koffer unter den Chips (.pll__pack). Tabelle = Zeile .pll__all.pll__grid unter den Spaltenköpfen,
   nicht klebend: links „Alles einpacken“ 13/600 N600 bündig mit den Namen (wie der Kategoriekopf), je Liste der gestrichelte Kreis der Reise-Spalte
   (.pll__trip.is-add – Darüberfahren, Fokus, offline und Trefferfläche von dort) mit Koffer statt „+“. Während der Anfrage aria-busy. */
.pll__pack { display: flex; margin: 0 0 12px; }
.pll__all { margin: -2px 0 4px; padding: 4px 5px 4px 0; }
.pll__allt { min-width: 0; padding-left: calc(var(--pad-row) + 5px); font-size: 13px; font-weight: 600; color: var(--n600); }
.pll__allc { display: flex; align-items: center; justify-content: center; }
.pll__all .pll__trip[aria-busy="true"], .pll__pack .btn[aria-busy="true"] { cursor: progress; }
.pll__allc.is-new { animation: pllColIn 240ms var(--ease-out) both; } /* neue Liste: gleitet mit ihrer Spalte herein */
@media (prefers-reduced-motion: reduce) { .pll__allc.is-new { animation: none; } }
.pll--wide .pll__all { width: max-content; min-width: 100%; }
.pll--wide .pll__allt, .pll--wide .pll__alltrip { position: sticky; z-index: 2; align-self: stretch; display: flex; align-items: center; background: var(--n0); }
.pll--wide .pll__allt { left: 0; }
.pll--wide .pll__alltrip { right: 0; }
/* Hub (ohne Reise): keine Reise-Spalte – Raster nur aus Name und Listen */
.pll--notrip .pll__grid, .pll--notrip .pll__r.ovrow { grid-template-columns: minmax(0, 1fr) repeat(var(--pll-n, 1), var(--pll-col)); }
.pll--notrip .pll__sub { grid-template-columns: minmax(0, 1fr) var(--pll-col); }
.pll--notrip.pll--focus { --pll-col: 88px; }
