/* App – Mein Putzdienst (Präfix dn-) */
.dn { gap: 10px; }
.dn-card { background: var(--ap-card-grad); border: 1px solid var(--ap-gold); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.dn-card__head { display: flex; gap: 10px; align-items: center; }
.dn-card__ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--ap-gold); color: var(--ap-on-gold); display: flex; align-items: center; justify-content: center; }
.dn-card__txt { flex: 1; min-width: 0; }
.dn-card__k { font-size: 10px; color: var(--ap-gold-t); }
.dn-card__t { font-size: 16px; display: block; }
.dn-card__s { font-size: 12px; color: var(--ap-muted); }
.dn-hl { color: var(--ap-text); }
.dn-lbl { font-size: 12px; color: var(--ap-muted); margin-bottom: 6px; }
.dn-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dn-day { font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 44px; border-radius: 10px; border: 1px solid var(--ap-line); background: transparent; color: var(--ap-text); padding: 0; }
.dn-day[aria-pressed="true"] { border-color: var(--ap-gold); background: rgba(227,179,65,.16); color: var(--ap-gold-t); }
.dn-day:disabled { opacity: .35; cursor: not-allowed; }
.dn-daytxt { font-size: 11px; color: var(--ap-muted); margin-top: 6px; line-height: 1.4; }
.dn-daytxt.is-on { color: var(--ap-green-t); }
.dn-q { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; }
.dn-q__btn { font: inherit; cursor: pointer; min-height: 44px; border: 0; border-radius: 14px; background: var(--ap-gold); color: var(--ap-on-gold); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; }
.dn-q__btn.is-done { background: var(--ap-green); }
.dn-q__btn:disabled { background: var(--ap-card2); color: var(--ap-muted); cursor: not-allowed; font-size: 13px; }
.dn-q__foto { position: relative; min-height: 44px; border-radius: 14px; border: 1px solid var(--ap-line); color: var(--ap-text); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px 8px; cursor: pointer; line-height: 1.2; }
.dn-q__foto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dn-q__foto.is-on { border-color: var(--ap-green); color: var(--ap-green-t); }
.dn-q__foto.is-off { opacity: .45; cursor: not-allowed; }
.dn-q__foto:focus-within { outline: 2px solid var(--ap-gold); outline-offset: 2px; }
.dn-st { font-size: 12px; color: var(--ap-muted); line-height: 1.4; }
.dn-st.is-ok { color: var(--ap-green-t); }
.dn-st a { color: var(--ap-green-t); }
.dn-fine { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(220,38,38,.10); border: 1px solid rgba(220,38,38,.45); font-size: 12px; line-height: 1.4; }
.dn-fine > strong { color: var(--ap-red-t); white-space: nowrap; }
.dn-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dn-tile { font: inherit; cursor: pointer; text-decoration: none; color: var(--ap-text) !important; background: var(--ap-card); border: 1px solid var(--ap-line); border-radius: 22px; padding: 12px; min-height: 48px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 6px; text-align: left; }
.dn-tile[aria-expanded="true"] { border-color: var(--ap-gold); }
.dn-swap { background: var(--ap-card); border: 1px solid var(--ap-line); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.dn-swap[hidden] { display: none; }
.dn-swap__f { display: flex; flex-direction: column; gap: 8px; }
.dn-swap__f .dn-lbl { margin: 0; }
.dn-swap__list { display: flex; flex-direction: column; gap: 4px; }
.dn-opt { position: relative; font-size: 13px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; min-height: 40px; align-items: center; padding: 0 10px; border-radius: 10px; border: 1px solid var(--ap-line); color: var(--ap-text); }
.dn-opt input { position: absolute; opacity: 0; pointer-events: none; }
.dn-opt:has(input:checked) { border-color: var(--ap-gold); background: rgba(227,179,65,.12); }
.dn-opt:focus-within { outline: 2px solid var(--ap-gold); outline-offset: 1px; }
.dn-swap__btn { font: inherit; cursor: pointer; min-height: 44px; border: 0; border-radius: 12px; background: var(--ap-gold); color: var(--ap-on-gold); font-weight: 700; font-size: 13px; }
.dn-swap__btn:disabled { background: var(--ap-line); color: var(--ap-muted); cursor: default; }
.dn-out { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ap-soft); padding: 8px 10px; border-radius: 12px; background: rgba(227,179,65,.08); border: 1px solid rgba(227,179,65,.3); }
.dn-out__x { font: inherit; font-size: 12px; font-weight: 600; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--ap-line); background: transparent; color: var(--ap-text); cursor: pointer; white-space: nowrap; }
.dn-in { border-radius: 20px; padding: 12px 14px; background: linear-gradient(135deg, rgba(227,179,65,.18), var(--ap-card)); border: 1px solid var(--ap-gold); display: flex; flex-direction: column; gap: 8px; }
.dn-in__k { font-size: 10px; color: var(--ap-gold-t); }
.dn-in__t { font-size: 13px; line-height: 1.4; }
.dn-plan { background: var(--ap-card); border: 1px solid var(--ap-line); border-radius: 22px; padding: 2px 12px; }
.dn-plan__h { font-size: 10px; color: var(--ap-muted); padding: 8px 0 2px; }
.dn-pr { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--ap-line); font-size: 13px; }
.dn-pr[hidden] { display: none; }
.dn-pr__kw { width: 44px; flex: none; color: var(--ap-muted); }
.dn-pr__m { flex: 1; min-width: 0; }
.dn-pr__m strong { font-weight: 600; }
.dn-pr__m span { font-size: 11px; color: var(--ap-muted); }
.dn-pr__ok { color: var(--ap-green-t); display: flex; }
.dn-pr.is-mine { padding: 8px 10px; margin: 2px -10px; border-radius: 12px; background: rgba(227,179,65,.12); border-top-color: transparent; }
.dn-pr.is-mine + .dn-pr { border-top-color: transparent; }
.dn-pr.is-mine .dn-pr__kw { color: var(--ap-gold-t); }
.dn-pr.is-mine strong { font-weight: 700; }
.dn-plan__more { font: inherit; width: 100%; min-height: 44px; border: 0; border-top: 1px solid var(--ap-line); background: transparent; color: var(--ap-gold-t); font-size: 13px; font-weight: 600; cursor: pointer; }

/* Außenbereich (festes Team, 14 Tage) */
.dn-card--out { border-color: var(--ap-green); }
.dn-card--out .dn-card__ic { background: var(--ap-green); color: var(--ap-on-gold); }
.dn-card--out .dn-card__k { color: var(--ap-green-t); }
.dn-tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.dn-tasks li { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; line-height: 1.35; }
.dn-tasks__ic { flex: none; width: 16px; height: 16px; border-radius: 5px; background: rgba(34,197,94,.16); color: var(--ap-green-t); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
@media (max-width: 359px) { .dn-tasks { grid-template-columns: 1fr; } }

/* Wochenplan: Innen und Außen getrennt */
.dn-pr { align-items: flex-start; }
.dn-pr__kw { padding-top: 2px; }
.dn-pr__m { display: flex; flex-direction: column; gap: 1px; }
.dn-pr__m .dn-pr__l { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ap-text); min-width: 0; }
.dn-pr__m .dn-pr__l strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-pr__m .dn-pr__l--a { margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--ap-line); }
.dn-pr__m .dn-pr__tag { flex: none; font-size: 9px; letter-spacing: .04em; padding: 2px 5px; border-radius: 6px; color: var(--ap-muted); border: 1px solid var(--ap-line); }
.dn-pr__m .dn-pr__tag.is-out { color: var(--ap-green-t); border-color: rgba(34,197,94,.45); }
.dn-pr__m .dn-pr__s { font-size: 11px; color: var(--ap-muted); }
.dn-pr__m .dn-pr__ok { color: var(--ap-green-t); display: flex; font-size: inherit; }
.dn-pr__end { display: flex; gap: 4px; flex: none; align-items: center; padding-top: 1px; }

/* Tag-Auswahl: 7 Tage mit Hinweis je Tag (ganztags / –17:00 / –12:00) */
.dn-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 48px; line-height: 1.1; }
.dn-day__h { font-family: var(--ap-mono); font-size: 8.5px; font-weight: 500; letter-spacing: -.02em; color: var(--ap-muted); white-space: nowrap; }
.dn-day[aria-pressed="true"] .dn-day__h { color: var(--ap-gold-t); }
