/* Nowbook – zentrale Farbwelt. Keine Bildfilter; Fotos, PNG-Reaktionen und Logos bleiben original. */
:root{--surface:#ffffff;--surface-elevated:#ffffff;--surface-soft:#f7f5fa;--page-bg:#f6f5f9;--ink-soft:#50465e;--border-strong:#c9bddb;--button-primary:#6545dc;--button-primary-hover:#5131c3;--button-primary-ink:#ffffff;--switch-off:#c6bdcf;--success-bg:#edf8f1;--success-border:#c4e4d1;--error-bg:#fff2f5;--error-border:#e7bcc8;--warning:#9b6b29;--warning-bg:#fff6e8;--scrollbar-thumb:#a493c0;--scrollbar-track:#f3f0f7;--overlay:#15101f70;--focus:#a384ef;--nb-surface:var(--surface);--nb-text:var(--ink);--nb-text-muted:var(--muted);--nb-border:var(--border);--nb-accent:var(--primary);--nb-accent-soft:var(--primary-light);--nb-input:var(--surface-soft);color-scheme:light}
:root[data-theme=dark]{--primary:#b79afb;--primary-hover:#cfb9ff;--primary-light:#352849;--ink:#f0eaf7;--muted:#b8adc7;--surface:#201b29;--surface-elevated:#292131;--surface-soft:#2a2434;--page-bg:#15111c;--ink-soft:#d6cbe3;--border:#3b3249;--border-strong:#675473;--button-primary:#7653d1;--button-primary-hover:#8963df;--button-primary-ink:#ffffff;--switch-off:#51455f;--error:#f3a5b7;--error-bg:#3a222d;--error-border:#744455;--success:#9ed8b8;--success-bg:#1e342c;--success-border:#3e6554;--warning:#efc48a;--warning-bg:#382c21;--scrollbar-thumb:#6c587f;--scrollbar-track:#1c1625;--overlay:#09060dbb;--focus:#c3a8ff;color-scheme:dark}
@media(prefers-color-scheme:dark){:root[data-theme=system]{--primary:#b79afb;--primary-hover:#cfb9ff;--primary-light:#352849;--ink:#f0eaf7;--muted:#b8adc7;--surface:#201b29;--surface-elevated:#292131;--surface-soft:#2a2434;--page-bg:#15111c;--ink-soft:#d6cbe3;--border:#3b3249;--border-strong:#675473;--button-primary:#7653d1;--button-primary-hover:#8963df;--button-primary-ink:#ffffff;--switch-off:#51455f;--error:#f3a5b7;--error-bg:#3a222d;--error-border:#744455;--success:#9ed8b8;--success-bg:#1e342c;--success-border:#3e6554;--warning:#efc48a;--warning-bg:#382c21;--scrollbar-thumb:#6c587f;--scrollbar-track:#1c1625;--overlay:#09060dbb;--focus:#c3a8ff;color-scheme:dark}}
body{background:var(--surface)}
.member-body{background:var(--page-bg)}
:root :focus-visible{outline-color:var(--focus)}
:root,:root *{scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:var(--scrollbar-track)}
::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-color:var(--scrollbar-track)}
::selection{background:var(--primary-light);color:var(--ink)}
:root[data-reduced-motion="1"]{scroll-behavior:auto!important}
:root[data-reduced-motion="1"] *, :root[data-reduced-motion="1"] *::before, :root[data-reduced-motion="1"] *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
:root[data-feed-density=compact] .feed-shell,:root[data-feed-density=compact] .feed-post-list{gap:13px}
:root[data-feed-density=compact] .feed-post-header{padding-top:14px;padding-bottom:11px}
:root[data-feed-density=compact] .feed-post-body{padding-top:1px;padding-bottom:13px}
:root[data-feed-density=compact] .feed-composer-trigger{min-height:73px;padding-top:14px;padding-bottom:14px}
:root[data-feed-density=compact] .feed-post-media img{max-height:440px}
:root[data-feed-density=compact] .feed-comment{padding-top:8px;padding-bottom:8px}
:root[data-theme=dark] .page--profile,:root[data-theme=system] .page--profile{--profile-ink:var(--ink);--profile-muted:var(--muted);--profile-border:var(--border);--profile-soft:var(--surface-soft)}
:root[data-theme=dark] .page--spaces,:root[data-theme=system] .page--spaces{--space-ink:var(--ink);--space-muted:var(--muted);--space-border:var(--border);--space-soft:var(--surface-soft);--space-accent:var(--primary)}


/* Farbzuordnung: global.css */
:root:is([data-theme=dark],[data-theme=system]) body{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) button:focus-visible,
:root:is([data-theme=dark],[data-theme=system]) a:focus-visible,
:root:is([data-theme=dark],[data-theme=system]) input:focus-visible{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .button--primary{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .button--primary:hover{background:var(--button-primary-hover)}
:root:is([data-theme=dark],[data-theme=system]) .button--secondary{background:var(--surface);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .button--secondary:hover{border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .alert--error{background:var(--error-bg);border-color:var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .alert--success{background:var(--success-bg);border-color:var(--success-border)}
:root:is([data-theme=dark],[data-theme=system]) .skip-link{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) ::-webkit-scrollbar-track{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) ::-webkit-scrollbar-thumb{background:var(--primary-light);border:2px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) ::-webkit-scrollbar-corner{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) ::selection{background:var(--surface-soft);color:var(--ink)}

/* Farbzuordnung: auth.css */
:root:is([data-theme=dark],[data-theme=system]) .layout--full .auth-card:not(.register-card){background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .account-panel{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .field label{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .input-wrap input{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .input-wrap input::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .input-wrap input:hover{border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .input-wrap input:focus{border-color:var(--border-strong);box-shadow:0 0 0 3px var(--primary-light)}
:root:is([data-theme=dark],[data-theme=system]) .input-wrap input[aria-invalid=true]{border-color:var(--error-border);background:var(--error-bg)}
:root:is([data-theme=dark],[data-theme=system]) .input-icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .password-toggle{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .field-hint{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .checkbox-label{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .checkbox-label input{border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .checkbox-label input:checked{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .checkbox-label input:checked::after{border-left:1.8px solid var(--border);border-bottom:1.8px solid var(--border)}

/* Farbzuordnung: admin.css */
:root:is([data-theme=dark],[data-theme=system]) .page--admin .site-header{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .page--admin .site-footer{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .admin-section{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .admin-switch-track{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .admin-switch-track::before{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .admin-switch input:checked+.admin-switch-track{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .admin-switch input:focus-visible+.admin-switch-track{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .admin-mail-state{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-empty{border:1px dashed var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .admin-pending{background:var(--warning-bg);color:var(--warning)}
:root:is([data-theme=dark],[data-theme=system]) .admin-photo-body input[type=text]{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .admin-photo-body input[type=text]:focus{border-color:var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .admin-tools>a{background:var(--nb-accent-soft,var(--surface-soft));border:1px solid var(--nb-border,var(--border));color:var(--nb-text,var(--ink))}
:root:is([data-theme=dark],[data-theme=system]) .admin-tools>a>span{background:var(--nb-surface,var(--surface));color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .admin-tools small{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .admin-tools>a>.icon{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .admin-tools>a:hover{outline:2px solid var(--nb-accent,var(--primary))}

/* Farbzuordnung: admin_reports.css */
:root:is([data-theme=dark],[data-theme=system]) .admin-report-filters a{color:var(--muted);background:var(--surface-soft);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-filters a[aria-current=page]{border-color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-card{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-card>header>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-card>header p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-state{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-state--resolved{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-state--dismissed{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-people dt{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-people dd{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-people small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-card blockquote{background:var(--surface-soft);border-left:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-card blockquote strong,
:root:is([data-theme=dark],[data-theme=system]) .admin-report-details strong,
:root:is([data-theme=dark],[data-theme=system]) .admin-report-note strong{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-card blockquote p,
:root:is([data-theme=dark],[data-theme=system]) .admin-report-details p,
:root:is([data-theme=dark],[data-theme=system]) .admin-report-note p,
:root:is([data-theme=dark],[data-theme=system]) .admin-report-current p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-context,
:root:is([data-theme=dark],[data-theme=system]) .admin-report-deleted{color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-image span{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-note{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-current summary{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-deleted{background:var(--error-bg)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-review{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-review label{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-review label span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .admin-report-review textarea{border:1px solid var(--border);background:var(--surface);color:var(--ink)}

/* Farbzuordnung: beitrag_bearbeiten.css */
:root:is([data-theme=dark],[data-theme=system]) .post-edit-card{background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-kicker{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-form>label{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-form>label span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-form :is(textarea,select,input[type=file]){background:var(--surface);color:var(--ink);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-form .feed-character-count{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-help{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-existing-image{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-upload-preview{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-upload-preview span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-actions{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-empty>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-edit-empty p{color:var(--muted)}

/* Farbzuordnung: beitrag_melden.css */
:root:is([data-theme=dark],[data-theme=system]) .post-report-card{background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-symbol{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-excerpt{background:var(--surface-soft);border-left:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-excerpt strong{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-excerpt p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-form>label{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-form label span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-form :is(select,textarea){border:1px solid var(--border);background:var(--surface);color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-help{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-done>.icon{color:var(--muted);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .post-report-done p,
:root:is([data-theme=dark],[data-theme=system]) .post-report-empty p{color:var(--muted)}

/* Farbzuordnung: beitrag_teilen.css */
:root:is([data-theme=dark],[data-theme=system]) .share-back{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card{background:var(--nb-surface,var(--surface));border:1px solid var(--nb-border,var(--border))}
:root:is([data-theme=dark],[data-theme=system]) .share-eyebrow{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card h1{color:var(--nb-text,var(--ink))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card h1>span{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card>p{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card label{color:var(--nb-text,var(--ink))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card label>span{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card textarea,
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card select{border:1px solid var(--nb-border,var(--border));background:var(--nb-input,var(--surface-soft));color:var(--nb-text,var(--ink))}
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card textarea:focus,
:root:is([data-theme=dark],[data-theme=system]) .share-compose-card select:focus{outline:2px solid var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .share-note{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .share-unavailable{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .share-unavailable h2{color:var(--nb-text,var(--ink))}
:root:is([data-theme=dark],[data-theme=system]) .share-unavailable>.icon{color:var(--nb-accent,var(--primary))}

/* Farbzuordnung: benachrichtigung.css */
:root:is([data-theme=dark],[data-theme=system]) .notifications-heading-icon{border:1px solid var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-eyebrow{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-heading h1{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-heading p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-card{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-toolbar{border-bottom:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-toolbar h2{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-unread-label{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-bulk-actions button{border:1px solid var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-bulk-actions button:hover{background:var(--surface-soft);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-bulk-actions .notification-delete-all{color:var(--error);background:var(--error-bg);border-color:var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-bulk-actions .notification-delete-all:hover{background:var(--error-bg);border-color:var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .notification-item{border-bottom:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .notification-item.is-unread{background:linear-gradient(90deg,var(--surface-soft),var(--surface))}
:root:is([data-theme=dark],[data-theme=system]) .notification-item.is-unread::before{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .notification-open{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .notification-open:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .notification-kind{border:2px solid var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .is-unread .notification-message{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .notification-time{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .notification-new-label{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .notification-arrow{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .notification-delete{color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .notification-delete:hover{background:var(--error-bg);color:var(--error);border-color:var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-empty>span{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-empty h3{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-empty p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-more{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-more:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-latest{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .notifications-new{border:1px solid var(--border);background:var(--surface-soft);color:var(--primary)}

/* Farbzuordnung: community.css */
:root:is([data-theme=dark],[data-theme=system]) .account-avatar--photo{border:3px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .account-photo-status{color:var(--muted);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .account-photo-status--approved{background:var(--success-bg);color:var(--success)}
:root:is([data-theme=dark],[data-theme=system]) .account-verified{background:var(--success-bg);color:var(--success)}

/* Farbzuordnung: cookies.css */
:root:is([data-theme=dark],[data-theme=system]) .cookie-banner{background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .cookie-banner>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .cookie-details-button{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .cookie-banner .cookie-banner-links{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .cookie-dialog{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .cookie-close{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .cookie-status{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .cookie-status--active{background:var(--success-bg);color:var(--success)}

/* Farbzuordnung: email_verifizieren.css */
:root:is([data-theme=dark],[data-theme=system]) .verification-envelope{background:var(--surface-soft);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .verification-check{background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .verification-spark{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .verification-service-note{background:var(--surface-soft);border-color:var(--border);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .verification-spam-note{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .verification-spam-note>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .verification-spam-note strong{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .verification-code[open] .verification-open{background:var(--surface-soft);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .verification-code__content{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .verification-code-input{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .verification-code-input::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .verification-code-input:focus{border-color:var(--border-strong);box-shadow:0 0 0 3px var(--primary-light)}
:root:is([data-theme=dark],[data-theme=system]) .verification-code-input[aria-invalid=true]{border-color:var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .verification-expiry{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .verification-expiry.is-expired,
:root:is([data-theme=dark],[data-theme=system]) .verification-attempts{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .verification-resend-button:disabled{color:var(--muted)}

/* Farbzuordnung: feed.css */
:root:is([data-theme=dark],[data-theme=system]) .feed-card{background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .feed-shell :is(summary,button,a,textarea,select,input):focus-visible,
:root:is([data-theme=dark],[data-theme=system]) .feed-dialog :is(summary,button,textarea,select,input):focus-visible{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .feed-composer-prompt{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-composer-trigger:hover .feed-composer-prompt{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-composer-photo{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-icon-button{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-icon-button:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-icon-button.is-active{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-audience{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-compose-text::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-compose-text[aria-invalid=true]{background:var(--error-bg)}
:root:is([data-theme=dark],[data-theme=system]) .feed-compose-tools{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .feed-attachment{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-attachment:focus-within{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .feed-attachment:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-emoji-picker>summary{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-emoji-picker>summary:hover,
:root:is([data-theme=dark],[data-theme=system]) .feed-emoji-picker[open]>summary{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-emoji-grid{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-emoji-grid button:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-character-count{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-character-count.is-near-limit{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-help{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-publish-button{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-publish-button:hover{background:var(--button-primary-hover)}
:root:is([data-theme=dark],[data-theme=system]) .feed-image-preview{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-image-preview>.feed-icon-button{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-dialog{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting{background:linear-gradient(112deg,var(--surface) 40%,var(--surface))}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting-date{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting div>p:last-child{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting-symbol{border:1px solid var(--border);background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-tab{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-tab:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-tab.is-active{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-sort-label{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-heading-icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-back-link{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-author-name{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-author-city{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-meta{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-body{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-media{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-stats{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-reaction-stack>span{border:2px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-actions{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-action{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-action:hover,
:root:is([data-theme=dark],[data-theme=system]) .feed-post-action.is-active,
:root:is([data-theme=dark],[data-theme=system]) .feed-reaction-picker[open]>.feed-post-action,
:root:is([data-theme=dark],[data-theme=system]) .feed-share[open]>.feed-post-action{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-reaction-popover{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-reaction-option:is(:hover,:focus-visible){background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-reaction-option.is-active{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-reaction-feedback.is-preview{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-share-panel{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-share-panel>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-share-panel>input{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-copy-button:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comments{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comments-summary{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comments-summary:hover{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-more{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-bubble{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-author{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-bubble>p{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-actions>time{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-reaction-trigger{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-reaction-trigger:hover,
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-reaction-trigger.is-active,
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-reaction-picker[open]>.feed-comment-reaction-trigger{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-reaction-total{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-field{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-field:focus-within{border-color:var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-field>textarea{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-field>textarea::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-field-bottom>.feed-character-count{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-field-bottom>.feed-character-count.is-near-limit{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-emoji-picker>summary{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-emoji-picker>summary:hover,
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-emoji-picker[open]>summary{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-emoji-panel{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-emoji-panel>strong{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-submit{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-comment-submit:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-empty-icon{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-empty>h2{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-empty>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-inline-button{border:1px solid var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-inline-button:hover{border-color:var(--border-strong);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-load-more{border:1px solid var(--border);background:var(--surface);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-load-more:hover{border-color:var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .feed-end-note{color:var(--muted)}

/* Farbzuordnung: footer.css */
:root:is([data-theme=dark],[data-theme=system]) .layout--full .site-footer{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .site-footer{border-top:1px solid var(--border);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .footer-language{color:var(--muted)}

/* Farbzuordnung: freunde.css */
:root:is([data-theme=dark],[data-theme=system]) .page--friends .site-header{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .page--friends .site-footer{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .friends-count{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .section-count{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .friend-avatar{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .friend-location{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .friends-empty-small{background:var(--surface);border:1px dashed var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .friends-empty{background:var(--surface);border:1px dashed var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .friends-filters a{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .friends-filters a:hover{border-color:var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .friends-filters a[aria-current=true]{background:var(--button-primary)}

/* Farbzuordnung: greeting.css */
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting{border:1px solid var(--border);background:linear-gradient(112deg,var(--surface-soft),var(--surface-soft));color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting-meta{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting-meta>time{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting .feed-greeting-message{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting-hello{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=afternoon]{background:linear-gradient(112deg,var(--surface-soft),var(--surface-soft));border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=afternoon] .feed-greeting-meta{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=afternoon] .feed-greeting-meta>time{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=afternoon] .feed-greeting-message{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=evening]{background:linear-gradient(112deg,var(--surface-soft),var(--surface-soft));border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=evening] .feed-greeting-meta{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=evening] .feed-greeting-meta>time{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=night]{border-color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=night] .feed-greeting-meta{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=night] .feed-greeting-meta>time{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=night] .feed-greeting-message{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-greeting[data-greeting-period=night] .feed-greeting-hello{color:var(--muted)}

/* Farbzuordnung: gruppe_einstellungen.css */
:root:is([data-theme=dark],[data-theme=system]) .page--group-settings .space-settings-card:has(.space-privacy-options){border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .page--group-settings .space-archive-card .space-section-heading h2{color:var(--ink)}

/* Farbzuordnung: gruppe_erstellen.css */
:root:is([data-theme=dark],[data-theme=system]) .page--group-create .space-form-section-title>span{background:var(--surface-soft)}

/* Farbzuordnung: gruppen.css */
:root:is([data-theme=dark],[data-theme=system]) .page--group-directory .space-directory-heading .space-eyebrow{color:var(--primary)}

/* Farbzuordnung: header.css */
:root:is([data-theme=dark],[data-theme=system]) .layout--full .site-header{background:var(--surface)}
@media(max-width:800px){
:root:is([data-theme=dark],[data-theme=system]) .site-header{background:var(--surface)}
}

/* Farbzuordnung: index.css */
:root:is([data-theme=dark],[data-theme=system]) .register-invitation>span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .register-invitation>span::before,
:root:is([data-theme=dark],[data-theme=system]) .register-invitation>span::after{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .form-note{color:var(--muted)}

/* Farbzuordnung: info.css */
:root:is([data-theme=dark],[data-theme=system]) .legal-draft{border-color:var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .legal-draft > strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .legal-draft p{color:var(--muted)}

/* Farbzuordnung: link_preview.css */
:root:is([data-theme=dark],[data-theme=system]) .link-preview-card{color:var(--ink, var(--ink));background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-card:hover{color:var(--ink, var(--ink));border-color:var(--border-strong);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-card:focus-visible{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-media{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-domain{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-title{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-description{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-footer{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-footer > :last-child{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-heading{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-status{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-composer.is-loading .link-preview-status{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-retry{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .link-preview-retry:focus-visible{outline:2px solid var(--border-strong)}

/* Farbzuordnung: member.css */
:root:is([data-theme=dark],[data-theme=system]) .member-body{background:var(--surface-soft);color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-main .auth-card:not(.feed-card),
:root:is([data-theme=dark],[data-theme=system]) .member-page-card{background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-1{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-2{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-3{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-4{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-body :is(input,textarea,select):focus-visible{outline:2px solid var(--border-strong)}

/* Farbzuordnung: member_footer.css */
:root:is([data-theme=dark],[data-theme=system]) .member-footer{border-top:1px solid var(--border);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-footer-brand{color:var(--muted)}

/* Farbzuordnung: member_header.css */
:root:is([data-theme=dark],[data-theme=system]) .member-header{background:var(--surface);border-bottom:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .member-brand{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-brand-symbol{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-brand-word{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-search{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-search:focus-within{border-color:var(--border-strong);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .member-search input{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-search input::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-search button{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .member-search button:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .member-create{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-create:hover{background:var(--button-primary-hover)}
:root:is([data-theme=dark],[data-theme=system]) .member-header-icon{border:1px solid var(--border);background:var(--surface);color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-header-icon:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .member-counter{border:2px solid var(--border);background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-trigger{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-trigger:hover,
:root:is([data-theme=dark],[data-theme=system]) .member-account[open]>.member-account-trigger{border-color:var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-trigger:focus-visible{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-label strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-label small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-chevron{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-panel{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-identity{border-bottom:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-identity strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-identity>div>span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-links>a:hover,
:root:is([data-theme=dark],[data-theme=system]) .member-account-links>a:focus-visible,
:root:is([data-theme=dark],[data-theme=system]) .member-account-links>a[aria-current=page]{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-item-icon{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-links strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-links small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-links>a>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-logout{border-top:1px solid var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-logout button{background:var(--error-bg);color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .member-account-logout button:hover{background:var(--error-bg);color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .member-menu-toggle{border:1px solid var(--border);background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-notifications[aria-current=page]{border-color:var(--border-strong);background:var(--surface-soft)}

/* Farbzuordnung: navigation.css */
:root:is([data-theme=dark],[data-theme=system]) .member-navigation{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-label{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-link{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-link-icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-link:hover{border-color:var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-link[aria-current=page]{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-active-arrow{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-count{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-link[aria-current=page] .navigation-count{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-rules{border-top:1px solid var(--border);color:var(--muted)}
@media(max-width:720px){
:root:is([data-theme=dark],[data-theme=system]) .member-navigation>summary{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .navigation-summary-icon{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .member-navigation>summary>.icon{color:var(--muted)}
}

/* Farbzuordnung: personen.css */
:root:is([data-theme=dark],[data-theme=system]) .people-search__input{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .people-search__input>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .people-search__input:focus-within{border-color:var(--border-strong);box-shadow:0 0 0 3px var(--primary-light)}
:root:is([data-theme=dark],[data-theme=system]) .people-tabs{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .people-tabs a{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .person-card__location{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .person-card__location small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .person-action{border:1px solid var(--border);background:var(--surface);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .person-action:hover{border-color:var(--border-strong);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .person-action--primary{border-color:var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .person-action--primary:hover{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .person-action--pending{background:var(--warning-bg)}
:root:is([data-theme=dark],[data-theme=system]) .person-state--friends{background:var(--surface-soft);color:var(--muted);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .people-empty__icon{background:var(--surface-soft);color:var(--muted)}

/* Farbzuordnung: post_actions.css */
:root:is([data-theme=dark],[data-theme=system]) .feed-post-menu[open]>summary{color:var(--primary);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .feed-post-menu-panel{background:var(--surface);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .feed-menu-item{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .feed-menu-item:hover,
:root:is([data-theme=dark],[data-theme=system]) .feed-menu-item:focus-visible{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-menu-item.is-active{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-menu-item--danger{color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .feed-delete-confirm p{color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .feed-space-context{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-page-avatar{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .feed-edited{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .feed-readonly-note{color:var(--muted);background:var(--surface-soft)}

/* Farbzuordnung: profil.css */
:root:is([data-theme=dark],[data-theme=system]) .profile-sheet :is(a,button,summary):focus-visible{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .profile-card{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .profile-main-avatar{border:6px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .profile-friend-count{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-avatar-stack>a{border:2px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .profile-friend-state,
:root:is([data-theme=dark],[data-theme=system]) .profile-request-note{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-friend-state{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .profile-request-note{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-tab{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-tab:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .profile-summary-details dt{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-summary-details dd{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-summary-details strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-summary-interests{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .profile-summary-interests h3{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-summary-interests h3>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-interest-tags>li{border:1px solid var(--border);background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-interests-excerpt{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-subtle-button{background:var(--surface-soft);color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-subtle-button:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .profile-compose-link>span:not(.member-avatar){background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-compose-link>.icon{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-compose-link:hover>span:not(.member-avatar){background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .profile-timeline .feed-author-name{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-timeline .feed-post-meta{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-timeline .feed-post-body{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-timeline .feed-comment-author{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-timeline .feed-comment-bubble p{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-friend-tile:hover{border-color:var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .profile-friend-identity>strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-image{border:1px solid var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-open{border:1px solid var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-caption>strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-compact-empty>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-about-grid h3{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-details dt{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-details dt>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-details dd{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-not-provided{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-interests-text{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-info-empty>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-info-empty>p{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-note{border:1px solid var(--border);background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-note strong{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-note p>span{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-empty>span{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-empty h3{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-empty>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-load-more{border:1px solid var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-load-more:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .profile-pagination>a{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-unavailable>span{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-main .profile-unavailable h1{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .profile-unavailable>p{color:var(--muted)}

/* Farbzuordnung: profil_bearbeiten.css */
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-avatar{box-shadow:0 0 0 5px var(--primary-light)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-note,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-photo-note{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-photo-note{background:var(--surface);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-section{border-bottom:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .profile-section-number{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-visual{border:1px solid var(--border);background:var(--surface);box-shadow:0 0 0 5px var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-camera{border:3px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-status{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-status--approved{background:var(--success-bg);color:var(--success)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-status--pending{background:var(--warning-bg);color:var(--warning)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-status--rejected{background:var(--error-bg);color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-controls>label{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-controls>input{border:1px solid var(--border);background:var(--surface);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-controls>input::file-selector-button{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-controls>input:hover::file-selector-button{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-controls>input[aria-invalid=true]{border-color:var(--error-border);background:var(--error-bg)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-hint{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-filename{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-clear{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-photo-rejection{color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-section{border-bottom:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field input,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field select,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field textarea{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field input::placeholder,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field textarea::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field input:hover,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field select:hover,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field textarea:hover{border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field input:focus,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field select:focus,
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field textarea:focus{border-color:var(--border-strong);box-shadow:0 0 0 3px var(--primary-light)}
:root:is([data-theme=dark],[data-theme=system]) .profile-edit-form .field [aria-invalid=true]{border-color:var(--error-border);background:var(--error-bg)}

/* Farbzuordnung: register.css */
:root:is([data-theme=dark],[data-theme=system]) .wizard-progress li.is-complete::after{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .wizard-progress a,
:root:is([data-theme=dark],[data-theme=system]) .wizard-progress li>span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .wizard-progress__number{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .wizard-progress .is-complete a{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .wizard-progress .is-complete .wizard-progress__number{background:var(--surface-soft);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .wizard-progress .is-current .wizard-progress__number{background:var(--button-primary);box-shadow:0 0 0 4px var(--primary-light)}
:root:is([data-theme=dark],[data-theme=system]) .register-card textarea,
:root:is([data-theme=dark],[data-theme=system]) .register-card select,
:root:is([data-theme=dark],[data-theme=system]) .register-card .standalone-input{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .register-card textarea::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .register-card textarea:focus,
:root:is([data-theme=dark],[data-theme=system]) .register-card select:focus,
:root:is([data-theme=dark],[data-theme=system]) .register-card .standalone-input:focus{border-color:var(--border-strong);box-shadow:0 0 0 3px var(--primary-light)}
:root:is([data-theme=dark],[data-theme=system]) .register-card textarea[aria-invalid=true],
:root:is([data-theme=dark],[data-theme=system]) .register-card select[aria-invalid=true],
:root:is([data-theme=dark],[data-theme=system]) .register-card .standalone-input[aria-invalid=true]{border-color:var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .photo-upload{border:1px dashed var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .photo-upload.is-dragging{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .photo-preview{border:5px solid var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .photo-preview__placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .photo-preview__badge{background:var(--button-primary);border:3px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .photo-file::file-selector-button{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .review-note{background:var(--surface-soft);border:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .review-note p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .review-note strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .friend-filter.is-active{background:var(--surface-soft);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card:hover{border-color:var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card.is-selected,
:root:is([data-theme=dark],[data-theme=system]) .friend-card:has(input:checked){background:var(--surface-soft);border-color:var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card:has(input:focus-visible){outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card__avatar{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card__details small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card__choice{border:1px solid var(--border);color:var(--muted);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .friend-card input:checked~.friend-card__choice{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .friend-empty{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .friend-empty__icon{color:var(--primary);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .signup-summary{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .signup-summary__icon{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .consent-card{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .page--register .register-card{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .page--register .auth-switch{border-top:1px solid var(--border)}

/* Farbzuordnung: seite_einstellungen.css */
:root:is([data-theme=dark],[data-theme=system]) .page--page-settings .space-archive-card .space-section-heading h2{color:var(--ink)}

/* Farbzuordnung: seite_erstellen.css */
:root:is([data-theme=dark],[data-theme=system]) .page--page-create .space-create-preview .space-preview-type{color:var(--muted)}

/* Farbzuordnung: seiten.css */
:root:is([data-theme=dark],[data-theme=system]) .page--page-directory .space-directory-heading .space-eyebrow{color:var(--muted)}

/* Farbzuordnung: sidebar.css */
:root:is([data-theme=dark],[data-theme=system]) .sidebar-card{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-heading>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-heading h2>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-heading>a{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-birthdays{background:var(--surface);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .birthday-person strong{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .birthday-person small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-subtitle{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-tabs{border-bottom:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-tabs>a{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-tabs>a[aria-current=true]{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-person strong,
:root:is([data-theme=dark],[data-theme=system]) .sidebar-friend strong{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-person small,
:root:is([data-theme=dark],[data-theme=system]) .sidebar-friend small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-add{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-add:hover{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-more{color:var(--primary);border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-empty{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-friend>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-signoff{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-signoff>span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-city-empty{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-city-empty>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .sidebar-connected{color:var(--muted);background:var(--surface-soft)}

/* Farbzuordnung: space_navigation.css */
:root:is([data-theme=dark],[data-theme=system]) .space-nav-back,
:root:is([data-theme=dark],[data-theme=system]) .space-nav-directory{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-identity strong{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-identity small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-link:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-link.is-active{border-color:var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-icon{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-link.is-active .space-nav-icon{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-link strong{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-link small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-link>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-count{background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-note{border-top:1px solid var(--border);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-note p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-nav-note strong{color:var(--primary)}
@media(max-width:720px){
:root:is([data-theme=dark],[data-theme=system]) .space-settings-navigation{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .space-settings-navigation>summary{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-settings-navigation>summary>.icon:first-child{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-settings-navigation[open]>summary{border-bottom:1px solid var(--border)}
}

/* Farbzuordnung: spaces.css */
:root:is([data-theme=dark],[data-theme=system]) .spaces-shell :is(a,button,summary,input,textarea,select):focus-visible{outline:3px solid var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .space-card{background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .space-eyebrow{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-button--primary{background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-button--primary:hover{background:var(--button-primary-hover)}
:root:is([data-theme=dark],[data-theme=system]) .space-button--secondary{border-color:var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-button--secondary:hover{background:var(--surface-soft);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-button--quiet-danger{background:var(--error-bg);color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .space-button--quiet-danger:hover{background:var(--error-bg)}
:root:is([data-theme=dark],[data-theme=system]) .space-button--menu:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-back-link{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-scope-tabs>a{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-search-field{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .space-search-field>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-search-field>input{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-search-field>input::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-category-filter>input{border:1px solid var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-category-filter>input::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-filter-reset{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-results-heading h2{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-cover-badge{background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-avatar{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-avatar--page{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-directory-identity>.space-avatar{border:4px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-directory-identity h3{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-card-category{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-card-meta{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-card-description{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-card-open{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-member-state{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-empty>span{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-empty h2{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-empty>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-load-more{border:1px solid var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-load-more:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-create-heading>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-form-section-title>span{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-form-section-title h2{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-form-section-title p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>label,
:root:is([data-theme=dark],[data-theme=system]) .space-privacy-options>legend{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>label>span{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>input,
:root:is([data-theme=dark],[data-theme=system]) .space-field>textarea,
:root:is([data-theme=dark],[data-theme=system]) .space-field>select{border:1px solid var(--border);background:var(--surface);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>input:hover,
:root:is([data-theme=dark],[data-theme=system]) .space-field>textarea:hover,
:root:is([data-theme=dark],[data-theme=system]) .space-field>select:hover{border-color:var(--border-strong)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>input::placeholder,
:root:is([data-theme=dark],[data-theme=system]) .space-field>textarea::placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>:is(input,textarea,select)[aria-invalid=true]{border-color:var(--error-border);background:var(--error-bg)}
:root:is([data-theme=dark],[data-theme=system]) .space-field-hint{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-fieldset[disabled] :is(input,textarea,select){background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-privacy-options>label{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .space-privacy-options>label:has(input:checked){border-color:var(--border-strong);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-privacy-icon{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-privacy-options strong{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-privacy-options small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-explainer{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-explainer strong{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-explainer p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-explainer--archive{border-color:var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-explainer--archive strong{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-explainer--archive p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-form-note{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-form-actions{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-preview-label{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-preview-avatar{border:4px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-preview-content h2{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-preview-type{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-preview-description{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-preview-draft{border-top:1px solid var(--border);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-create-tips h3{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-create-tips p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-create-tips a{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-hero-avatar{border:5px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .member-main .space-hero-name h1{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-hero-meta{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-detail-tabs>a{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-detail-tabs>a:hover{background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-membership-panel{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .space-membership-panel>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-section-heading h2{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-section-heading p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-section-heading>a{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-description-excerpt{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-muted{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-facts>li>.icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-facts strong{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-facts small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-full-link{border-top:1px solid var(--border);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-count-label{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-manager-card{border-color:var(--border);background:linear-gradient(130deg,var(--surface-soft),var(--surface-soft))}
:root:is([data-theme=dark],[data-theme=system]) .space-manager-card h2{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-manager-card p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-manager-request{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-composer-audience{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-timeline-heading h2{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-timeline-heading>span{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-posting-note{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-private-icon{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-private h2{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-private>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-private-status{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-inline-link{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-information h3{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-prewrap{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-rules{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-community-rules{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-community-rules>a{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-information-facts{border-left:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-information-facts dt{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-information-facts dd{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-information-facts small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-information-facts a{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-person-card{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .space-person-identity strong{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-person-identity strong>small{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-person-identity>span:last-child>span:not(.space-role){color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-role{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-role--owner,
:root:is([data-theme=dark],[data-theme=system]) .space-role--admin{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-icon-button{background:var(--surface-soft);color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-icon-button:hover{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-person-menu-panel{border:1px solid var(--border);background:var(--surface)}
:root:is([data-theme=dark],[data-theme=system]) .space-transfer{border-top:1px solid var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-transfer>summary{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-transfer form>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-confirm{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-photo-tile{border:1px solid var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .member-main .space-settings-heading h1{color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) .space-settings-heading>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-settings-card>p{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-permission-facts .icon{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-permission-facts strong{color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-permission-facts small{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-image-preview{border:1px solid var(--border);background:var(--surface-soft)}
:root:is([data-theme=dark],[data-theme=system]) .space-image-placeholder{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>input[type=file]{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-field>input[type=file]::file-selector-button{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-member-status-tabs>a{color:var(--muted)}
:root:is([data-theme=dark],[data-theme=system]) .space-member-status-tabs>a.is-active{background:var(--surface-soft);color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) .space-archive-card{border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) .space-archive-form{border-top:1px solid var(--border)}
@media(max-width:1080px){
:root:is([data-theme=dark],[data-theme=system]) .space-information-facts{border-top:1px solid var(--border)}
}

/* Farbzuordnung: suche.css */
:root:is([data-theme=dark],[data-theme=system]) .search-shell{color:var(--nb-text,var(--ink))}
:root:is([data-theme=dark],[data-theme=system]) .search-symbol{background:var(--nb-accent-soft,var(--surface-soft));color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-kicker{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-heading p:last-child{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-main-form{background:var(--nb-surface,var(--surface));border:1px solid var(--nb-border,var(--border))}
:root:is([data-theme=dark],[data-theme=system]) .search-main-form>.icon{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-filters{border-bottom:1px solid var(--nb-border,var(--border))}
:root:is([data-theme=dark],[data-theme=system]) .search-filters a{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-filters a small{background:var(--nb-surface,var(--surface))}
:root:is([data-theme=dark],[data-theme=system]) .search-filters a[aria-current]{background:var(--nb-accent-soft,var(--surface-soft));color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-filters a:hover{border-color:var(--nb-border,var(--border))}
:root:is([data-theme=dark],[data-theme=system]) .search-result-heading h2 span{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-section{border:1px solid var(--nb-border,var(--border));background:var(--nb-surface,var(--surface))}
:root:is([data-theme=dark],[data-theme=system]) .search-section>header{border-bottom:1px solid var(--nb-border,var(--border))}
:root:is([data-theme=dark],[data-theme=system]) .search-section h3 .icon{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-section>header>a{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-section li+li{border-top:1px solid var(--nb-border,var(--border))}
:root:is([data-theme=dark],[data-theme=system]) .search-result:hover{background:var(--nb-accent-soft,var(--surface-soft))}
:root:is([data-theme=dark],[data-theme=system]) .search-result-icon{background:var(--nb-accent-soft,var(--surface-soft));color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-result-body small{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-result-body>span{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-result-arrow{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-empty{background:var(--nb-surface,var(--surface));border:1px solid var(--nb-border,var(--border))}
:root:is([data-theme=dark],[data-theme=system]) .search-empty>span{background:var(--nb-accent-soft,var(--surface-soft));color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-empty p{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-empty a,
:root:is([data-theme=dark],[data-theme=system]) .search-pagination a{color:var(--nb-accent,var(--primary))}
:root:is([data-theme=dark],[data-theme=system]) .search-pagination{color:var(--nb-text-muted,var(--muted))}
:root:is([data-theme=dark],[data-theme=system]) .search-error{background:var(--nb-surface,var(--error-bg));border-left:3px solid var(--error-border);color:var(--error)}

/* Verlässliche Zustände und Oberflächen für dynamische Elemente. */
:root:is([data-theme=dark],[data-theme=system]) .member-body{background:var(--page-bg);color:var(--ink)}
:root:is([data-theme=dark],[data-theme=system]) :is(.feed-dialog,.cookie-dialog,.member-account-panel,.public-theme-panel){background:var(--surface-elevated);border-color:var(--border)}
:root:is([data-theme=dark],[data-theme=system]) :is(.feed-dialog,.cookie-dialog)::backdrop{background:var(--overlay)}
:root:is([data-theme=dark],[data-theme=system]) :is(input,textarea,select){caret-color:var(--primary)}
:root:is([data-theme=dark],[data-theme=system]) :is(input,textarea)::placeholder{color:var(--muted);opacity:.9}
:root:is([data-theme=dark],[data-theme=system]) :is(.alert--error,.feed-field-error){color:var(--error)}
:root:is([data-theme=dark],[data-theme=system]) .alert--error{background:var(--error-bg);border-color:var(--error-border)}
:root:is([data-theme=dark],[data-theme=system]) .alert--success{color:var(--success);background:var(--success-bg);border-color:var(--success-border)}
:root:is([data-theme=dark],[data-theme=system]) :is(.button--primary,.member-create,.feed-publish-button,.space-button--primary){background:var(--button-primary);color:var(--button-primary-ink)}
:root:is([data-theme=dark],[data-theme=system]) :is(.button--primary,.member-create,.feed-publish-button,.space-button--primary):hover{background:var(--button-primary-hover);color:var(--button-primary-ink)}
:root:is([data-theme=dark],[data-theme=system]) .member-counter{border-color:var(--surface);color:#fff;background:var(--button-primary)}
:root:is([data-theme=dark],[data-theme=system]) .member-counter--notification{background:#b73565}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-1{background:#243d35;color:#a9d4c3}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-2{background:#463021;color:#eac3a1}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-3{background:#30304d;color:#c5c4ee}
:root:is([data-theme=dark],[data-theme=system]) .member-avatar--color-4{background:#472a3c;color:#edb4d1}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
