/* === Routenplaner (route-planner.js) — kompakte Stopp-Liste, Pfeile auf der Karte ===
   Mobil zuerst (390 px): Touch-Ziele >= 44 px. */
.rt-card { margin-top: 12px; background: #fff; border-radius: 12px; border: 1px solid #e0e4e8; padding: 12px; }
.rt-summary { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.rt-summary strong { font-size: 16px; color: #1a3a52; }
.rt-summary span { font-size: 12px; color: #667; }
.rt-nav { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px;
    padding: 8px 12px; border-radius: 10px; background: #2e7d32; color: #fff; font-weight: 700; font-size: 15px;
    text-decoration: none; margin-bottom: 8px; }
.rt-nav:active { background: #1b5e20; }
.rt-allDone { text-align: center; padding: 14px; border-radius: 10px; background: #e8f5e9; color: #1b5e20; font-weight: 700; margin-bottom: 8px; }
.rt-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rt-sec { flex: 1 1 auto; min-height: 44px; padding: 6px 10px; border: 1px solid #c5ced6; border-radius: 8px; background: #f4f6f8;
    color: #1a3a52; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center;
    justify-content: center; cursor: pointer; }
.rt-sec.rt-danger { color: #b71c1c; }
.rt-list { list-style: none; margin: 0; padding: 0; }
.rt-item { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1px solid #eef0f2; min-height: 48px; }
.rt-item:last-child { border-bottom: none; }
.rt-badge { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #e53935; color: #fff; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center; }
.rt-item.start .rt-badge, .rt-item.ret .rt-badge { background: #546e7a; }
.rt-item.next { background: #e8f5e9; border-radius: 8px; box-shadow: inset 4px 0 0 #2e7d32; padding-left: 10px; }
.rt-item.next .rt-badge { background: #2e7d32; box-shadow: 0 0 0 3px rgba(46,125,50,.3); }
.rt-item.done .rt-badge { background: #9e9e9e; }
.rt-item.done .rt-name { text-decoration: line-through; color: #888; }
.rt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rt-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-sub { font-size: 12px; color: #667; }
.rt-check { flex: 0 0 44px; height: 44px; border: none; background: transparent; cursor: pointer; position: relative; font-size: 20px; color: #2e7d32; font-weight: 700; }
.rt-check::before { content: ''; position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border: 2px solid #90a4ae; border-radius: 6px; box-sizing: border-box; background: #fff; z-index: 0; }
.rt-check { z-index: 0; }
.rt-item.done .rt-check::before { background: #e8f5e9; border-color: #2e7d32; }
.rt-check-ph { flex: 0 0 44px; }
.rt-note { font-size: 12px; color: #667; margin: 10px 0 0; }
/* Karte */
.rt-m { width: 28px; height: 28px; border-radius: 50%; background: #e53935; color: #fff; border: 2px solid #fff; display: flex;
    align-items: center; justify-content: center; font: 700 13px/1 sans-serif; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.rt-m-start { background: #546e7a; }
.rt-m-next { background: #2e7d32; width: 34px; height: 34px; margin: -3px 0 0 -3px; box-shadow: 0 0 0 4px rgba(46,125,50,.35), 0 2px 6px rgba(0,0,0,.4); }
.rt-m-done { background: #9e9e9e; opacity: .8; }
.rt-arrow-wrap { background: none; border: none; }
.rt-arrow { width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 13px; color: #1a5276; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff; }

/* Kategorie-Kacheln: Spalten dürfen schrumpfen (sonst ragt die rechte Spalte bei 390 px über den Rand) */
.rp-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-cat-chk { min-width: 0; }
