/* ============================================================
   LifeFolder — Dashboard
   ============================================================ */
.page-title--lg { font-size: 32px; }

/* Quick-Upload-Dropzone */
.dash-dropzone { display: block; margin-top: 22px; border: 1.5px dashed var(--color-line); border-radius: 16px; background: var(--color-surface); padding: 32px; text-align: center; color: inherit; transition: border-color .15s, background .15s; }
.dash-dropzone:hover { border-color: var(--color-selected); background: var(--color-bg); }
.dash-dropzone__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 15px; background: var(--status-valid-bg); color: var(--color-muted-2); }
.dash-dropzone__title { font-size: 18px; font-weight: 700; margin-top: 14px; }
.dash-dropzone__browse { color: var(--color-muted); }
.dash-dropzone__formats { font-size: 13.5px; color: var(--color-muted-2); margin-top: 6px; }
.dash-dropzone__secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--color-muted-2); margin-top: 14px; }

/* Nächster Schritt (Hero) */
.dash-next { display: flex; align-items: center; gap: 22px; margin-top: 22px; background: linear-gradient(180deg, var(--color-selected-soft), var(--color-surface)); border: 1px solid var(--color-line); border-radius: 18px; padding: 26px 28px; }
.dash-next__icon { width: 60px; height: 60px; flex: none; border-radius: 15px; background: var(--status-urgent-bg); color: var(--status-urgent-fg); display: flex; align-items: center; justify-content: center; }
.dash-next__body { flex: 1; min-width: 0; }
.dash-next__label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-muted-2); }
.dash-next__title { font-size: 22px; font-weight: 800; margin-top: 5px; }
.dash-next__text { font-size: 14.5px; color: var(--color-muted); margin-top: 4px; }
.dash-next__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; flex: none; }
.dash-next__more { font-size: 13px; font-weight: 600; color: var(--color-muted-2); }

/* Ordner & Checklisten */
.dash-folders { margin-top: 26px; }
.dash-folders__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-folders__title { font-size: 17px; font-weight: 700; font-family: var(--font-head); }
.link-soft { color: var(--color-muted); font-size: 13px; font-weight: 600; }
.link-soft:hover { text-decoration: underline; }
.folder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.folder-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 16px; padding: 26px 18px 22px; color: inherit; transition: border-color .15s, box-shadow .15s; }
.folder-card:hover { border-color: var(--color-line); box-shadow: 0 6px 18px rgba(28, 45, 52, .08); }
.folder-card__icon { width: 62px; height: 62px; border-radius: 50%; background: var(--status-valid-bg); color: var(--color-muted); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.folder-card__name { font-size: 18px; font-weight: 700; font-family: var(--font-head); }
.folder-card__meta { font-size: 13.5px; color: var(--color-muted-2); margin-top: 7px; }
.folder-card__cta { font-size: 13.5px; font-weight: 700; color: var(--color-muted); margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }
.is-warn { color: var(--status-review-fg); font-weight: 600; }
.is-muted { color: var(--color-muted); font-weight: 600; }

/* Zwei Spalten */
.dash-cols { display: flex; gap: 24px; margin-top: 24px; align-items: flex-start; }
.dash-main { flex: 1; min-width: 0; }
.dash-rail { width: 320px; flex: none; }

/* Zuletzt hinzugefügt */
.recent-list { display: flex; flex-direction: column; margin-top: 10px; }
.recent-row { display: flex; align-items: center; gap: 13px; padding: 12px 4px; border-bottom: 1px solid var(--color-line-soft); }
.recent-row:last-child { border-bottom: none; }
.recent-row__icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.recent-row__main { flex: 1; min-width: 0; }
.recent-row__name { font-size: 14px; font-weight: 700; }
.recent-row__meta { font-size: 12px; color: var(--color-muted-2); margin-top: 1px; }

/* Aufmerksamkeit (Rail) */
.att-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.att-item { display: flex; gap: 13px; padding: 13px; border: 1px solid var(--color-line); border-radius: 12px; background: var(--color-surface); align-items: flex-start; }
.att-item__icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.att-item--review .att-item__icon { background: var(--status-review-bg); color: var(--status-review-fg); }
.att-item--urgent .att-item__icon { background: var(--status-urgent-bg); color: var(--status-urgent-fg); }
.att-item--neutral .att-item__icon { background: var(--status-valid-bg); color: var(--status-valid-fg); }
.att-item--ai .att-item__icon { background: var(--color-ai-tile); color: var(--color-ai); }
.att-item__body { flex: 1; min-width: 0; }
.att-item__title { font-size: 14px; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-item__sub { display: block; font-size: 12.5px; color: var(--color-muted); margin-top: 2px; }
.att-item__chevron { color: var(--color-muted-2); margin-top: 6px; }
a.att-item { color: inherit; text-decoration: none; transition: border-color .12s, box-shadow .12s; }
a.att-item:hover { border-color: var(--color-line); box-shadow: 0 4px 12px rgba(28, 45, 52, .08); }
.att-clear { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: var(--status-valid-fg); }
.recent-empty { margin: 14px 0 4px; color: var(--color-muted-2); font-size: 14px; }

/* First-run */
.dash-firstrun { border: 1.5px dashed var(--color-line); border-radius: 18px; background: linear-gradient(180deg, var(--color-selected-soft), var(--color-surface)); padding: 48px; text-align: center; margin-top: 28px; }
.dash-firstrun__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 18px; background: var(--color-selected-soft); color: var(--color-selected); }
.dash-firstrun__title { font-size: 22px; font-weight: 800; margin-top: 18px; }
.dash-firstrun__body { font-size: 15px; color: var(--color-muted); margin-top: 8px; }
.dash-firstrun__ai { color: var(--color-ai); font-weight: 700; }
.dash-firstrun__hint { font-size: 13px; color: var(--color-muted-2); margin-top: 16px; }

@media (max-width: 900px) {
  .folder-grid { grid-template-columns: 1fr 1fr; }
  .dash-cols { flex-direction: column; }
  .dash-rail { width: 100%; }
  .dash-next { flex-direction: column; align-items: flex-start; }
  .dash-next__actions { align-items: flex-start; width: 100%; }
}
@media (max-width: 560px) {
  .folder-grid { grid-template-columns: 1fr; }
  /* Dropzone mobil kompakter — Tippen öffnet ohnehin direkt den Datei-Dialog */
  .dash-dropzone { padding: 20px 16px; }
  .dash-dropzone__icon svg { width: 22px; height: 22px; }
}

/* Echtes Drag & Drop: aktiver Zustand der Dropzone */
.dash-dropzone.is-dragover, .add-dropzone.is-dragover { border-color: var(--color-action); background: var(--status-valid-bg); }
