/* Redesign Runde 42 (2.107.0). Copyright © Fabian Stamminger @ The Platform Group */
/* R42-02: Zu prüfen als Liste */
.rl-host { display: block !important; }
.rl-head, .rl-row { display: grid; grid-template-columns: minmax(200px, 2.4fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(70px, .6fr) 96px; gap: 0 1rem; align-items: center; padding: 0 1rem; }
.rl-head { font-size: .75rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--orlop-muted-text, #565C67); padding-bottom: .4rem; }
.rl-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #D8DCE4; border-radius: 16px; box-shadow: 0 2px 10px rgba(14,17,21,.06); overflow: hidden; }
.rl-row { min-height: 60px; border-top: 1px solid #EEF0F4; cursor: pointer; }
.rl-row:first-child { border-top: 0; }
.rl-row:hover { background: #F5F6F8; }
.rl-main { min-width: 0; display: flex; flex-direction: column; }
.rl-vendor { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-file { color: var(--orlop-muted-text, #565C67); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-amount { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.rl-head .rl-amount { font-weight: 700; }
.rl-due.is-overdue { color: #B91C1C; font-weight: 600; }
.rl-age { color: var(--orlop-muted-text, #565C67); font-size: .875rem; }
.rl-act { text-align: right; }
.rl-go { min-height: 32px; padding: 0 14px; }
@media (max-width: 767px) {
  .rl-head { display: none; }
  .rl-row { grid-template-columns: 1fr auto; grid-template-areas: "main amount" "due age" "inv act"; gap: .15rem .75rem; padding: .75rem 1rem; }
  .rl-main { grid-area: main; } .rl-amount { grid-area: amount; } .rl-due { grid-area: due; font-size: .875rem; } .rl-age { grid-area: age; text-align: right; }
  .rl-inv { grid-area: inv; font-size: .8125rem; color: var(--orlop-muted-text, #565C67); } .rl-act { grid-area: act; }
  .rl-go { min-height: 44px; }
}

.doc-review-keys { font-size: .75rem; color: var(--orlop-muted-text, #565C67); margin-right: .75rem; white-space: nowrap; }
.doc-review-keys kbd { font: inherit; font-size: .75rem; border: 1px solid #D8DCE4; border-bottom-width: 2px; border-radius: 4px; padding: 0 .3rem; background: #fff; color: #0E1115; }
@media (max-width: 1199px) { .doc-review-keys { display: none; } }

/* R42-03: Combobox in der Karte Noch zu tun */
.todo-combo { position: relative; margin-top: .5rem; max-width: 520px; }
.todo-combo-input { width: 100%; box-sizing: border-box; min-height: 44px; padding: .5rem .75rem; border: 1px solid #6B717C; border-radius: 10px; font: inherit; background: #fff; color: #0E1115; }
.todo-combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; list-style: none; margin: 0; padding: .25rem; background: #fff; border: 1px solid #D8DCE4; border-radius: 12px; box-shadow: 0 8px 24px rgba(14,17,21,.14); max-height: 320px; overflow-y: auto; }
.todo-combo-list li { padding: .6rem .75rem; border-radius: 8px; cursor: pointer; min-height: 44px; display: flex; align-items: center; box-sizing: border-box; }
.todo-combo-list li[aria-selected="true"], .todo-combo-list li:hover { background: #F5F6F8; }
.todo-combo-none { color: var(--orlop-muted-text, #565C67); cursor: default !important; }

/* R42-04: Einrichtungsliste, Knopf je Zeile */
.setup-go { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid #0E1115; background: #fff; color: #0E1115; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.setup-row:hover .setup-go { background: #0E1115; color: #fff; }
.dash-recent-more { color: var(--orlop-muted-text, #565C67); font-size: .8125rem; }

.dash-clarify-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.dash-clarify-go { min-height: 32px; padding: 0 14px; }

/* R42 Nacharbeit (D-2034): Belegdetail ohne Vorschau, Original-Karte bis zum rechten Rand */
/* D-2035: nur ein Tour-Einstieg im leeren Dashboard */
body:has(#tourHint) .dash-first-tour { display: none; }
