.dkt-app.dkt-mode-dark,
.dkt-onboarding-shell[data-dkt-preview-mode="dark"] {
    --dkt-bg: #111722;
    --dkt-surface: #1b2431;
    --dkt-surface-soft: #222e3d;
    --dkt-text: #f4f7fb;
    --dkt-muted: #c5ceda;
    --dkt-border: #445164;
    --dkt-accent: #9fc2ff;
    --dkt-accent-strong: #c6dafe;
    --dkt-focus: #ffb45e;
    --dkt-success: #8ee6aa;
    --dkt-warning: #ffd27a;
}

.dkt-app.dkt-mode-dark .dkt-app__security {
    background: #173a29;
    color: #c9f4d8;
}

.dkt-app.dkt-mode-dark .dkt-control-button:hover,
.dkt-app.dkt-mode-dark .dkt-control-button[aria-pressed="true"] {
    background: #2b3b50;
}

.dkt-app.dkt-mode-dark .dkt-new-entry {
    background: #315f9e;
    color: #fff;
}

.dkt-onboarding-shell[data-dkt-preview-mode="dark"] .dkt-step-content input[type="text"] {
    background: #fff;
    color: #172033;
}

.dkt-app.dkt-mode-dark .dkt-storage-message.is-success {
    border-color: #4d9b68;
    background: #173a29;
    color: #d4f6df;
}

.dkt-app.dkt-mode-dark .dkt-storage-message.is-error {
    border-color: #b66060;
    background: #432323;
    color: #ffd9d9;
}

.dkt-app.dkt-mode-dark .dkt-storage-message.is-warning {
    border-color: #b98b42;
    background: #3c311d;
    color: #ffe6ae;
}

.dkt-app.dkt-mode-dark .dkt-danger-button {
    border-color: #e78d8d;
    color: #ffd0d0;
}

.dkt-app.dkt-mode-dark .dkt-primary-button {
    border-color: #7fa9df;
    background: #315f9e;
    color: #fff;
}

.dkt-app.dkt-mode-dark .dkt-video-share,
.dkt-app[data-display-mode="dark"] .dkt-video-share,
.dkt-app.is-dark .dkt-video-share {
    background: #172536;
    border-color: #49617f;
    color: #f4f7fb;
}

.dkt-app.dkt-mode-dark .dkt-video-share__hint {
    color: #d8e2ef;
}

.dkt-app.dkt-mode-dark .dkt-video-share__qr,
.dkt-app[data-display-mode="dark"] .dkt-video-share__qr,
.dkt-app.is-dark .dkt-video-share__qr {
    background: #fff;
}

.dkt-app.dkt-mode-dark .dkt-video-share__actions button,
.dkt-app.is-dark .dkt-video-share__actions button,
.dkt-app.dkt-mode-dark .dkt-video-share > button,
.dkt-app.is-dark .dkt-video-share > button,
.dkt-app[data-display-mode="dark"] .dkt-video-share__actions button,
.dkt-app[data-display-mode="dark"] .dkt-video-share > button {
    background: #1d2d40;
    color: #eef5ff;
    border-color: #6f91c0;
}


/* M010 – Kalender und Rückblicke im Dark Mode. */
.dkt-app.dkt-mode-dark .dkt-reflection-module,
.dkt-app.dkt-mode-dark .dkt-calendar-day-list,
.dkt-app.dkt-mode-dark .dkt-year-overview,
.dkt-app.dkt-mode-dark .dkt-memory-bucket,
.dkt-app.dkt-mode-dark .dkt-random-memory {
    background: #172333;
    border-color: #52627a;
}

.dkt-app.dkt-mode-dark .dkt-reflection-tabs button,
.dkt-app.dkt-mode-dark .dkt-calendar-cell,
.dkt-app.dkt-mode-dark .dkt-year-grid button,
.dkt-app.dkt-mode-dark .dkt-memory-card {
    background: #1d2a3a;
    border-color: #53657e;
    color: #f4f7fb;
}

.dkt-app.dkt-mode-dark .dkt-reflection-tabs button[aria-pressed="true"] {
    background: #315f9e;
    border-color: #9fc2ff;
}

.dkt-app.dkt-mode-dark .dkt-calendar-year-label select {
    background: #1d2a3a;
    color: #f4f7fb;
    border-color: #53657e;
}

.dkt-app.dkt-mode-dark .dkt-calendar-cell.is-selected {
    background: #315f9e;
}

/* M010.1 – Kalender-Suche im Dark Mode. */
.dkt-app.dkt-mode-dark .dkt-calendar-search,
.dkt-app.dkt-mode-dark .dkt-calendar-search__filters,
.dkt-app.dkt-mode-dark .dkt-calendar-search-result {
    background: #1d2a3a;
    border-color: #53657e;
    color: #f4f7fb;
}

.dkt-app.dkt-mode-dark .dkt-calendar-search input,
.dkt-app.dkt-mode-dark .dkt-calendar-search select {
    background: #172333;
    border-color: #63758e;
    color: #f4f7fb;
}

/* M010.2 – gut lesbarer Platzhalter in der Kalendersuche. */
.dkt-app.dkt-mode-dark .dkt-calendar-search input::placeholder {
    color: #ffffff;
    opacity: 1;
}

.dkt-app.dkt-mode-dark .dkt-key-activate-status.is-warning { color: #ffd98a; }
.dkt-app.dkt-mode-dark .dkt-key-activate-status.is-error { color: #ffb3b3; }
.dkt-app.dkt-mode-dark .dkt-key-activate-status.is-success { color: #a9f0c8; }
