/* Explicit dark palette and component styles. Edit semantic tokens; never infer colors at build time. */
@media screen{
html[data-theme="dark"]{--theme-canvas:#17201b;--theme-surface:#202a23;--theme-surface-muted:#263028;--theme-surface-tinted:#28342a;--theme-text:#edf2e9;--theme-text-strong:#f2f4ed;--theme-text-muted:#b2bdb1;--theme-placeholder:#a0af9f;--theme-border:#435044;--theme-border-subtle:#3b493e;--theme-border-strong:#63735d;--theme-accent:#ffa783;--theme-accent-border:#896044;--theme-focus:#ff936b;--theme-action:#bc421e;--theme-on-action:#fff;--theme-success-text:#bbceb1;--theme-selected:#c3d4b5;--theme-on-selected:#18251b;--theme-selected-muted:#304331;--theme-selected-hover:#d6e3cb;--theme-choice-surface:#30432c;--theme-choice-border:#a1b991;--theme-choice-text:#e9f2e0;--theme-accent-surface:#382a21;--theme-skeleton-highlight:#2c3a2d;--theme-orange-soft:#37271f;--theme-green:#b7cdab;--theme-sage:#2b392b;--theme-shadow-rgb:0 0 0;--theme-surface-rgb:32 42 35
}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .skip{background:var(--theme-surface)}
html[data-theme="dark"] .search-form{background:var(--theme-surface);border:1px solid var(--theme-border);box-shadow:0 4px 18px rgb(var(--theme-shadow-rgb) / 1.57%)}
html[data-theme="dark"] .search-form input::placeholder{color:var(--theme-text-muted)}
html[data-theme="dark"] .search-form:focus-within{box-shadow:0 0 0 3px rgb(var(--theme-shadow-rgb) / 7.06%)}
html[data-theme="dark"] .search-submit{color:var(--theme-text-strong)}
html[data-theme="dark"] .search-submit:hover{background:var(--theme-action)}
html[data-theme="dark"] .suggestions button{background:var(--theme-surface)}
html[data-theme="dark"] .suggestions button:hover{border-color:var(--theme-border)}
html[data-theme="dark"] .manufacturer-btn:hover{background:var(--theme-surface-muted)}
html[data-theme="dark"] .manufacturer-btn.selected{color:var(--theme-text-strong)}
html[data-theme="dark"] .manufacturer-btn.selected .count{color:var(--theme-text-muted)}
html[data-theme="dark"] .filter-select,html[data-theme="dark"] .sort-select{background:var(--theme-surface)}
html[data-theme="dark"] .filter-select:disabled{color:var(--theme-text-muted)}
html[data-theme="dark"] .category-btn{background:var(--theme-surface)}
html[data-theme="dark"] .category-btn.selected{border-color:var(--theme-accent-border);color:var(--theme-accent)}
html[data-theme="dark"] .trust-note{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .active-chip{background:var(--theme-surface-muted)}
html[data-theme="dark"] .recipe-card{background:var(--theme-surface)}
html[data-theme="dark"] .recipe-card:hover{box-shadow:0 12px 28px rgb(var(--theme-shadow-rgb) / 6.27%);border-color:var(--theme-border)}
html[data-theme="dark"] .recipe-photo{background:var(--theme-surface-muted)}
html[data-theme="dark"] .official-tag{background:rgb(var(--theme-surface-rgb) / 94.90%);color:var(--theme-success-text)}
html[data-theme="dark"] .recipe-meta svg{color:var(--theme-success-text)}
html[data-theme="dark"] .model-line{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .model-line .model-code{color:var(--theme-success-text)}
html[data-theme="dark"] .empty-state{background:var(--theme-surface);border:1px dashed var(--theme-border)}
html[data-theme="dark"] .empty-state>svg{color:var(--theme-success-text)}
html[data-theme="dark"] .primary-btn{color:var(--theme-text-strong)}
html[data-theme="dark"] .primary-btn:hover{background:var(--theme-action)}
html[data-theme="dark"] .secondary-btn{background:var(--theme-surface)}
html[data-theme="dark"] .site-footer{background:var(--theme-surface)}
html[data-theme="dark"] dialog{box-shadow:0 30px 90px rgb(var(--theme-shadow-rgb) / 20.00%)}
html[data-theme="dark"] .icon-button{background:var(--theme-surface-muted)}
html[data-theme="dark"] .dialog-inner p{color:var(--theme-success-text)}
html[data-theme="dark"] .detail-image{background:var(--theme-surface-muted)}
html[data-theme="dark"] .detail-badges span{background:var(--theme-surface-muted)}
html[data-theme="dark"] .detail-model{background:var(--theme-surface)}
html[data-theme="dark"] .detail-section{background:var(--theme-surface)}
html[data-theme="dark"] .detail-section p,html[data-theme="dark"] .detail-section li{color:var(--theme-success-text)}
html[data-theme="dark"] .source-box{border:1px solid var(--theme-border);background:var(--theme-surface-muted)}
html[data-theme="dark"] .source-box p{color:var(--theme-success-text)}
html[data-theme="dark"] .noscript{border:1px solid var(--theme-accent-border);background:var(--theme-surface)}
@media(max-width:760px){html[data-theme="dark"] .filters{box-shadow:-15px 0 50px rgb(var(--theme-shadow-rgb) / 20.00%)}
html[data-theme="dark"] .mobile-filter-btn{background:var(--theme-surface)}}
html[data-theme="dark"] .photo-note{color:var(--theme-text-strong)}
html[data-theme="dark"] .heating-table thead{background:var(--theme-surface)}
html[data-theme="dark"] .intro-visual>span{background:rgb(var(--theme-surface-rgb) / 93.33%);color:var(--theme-text)}
html[data-theme="dark"] .source-label{color:var(--theme-success-text)}
html[data-theme="dark"] .new-label{color:var(--theme-accent)}
html[data-theme="dark"] .ingredient-preview span{color:var(--theme-success-text);background:var(--theme-surface-muted)}
html[data-theme="dark"] .card-more{color:var(--theme-success-text)}
html[data-theme="dark"] .text-recipe:hover{border-color:var(--theme-accent-border)}
html[data-theme="dark"] .recipe-facts-panel{background:var(--theme-surface)}
html[data-theme="dark"] .recipe-facts-panel .detail-model{background:var(--theme-surface)}
html[data-theme="dark"] .intro-status{color:var(--theme-accent)}
html[data-theme="dark"] .content-switch button{background:var(--theme-surface)}
html[data-theme="dark"] .content-switch button.selected{background:var(--theme-surface-muted)}
html[data-theme="dark"] .content-switch button span{background:var(--theme-surface-muted)}
html[data-theme="dark"] .cook-description{color:var(--theme-success-text)}
html[data-theme="dark"] .cook-tags span{background:var(--theme-surface)}
html[data-theme="dark"] .status-panel{background:var(--theme-surface-muted);border:1px solid var(--theme-border);color:var(--theme-text-muted)}
html[data-theme="dark"] .status-dot{background:var(--theme-action)}
html[data-theme="dark"] .cook-nav button{background:var(--theme-surface)}
html[data-theme="dark"] .ingredients-panel,html[data-theme="dark"] .equipment-panel{background:var(--theme-surface)}
html[data-theme="dark"] .ingredient-check:has(input:checked)>span,html[data-theme="dark"] .ingredient-check:has(input:checked)>b{color:var(--theme-success-text)}
html[data-theme="dark"] .setting-panel{background:var(--theme-surface)}
html[data-theme="dark"] .cooking-stage{background:var(--theme-surface-muted)}
html[data-theme="dark"] .cooking-stage>small{color:var(--theme-success-text)}
html[data-theme="dark"] .cooking-stage>b span{color:var(--theme-success-text)}
html[data-theme="dark"] .cooking-stage p{color:var(--theme-success-text)}
html[data-theme="dark"] .setting-note{color:var(--theme-accent)}
html[data-theme="dark"] .conditions-panel ul{color:var(--theme-success-text)}
html[data-theme="dark"] .cook-step{background:var(--theme-surface)}
html[data-theme="dark"] .cook-step.completed{background:var(--theme-surface-muted);border-color:var(--theme-border)}
html[data-theme="dark"] .safety-step{border-left:3px solid var(--theme-accent-border)}
html[data-theme="dark"] .finish-panel{background:var(--theme-surface-muted)}
html[data-theme="dark"] .cooking-faq p{color:var(--theme-success-text)}
html[data-theme="dark"] .source-review,html[data-theme="dark"] .trial-notes{background:var(--theme-surface)}
html[data-theme="dark"] .source-review p,html[data-theme="dark"] .source-review dl,html[data-theme="dark"] .trial-notes p{color:var(--theme-success-text)}
html[data-theme="dark"] .trial-notes textarea{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .trial-notes textarea:focus-visible{outline:3px solid var(--theme-focus)}

html[data-theme="dark"] .shared-results{border-top:1px solid var(--line,var(--theme-border))}
html[data-theme="dark"] .shared-heading a{color:var(--theme-success-text)}
html[data-theme="dark"] .shared-status{color:var(--theme-success-text)}
html[data-theme="dark"] .new-recipe-link{color:var(--theme-accent)}

html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] summary:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible,html[data-theme="dark"] textarea:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .skip-link{background:var(--theme-surface)}
html[data-theme="dark"] .chat-header{background:var(--theme-surface)}
html[data-theme="dark"] .header-title{color:var(--theme-success-text)}
html[data-theme="dark"] .recipe-sidebar{background:var(--theme-surface)}
html[data-theme="dark"] .icon-button:hover{background:var(--theme-surface-muted)}
html[data-theme="dark"] .recipe-status{color:var(--theme-accent)}
html[data-theme="dark"] .device-card{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .context-notice{background:var(--theme-surface-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .sidebar-steps button.active{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .sidebar-steps button:hover:not(:disabled){background:var(--theme-surface-muted)}
html[data-theme="dark"] .step-circle{border:1px solid var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .active .step-circle{color:var(--theme-text-strong)}
html[data-theme="dark"] .current-step-label{color:var(--theme-success-text)}
html[data-theme="dark"] .sidebar-footer{color:var(--theme-success-text)}
html[data-theme="dark"] .chat-main{background:var(--theme-surface)}
html[data-theme="dark"] .context-strip{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .context-separator{color:var(--theme-success-text)}
html[data-theme="dark"] .source-chip{color:var(--theme-success-text)}
html[data-theme="dark"] .current-step{background:var(--theme-surface)}
html[data-theme="dark"] .current-step details p{color:var(--theme-success-text)}
html[data-theme="dark"] .step-controls button{background:var(--theme-surface)}
html[data-theme="dark"] .step-controls button:hover:not(:disabled){border-color:var(--theme-border)}
html[data-theme="dark"] .chat-empty>p{color:var(--theme-success-text)}
html[data-theme="dark"] .quick-questions button{background:var(--theme-surface)}
html[data-theme="dark"] .quick-questions button>svg:last-child{color:var(--theme-success-text)}
html[data-theme="dark"] .quick-questions button:hover{border-color:var(--theme-accent-border);background:var(--theme-surface)}
html[data-theme="dark"] .chat-empty .empty-footnote{color:var(--theme-success-text)}
html[data-theme="dark"] .primary-button{color:var(--theme-text-strong)}
html[data-theme="dark"] .primary-button:hover:not(:disabled){background:var(--theme-action)}
html[data-theme="dark"] .message.user{background:var(--theme-surface-muted)}
html[data-theme="dark"] .message.user .message-heading{color:var(--theme-success-text)}
html[data-theme="dark"] .message-photo{background:var(--theme-surface-muted)}
html[data-theme="dark"] .photo-observation>span{color:var(--theme-success-text)}
html[data-theme="dark"] .answer-action{background:var(--theme-surface);border:1px solid var(--theme-border);border-left:3px solid var(--theme-border)}
html[data-theme="dark"] .answer-action.stop{background:var(--theme-surface);border-color:var(--theme-border)}
html[data-theme="dark"] .answer-action.setting{background:var(--theme-surface);border-color:var(--theme-accent-border)}
html[data-theme="dark"] .answer-sources summary{color:var(--theme-success-text)}
html[data-theme="dark"] .answer-sources p,html[data-theme="dark"] .answer-sources li{color:var(--theme-success-text)}
html[data-theme="dark"] .answer-sources a{color:var(--theme-success-text)}
html[data-theme="dark"] .thinking{color:var(--theme-success-text)}
html[data-theme="dark"] .composer-area{background:var(--theme-surface);border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .composer{border:1px solid var(--theme-border);box-shadow:0 3px 18px rgb(var(--theme-shadow-rgb) / 2.35%);background:var(--theme-surface)}
html[data-theme="dark"] .composer:focus-within{border-color:var(--theme-accent-border);box-shadow:0 0 0 3px rgb(var(--theme-shadow-rgb) / 3.14%)}
html[data-theme="dark"] .composer textarea::placeholder{color:var(--theme-success-text)}
html[data-theme="dark"] .attach-controls button{color:var(--theme-success-text)}
html[data-theme="dark"] .attach-controls button:hover{background:var(--theme-surface-muted)}
html[data-theme="dark"] .send-button{color:var(--theme-text-strong)}
html[data-theme="dark"] .send-button:disabled{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .clear-chat{color:var(--theme-success-text)}
html[data-theme="dark"] .clear-chat:hover{background:var(--theme-surface-muted)}
html[data-theme="dark"] .photo-privacy{color:var(--theme-success-text)}
html[data-theme="dark"] .connection-note{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .connection-symbol{color:var(--theme-success-text)}
html[data-theme="dark"] .connection-note p{color:var(--theme-success-text)}
html[data-theme="dark"] .access-form button{color:var(--theme-text-strong)}
html[data-theme="dark"] .chat-error{color:var(--theme-accent);background:var(--theme-surface-muted)}
html[data-theme="dark"] .app-dialog{border:1px solid var(--theme-border);box-shadow:0 20px 100px rgb(var(--theme-shadow-rgb) / 14.51%)}
html[data-theme="dark"] .dialog-note{color:var(--theme-success-text)}
html[data-theme="dark"] .device-options>button,html[data-theme="dark"] .recipe-options>button{background:var(--theme-surface)}
html[data-theme="dark"] .device-options>button.selected,html[data-theme="dark"] .recipe-options>button.selected{border-color:var(--theme-border);background:var(--theme-surface-muted)}
html[data-theme="dark"] .device-options span>small,html[data-theme="dark"] .recipe-options small{color:var(--theme-success-text)}
html[data-theme="dark"] .device-capacity-note{color:var(--theme-success-text)}
html[data-theme="dark"] .device-sources p{color:var(--theme-success-text)}
html[data-theme="dark"] .baseline-note{background:var(--theme-surface-muted)}
html[data-theme="dark"] .baseline-note strong{color:var(--theme-success-text)}
html[data-theme="dark"] .unit-input{border:1px solid var(--theme-border)}
html[data-theme="dark"] .unit-input>span{color:var(--theme-success-text)}
html[data-theme="dark"] .context-fields select{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .measurement-fields>p{color:var(--theme-success-text)}
html[data-theme="dark"] .mobile-recipe-details p{color:var(--theme-success-text)}
@media(max-width:760px){html[data-theme="dark"] .mobile-recipe{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .mobile-recipe>button:last-child{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .mobile-recipe>button.needs-device{background:var(--theme-surface-muted);color:var(--theme-accent)}}
html[data-theme="dark"] .unsupported-detail{color:var(--theme-success-text)}
html[data-theme="dark"] .field-help{color:var(--theme-success-text)}
html[data-theme="dark"] .setting-followup{color:var(--theme-accent)}
html[data-theme="dark"] .cook-embedded{background:var(--theme-surface)}
html[data-theme="dark"] .cook-embedded .mobile-recipe>button{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .cook-embedded .mobile-recipe>button.needs-device{background:var(--theme-surface-muted);color:var(--theme-accent)}
html[data-theme="dark"] .creator-shell{background:var(--theme-surface)}
html[data-theme="dark"] .creator-message p{background:var(--theme-surface)}
html[data-theme="dark"] .creator-message.user p{background:var(--theme-surface-muted)}
html[data-theme="dark"] .creator-chips button{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .creator-chips button[aria-pressed=true]{color:var(--theme-text-strong)}
html[data-theme="dark"] .device-options>button{background:var(--theme-surface)}
html[data-theme="dark"] .creator-composer{background:var(--theme-surface);border:1px solid var(--theme-border);box-shadow:0 8px 26px rgb(var(--theme-shadow-rgb) / 5.10%)}
html[data-theme="dark"] .creator-composer button{color:var(--theme-text-strong)}
html[data-theme="dark"] .creator-context{background:var(--theme-surface)}
html[data-theme="dark"] .creator-device-facts{background:var(--theme-surface-muted)}
html[data-theme="dark"] .creator-primary{color:var(--theme-text-strong)}
html[data-theme="dark"] .creator-confirm{background:var(--theme-surface)}
html[data-theme="dark"] .creator-error{color:var(--theme-accent);background:var(--theme-surface-muted)}
html[data-theme="dark"] .creator-success{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .creator-auth{background:var(--theme-surface)}
html[data-theme="dark"] .creator-auth input{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .creator-shell button:focus-visible,html[data-theme="dark"] .creator-shell a:focus-visible,html[data-theme="dark"] .creator-shell input:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .community-badges span{background:var(--theme-surface-muted)}
html[data-theme="dark"] .community-section{background:var(--theme-surface)}
html[data-theme="dark"] .community-card{background:var(--theme-surface)}
html[data-theme="dark"] .community-search button{color:var(--theme-text-strong)}
html[data-theme="dark"] .community-note{background:var(--theme-surface-muted)}

html[data-theme="dark"] .recipe-suggestions{background:var(--theme-surface-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .suggestion-card{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .suggestion-card:hover{box-shadow:0 4px 16px rgb(var(--theme-shadow-rgb) / 3.92%)}

html[data-theme="dark"] .account-site-header{background:var(--theme-surface);border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .account-wordmark>svg{color:var(--theme-accent)}
html[data-theme="dark"] .account-wordmark em{color:var(--theme-accent)}
html[data-theme="dark"] .account-site-header nav a:hover{background:var(--theme-surface)}
html[data-theme="dark"] .account-site-header nav a[aria-current=page]{background:var(--theme-surface-muted);color:var(--theme-accent)}
html[data-theme="dark"] .favorite-button{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-success-text)}
html[data-theme="dark"] .favorite-button[aria-pressed=true]{color:var(--theme-accent);border-color:var(--theme-accent-border);background:var(--theme-surface)}
html[data-theme="dark"] .favorite-button:hover{border-color:var(--theme-accent-border);color:var(--theme-accent)}
html[data-theme="dark"] .favorite-error{background:var(--theme-surface);border:1px solid var(--theme-accent-border);color:var(--theme-accent)}
html[data-theme="dark"] .favorite-toast{color:var(--theme-text-strong);box-shadow:0 6px 24px rgb(var(--theme-shadow-rgb) / 13.33%)}
html[data-theme="dark"] .account-shell{background:var(--theme-surface)}
html[data-theme="dark"] .account-kicker{color:var(--theme-success-text)}
html[data-theme="dark"] .account-text-button{color:var(--theme-success-text)}
html[data-theme="dark"] .account-primary{background:var(--theme-action);color:var(--theme-text-strong)}
html[data-theme="dark"] .account-primary:hover{background:var(--theme-action)}
html[data-theme="dark"] .account-overview{background:var(--theme-surface-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .account-overview>svg{color:var(--theme-success-text)}
html[data-theme="dark"] .account-overview span{color:var(--theme-success-text)}
html[data-theme="dark"] .account-tabs{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .account-tabs>button{color:var(--theme-success-text)}
html[data-theme="dark"] .account-tabs>button[aria-selected=true]{border-color:var(--theme-border-strong);color:var(--theme-text)}
html[data-theme="dark"] .account-tabs>button>span{background:var(--theme-surface-muted)}
html[data-theme="dark"] .account-status{color:var(--theme-success-text)}
html[data-theme="dark"] .saved-recipe-card{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .saved-recipe-card:hover{border-color:var(--theme-border);box-shadow:0 5px 22px rgb(var(--theme-shadow-rgb) / 2.75%)}
html[data-theme="dark"] .saved-category{color:var(--theme-accent)}
html[data-theme="dark"] .saved-recipe-link>p{color:var(--theme-success-text)}
html[data-theme="dark"] .saved-recipe-meta>span{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .saved-recipe-meta small{color:var(--theme-text-muted)}
html[data-theme="dark"] .saved-recipe-open{color:var(--theme-success-text)}
html[data-theme="dark"] .account-empty{border:1px dashed var(--theme-border);background:rgb(var(--theme-surface-rgb) / 50.20%)}
html[data-theme="dark"] .account-symbol{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .account-empty p,html[data-theme="dark"] .account-login>p{color:var(--theme-success-text)}
html[data-theme="dark"] .account-pager button{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .account-muted{color:var(--theme-success-text)}
html[data-theme="dark"] .account-error{border:1px solid var(--theme-accent-border);background:var(--theme-surface-muted);color:var(--theme-accent)}
html[data-theme="dark"] .account-footer{border-top:1px solid var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .account-login{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .account-login input,html[data-theme="dark"] .device-add-form select{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}
html[data-theme="dark"] .account-login>small{color:var(--theme-success-text)}
html[data-theme="dark"] .account-pending{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .account-skeleton{background:linear-gradient(100deg,var(--theme-surface-muted),var(--theme-surface),var(--theme-surface-muted))}
html[data-theme="dark"] .my-device-card{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .my-device-symbol{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .default-device-badge{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .device-remove{color:var(--theme-success-text)}
html[data-theme="dark"] .device-remove:hover{background:var(--theme-surface-muted);color:var(--theme-accent)}
html[data-theme="dark"] .my-device-card>p:not(.saved-category){color:var(--theme-success-text)}
html[data-theme="dark"] .device-capacity{color:var(--theme-success-text)}
html[data-theme="dark"] .device-actions{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .device-actions a,html[data-theme="dark"] .device-actions button{color:var(--theme-success-text)}
html[data-theme="dark"] .device-add-form{border:1px dashed var(--theme-border);background:rgb(var(--theme-surface-rgb) / 50.20%)}
html[data-theme="dark"] .my-device-search{border:1px solid var(--theme-border);background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .recipe-card .source-label{color:var(--theme-text-muted)}
html[data-theme="dark"] .creator-device-facts summary{color:var(--theme-success-text)}
html[data-theme="dark"] .account-inline-devices button{border:1px solid var(--theme-border);background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .account-inline-devices small{color:var(--theme-success-text)}
@media(max-width:680px){html[data-theme="dark"] .favorite-compact .favorite-button[aria-pressed=true]{color:var(--theme-accent)}}
html[data-theme="dark"] .account-site-header a:focus-visible,html[data-theme="dark"] .favorite-button:focus-visible{outline:3px solid var(--theme-focus)}

html[data-theme="dark"] .k-main :focus-visible,html[data-theme="dark"] .k-recipe-section :focus-visible,html[data-theme="dark"] .k-embedded :focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .k-primary{color:var(--theme-text-strong)!important;box-shadow:0 3px 0 rgb(var(--theme-shadow-rgb) / 3.92%)}
html[data-theme="dark"] .k-secondary{background:rgb(var(--theme-surface-rgb) / 60.00%);border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-secondary:hover,html[data-theme="dark"] .k-secondary[aria-pressed=true]{border-color:var(--theme-border)}
html[data-theme="dark"] .k-delete{background:var(--theme-action);border-color:var(--theme-accent-border)}
html[data-theme="dark"] .k-danger{color:var(--theme-accent)!important}
html[data-theme="dark"] .k-eyebrow{color:var(--theme-success-text)!important}
html[data-theme="dark"] .k-error{background:var(--theme-surface-muted);border:1px solid var(--theme-accent-border);color:var(--theme-accent)}
html[data-theme="dark"] .k-status{color:var(--theme-success-text)}
html[data-theme="dark"] .k-soft-note{background:var(--theme-surface-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-hero{border:1px solid var(--theme-border);background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-hero-copy>p:not(.k-eyebrow){color:var(--theme-success-text)}
html[data-theme="dark"] .k-hero-pot{background:var(--theme-surface-tinted);color:var(--theme-success-text)}
html[data-theme="dark"] .k-orbit{border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-art-note{background:var(--theme-surface);border:1px solid var(--theme-border);box-shadow:0 8px 24px rgb(var(--theme-shadow-rgb) / 3.92%)}
html[data-theme="dark"] .k-art-note em{color:var(--theme-accent)}
html[data-theme="dark"] .k-art-stamp{color:var(--theme-success-text)}
html[data-theme="dark"] .k-segments{background:var(--theme-surface-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-segments button{color:var(--theme-success-text)}
html[data-theme="dark"] .k-segments button[aria-pressed=true]{background:var(--theme-surface);box-shadow:0 2px 5px rgb(var(--theme-shadow-rgb) / 3.92%)}
html[data-theme="dark"] .k-device-filter{background:var(--theme-surface)}
html[data-theme="dark"] .k-default-filter{color:var(--theme-success-text)}
html[data-theme="dark"] .k-default-filter[aria-pressed=true]{background:var(--theme-surface-muted);border-color:var(--theme-border)}
html[data-theme="dark"] .k-card{background:var(--theme-surface);box-shadow:0 4px 20px rgb(var(--theme-shadow-rgb) / 1.18%)}
html[data-theme="dark"] .k-card:hover{box-shadow:0 8px 28px rgb(var(--theme-shadow-rgb) / 3.92%)}
html[data-theme="dark"] .k-author small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-avatar{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .k-label{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .k-question{background:var(--theme-surface-muted);color:var(--theme-accent)}
html[data-theme="dark"] .k-resolved{background:var(--theme-surface-tinted);color:var(--theme-success-text)}
html[data-theme="dark"] .k-card-image{background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-device{color:var(--theme-success-text)}
html[data-theme="dark"] .k-card-title p{color:var(--theme-success-text)}
html[data-theme="dark"] .k-conditions span{background:var(--theme-surface);color:var(--theme-success-text)}
html[data-theme="dark"] .k-change{color:var(--theme-success-text)}
html[data-theme="dark"] .k-change>span{color:var(--theme-success-text)}
html[data-theme="dark"] .k-card-bottom{border-top:1px solid var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .k-more{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .k-empty{border:1px dashed var(--theme-border);background:rgb(var(--theme-surface-rgb) / 39.61%)}
html[data-theme="dark"] .k-empty-icon{color:var(--theme-success-text);background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-footer{border-top:1px solid var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .k-compose{background:var(--theme-surface);box-shadow:0 10px 50px rgb(var(--theme-shadow-rgb) / 1.96%)}
html[data-theme="dark"] .k-compose-top{border-bottom:1px solid var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .k-photo-optional{border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-compose-kind{background:var(--theme-surface-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-compose-kind button{color:var(--theme-success-text)}
html[data-theme="dark"] .k-compose-kind button[aria-pressed=true]{background:var(--theme-surface);border-color:var(--theme-border);box-shadow:0 2px 8px rgb(var(--theme-shadow-rgb) / 3.14%)}
html[data-theme="dark"] .k-form-section{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .k-form-section legend>span,html[data-theme="dark"] .k-step-number{border:1px solid var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .k-field{color:var(--theme-success-text)}
html[data-theme="dark"] .k-field input,html[data-theme="dark"] .k-field select,html[data-theme="dark"] .k-field textarea{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .k-field input::placeholder,html[data-theme="dark"] .k-field textarea::placeholder{color:var(--theme-text-muted)}
html[data-theme="dark"] .k-field small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-outcomes label{border:1px solid var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .k-outcomes label.is-selected{background:var(--theme-surface-muted);border-color:var(--theme-border);color:var(--theme-success-text)}
html[data-theme="dark"] .k-photo-add{border:1px dashed var(--theme-border);background:var(--theme-surface);color:var(--theme-success-text)}
html[data-theme="dark"] .k-photo-add>span{color:var(--theme-success-text)}
html[data-theme="dark"] .k-photo-add small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-photo-preview{background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-photo-preview button{background:var(--theme-surface);box-shadow:0 2px 9px rgb(var(--theme-shadow-rgb) / 13.33%)}
html[data-theme="dark"] .k-condition-details summary:after{color:var(--theme-success-text)}
html[data-theme="dark"] .k-condition-details summary small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-visibility label{border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-visibility label.is-selected{border-color:var(--theme-border);background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-visibility small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-compose-submit{background:rgb(var(--theme-surface-rgb) / 96.08%);border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .k-embedded{background:var(--theme-surface)}
html[data-theme="dark"] .k-embedded .k-compose-top{background:var(--theme-surface)}
html[data-theme="dark"] .k-success>span{color:var(--theme-success-text);background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-thread{background:var(--theme-surface)}
html[data-theme="dark"] .k-thread-photo{background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-thread-change{background:var(--theme-surface)}
html[data-theme="dark"] .k-owner-actions{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .k-owner-actions .k-link{color:var(--theme-success-text)}
html[data-theme="dark"] .k-resolution{background:var(--theme-surface-muted);border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-resolution-icon{background:var(--theme-surface-tinted);color:var(--theme-success-text)}
html[data-theme="dark"] .k-resolution small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-reply{border-top:1px solid var(--theme-border)}
html[data-theme="dark"] .k-reply-form,html[data-theme="dark"] .k-resolution-form,html[data-theme="dark"] .k-report-form{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .k-reply-form small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-reply-empty{color:var(--theme-success-text)}
html[data-theme="dark"] .k-private-note{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .k-confirm{background:var(--theme-surface);border:1px solid var(--theme-accent-border)}
html[data-theme="dark"] .k-profile-form{background:var(--theme-surface)}
html[data-theme="dark"] .k-username-input{border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-username-input>span{color:var(--theme-success-text)}
html[data-theme="dark"] .k-check-setting{background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-check-setting small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-public-profile{background:var(--theme-surface)}
html[data-theme="dark"] .k-profile-banner{background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-profile-banner>svg{color:var(--theme-success-text)}
html[data-theme="dark"] .k-profile-banner>span{color:var(--theme-success-text)}
html[data-theme="dark"] .k-profile-summary>.k-avatar{border:6px solid var(--theme-border)}
html[data-theme="dark"] .k-handle{color:var(--theme-success-text)}
html[data-theme="dark"] .k-profile-devices>span{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .k-profile-count{color:var(--theme-success-text)}
html[data-theme="dark"] .k-profile-count>strong{color:var(--theme-success-text)}
html[data-theme="dark"] .k-my-intro{border:1px solid var(--theme-border);background:linear-gradient(120deg,var(--theme-surface-muted),var(--theme-surface))}
html[data-theme="dark"] .k-my-identity small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-my-actions a{color:var(--theme-success-text)}
html[data-theme="dark"] .k-unread-dot{background:var(--theme-action)}
html[data-theme="dark"] .k-inbox{background:var(--theme-surface)}
html[data-theme="dark"] .k-notice{border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .k-notice.is-unread{background:var(--theme-surface-muted)}
html[data-theme="dark"] .k-notice p{color:var(--theme-success-text)}
html[data-theme="dark"] .k-notice time{color:var(--theme-success-text)}
html[data-theme="dark"] .k-notice-icon{color:var(--theme-success-text)}
html[data-theme="dark"] .k-notice i{background:var(--theme-action)}
html[data-theme="dark"] .k-moderation-card{background:var(--theme-surface)}
html[data-theme="dark"] .k-recipe-section{background:var(--theme-surface);border:1px solid var(--theme-border)}
html[data-theme="dark"] .k-static-card{border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .k-static-card>small{color:var(--theme-success-text)}
html[data-theme="dark"] .k-static-empty{color:var(--theme-success-text)}
html[data-theme="dark"] .k-activity-dialog{background:var(--theme-surface);box-shadow:-10px 0 80px rgb(var(--theme-shadow-rgb) / 14.51%)}
html[data-theme="dark"] .k-chat-share{color:var(--theme-success-text)}

html[data-theme="dark"] .recipe-chat-widget{color:var(--theme-text)}
html[data-theme="dark"] .recipe-chat-launcher{color:var(--theme-text-strong);border:1px solid var(--theme-accent-border);box-shadow:0 6px 20px rgb(var(--theme-shadow-rgb) / 16.86%)}
html[data-theme="dark"] .recipe-chat-launcher:hover{box-shadow:0 9px 25px rgb(var(--theme-shadow-rgb) / 21.96%);background:var(--theme-action);color:var(--theme-text-strong)}
html[data-theme="dark"] .recipe-chat-panel{background:var(--theme-surface);border:1px solid var(--theme-border);box-shadow:0 16px 64px rgb(var(--theme-shadow-rgb) / 14.12%),0 3px 12px rgb(var(--theme-shadow-rgb) / 7.84%)}
html[data-theme="dark"] .recipe-chat-top{background:var(--theme-surface);border-bottom:1px solid var(--theme-border)}
html[data-theme="dark"] .recipe-chat-heading p{color:var(--theme-success-text)}
html[data-theme="dark"] .recipe-chat-close{background:var(--theme-surface-muted);color:var(--theme-success-text)}
html[data-theme="dark"] .recipe-chat-close:hover{background:var(--theme-surface-muted)}
html[data-theme="dark"] .recipe-chat-frame{background:var(--theme-surface)}
html[data-theme="dark"] .recipe-chat-loading{background:var(--theme-surface);color:var(--theme-success-text)}
html[data-theme="dark"] .recipe-chat-loading a,html[data-theme="dark"] .recipe-chat-loading button{color:var(--theme-accent)}
html[data-theme="dark"] .recipe-chat-spinner{border:2px solid var(--theme-border)}
html[data-theme="dark"] .recipe-chat-notice{background:var(--theme-surface-muted);color:var(--theme-accent)}
html[data-theme="dark"] .recipe-chat-widget :is(a,button):focus-visible,html[data-theme="dark"] .recipe-step-chat:focus-visible{outline:3px solid var(--theme-focus)}
html[data-theme="dark"] .recipe-step-chat{color:var(--theme-accent);border:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme="dark"] .recipe-step-chat:hover{background:var(--theme-surface-muted);border-color:var(--theme-accent-border)}
html[data-theme="dark"] .chat-entry-link{color:var(--theme-accent)}
@media(max-width:600px){
 html[data-theme="dark"] .recipe-chat-panel{box-shadow:0 -8px 45px rgb(var(--theme-shadow-rgb) / 14.12%)}
}
html[data-theme="dark"] .crisp-footer{border-top:1px solid var(--line,var(--theme-border));color:var(--muted,var(--theme-success-text))}
html[data-theme="dark"] .crisp-footer-brand{color:var(--ink,var(--theme-text))}
html[data-theme="dark"] .crisp-footer-brand span{color:var(--theme-accent)}
html[data-theme="dark"] .account-consent{color:var(--muted,var(--theme-success-text))}
html[data-theme="dark"] .machine-variants{border:1px solid var(--line,var(--theme-border));background:var(--paper,var(--theme-surface))}
html[data-theme="dark"] .machine-variants-header small{color:var(--muted,var(--theme-success-text))}
html[data-theme="dark"] .machine-variant-list a{border:1px solid var(--line,var(--theme-border))}
html[data-theme="dark"] .machine-variant-list small{color:var(--muted,var(--theme-success-text))}
html[data-theme="dark"] .machine-variant-list a[aria-current=page]{border-color:var(--theme-border-strong);background:var(--theme-surface-muted);color:var(--theme-text)}
html[data-theme="dark"] .machine-variant-list a:hover{border-color:var(--theme-border)}
html[data-theme="dark"] .legal-content a{color:var(--green,var(--theme-success-text))}
html[data-theme="dark"] .legal-content th{background:var(--paper,var(--theme-surface))}
html[data-theme="dark"] .contact-form{background:var(--paper,var(--theme-surface))}
html[data-theme="dark"] .contact-form input,html[data-theme="dark"] .contact-form select,html[data-theme="dark"] .contact-form textarea{background:var(--paper,var(--theme-surface))}

html[data-theme="dark"]{color-scheme:dark;--canvas:var(--theme-canvas);--paper:var(--theme-surface);--ink:var(--theme-text);--muted:var(--theme-text-muted);--line:var(--theme-border-subtle);--orange:var(--theme-focus);--orange-soft:var(--theme-orange-soft);--green:var(--theme-green);--focus:var(--theme-focus);--k-bg:var(--theme-canvas);--k-paper:var(--theme-surface);--k-ink:var(--theme-text);--k-muted:var(--theme-text-muted);--k-line:var(--theme-border-subtle);--k-sage:var(--theme-sage);--k-orange:var(--theme-focus);--k-soft-orange:var(--theme-orange-soft);--chat-accent:var(--theme-action);color:var(--ink);background:var(--canvas)}
html[data-theme="dark"] :is(input,textarea,select,dialog){color:var(--ink);background-color:var(--paper)}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:var(--theme-placeholder);opacity:1}
html[data-theme="dark"] :is(.primary-btn,.primary-button,.account-primary,.creator-primary,.send-button,.creator-composer button,.search-submit,.recipe-chat-launcher){background:var(--theme-action);color:var(--theme-on-action)}
html[data-theme="dark"] :is(.manufacturer-btn.selected,.k-primary,.creator-chips button[aria-pressed=true],.community-search button,.access-form button,.active .step-circle){background:var(--theme-selected);color:var(--theme-on-selected);border-color:var(--theme-selected)}
html[data-theme="dark"] .manufacturer-btn.selected .count{color:var(--theme-selected-muted)}
html[data-theme="dark"] .k-primary{color:var(--theme-on-selected)!important}
html[data-theme="dark"] .k-primary:hover{background:var(--theme-selected-hover);color:var(--theme-on-selected)}
html[data-theme="dark"] .k-primary.k-delete{background:var(--theme-action);border-color:var(--theme-action);color:var(--theme-on-action)!important}
html[data-theme="dark"] :is(.cook-nav,.filters){background:var(--canvas)}
html[data-theme="dark"] .machine-variant-list a[aria-current=page]{background:var(--theme-choice-surface);border-color:var(--theme-choice-border);color:var(--theme-choice-text)}
html[data-theme="dark"] .account-site-header nav a[aria-current=page]{background:var(--theme-accent-surface);color:var(--theme-accent)}
html[data-theme="dark"] :is(.app-dialog,.creator-auth,.k-activity-dialog,dialog){background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .send-button:disabled{background:var(--theme-border-subtle);color:var(--theme-text-muted)}
html[data-theme="dark"] .account-skeleton{background:linear-gradient(100deg,var(--theme-surface),var(--theme-skeleton-highlight),var(--theme-surface))}
html[data-theme="dark"] :is(.creator-shell,.account-shell,.k-shell){background:var(--canvas)}
}
@media print{html[data-theme="dark"]{color-scheme:light!important} .theme-menu{display:none!important}}
