.theme-control{display:inline-flex;gap:5px;align-items:center;flex-shrink:0}.theme-toggle,.theme-options>summary{min-height:44px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--ink);font-size:13px;padding:9px 12px;cursor:pointer}.theme-options{position:relative}.theme-options>summary{list-style:none;padding-inline:10px;font-size:20px}.theme-options>summary::-webkit-details-marker{display:none}.theme-options>button{position:absolute;z-index:20;top:calc(100% + 6px);right:0;width:210px;min-height:48px;text-align:left;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--cream);color:var(--ink);box-shadow:0 5px 20px #0003}.theme-options>button[aria-pressed=true]:after{content:' ✓'}.login-theme{position:absolute;right:20px;top:18px;z-index:3}.theme-control :focus-visible{outline:3px solid var(--deep);outline-offset:3px}.checkout-header{gap:12px;flex-wrap:wrap}@media(max-width:650px){.header-actions{flex-wrap:wrap}.theme-toggle{font-size:12px;padding-inline:9px}.theme-options>summary{padding-inline:8px}.admin-top{height:auto;min-height:65px;gap:12px;flex-wrap:wrap;padding-block:10px}.admin-avatar{display:none}.login-panel .back-store{top:80px}}
html[data-theme=dark]{--ink:#f5f5f5;--muted:#bdbdbd;--rose:#bf4868;--deep:#f18ba8;--cream:#222222;--line:#414141;color-scheme:dark;background:#181818}
html[data-theme=dark] body{background:#181818;color:var(--ink)}
html[data-theme=dark] :is(.nav-wrap,.benefits,.site-footer,.admin-sidebar,.checkout-header,.login-panel){background:#1e1e1e;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(dialog,.product-card,.catalog-empty,.stats article,.collection-panel,.store-controls,.checkout-card,.checkout-success,.editor-footer,.variant-row,.size-stock,.collection-table tr,.password-wrap,.admin-tabs button,.agency-option,.payment-details,.photo-preview){background:#222222;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(input:not([type=color]):not([type=checkbox]):not([type=radio]),select,textarea,.search,.secondary,.quantity button,.row-actions button,.icon-button,.heart,.color-option,.size-options button,.filters>button,.admin-photo button,.gallery-thumbnails button,.editor-close){background:#2d2d2d;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:var(--muted);opacity:.8}
html[data-theme=dark] :is(.primary,.upload-label,.counter){background:#bf4868;color:#fff;border-color:#bf4868}
html[data-theme=dark] .primary:hover{background:#a83c5a;color:#fff}
html[data-theme=dark] :is(.choose-product,.filters>button.selected,.color-option.selected,.size-options .selected,.admin-tabs button[aria-current=page],.admin-sidebar>a.sidebar-active,.row-actions [data-pin][aria-pressed=true],.choice:has(input:checked)){background:#462531;color:#f7b0c4;border-color:#f18ba8}
html[data-theme=dark] :is(.eyebrow,.section-eyebrow,.price-offer,.product-title:hover,.heading>a,.checkout-back,.checkout-brand,.atelier-wordmark span,.mini-brand,.delete-flower,.reservation-copy strong,.reservation-copy em,.footer-brand){color:#f18ba8}
html[data-theme=dark] :is(.brand small,.hero-description,.hero-note,.benefits small,.product-category,.card-sizes,.detail-description,.option-set legend span,.detail-care,.detail-care strong,.cart-note,.cart-empty p,.cart-item p,.price-regular,.site-footer,.admin-top,.admin-top i,.admin-heading p,.stats span,.stats small,.collection-caption,.table-product small,.table-sizes,.collection-table th,.photo-editor>p,.visibility-control small,.field label,.variants-heading p,.variant-help,.size-stock label,.field>small,.store-controls p,.store-controls small,.admin-empty,.admin-footnote,.login-panel p,.login-panel small,.back-store,.sidebar-caption,.sidebar-note p,.admin-sidebar>a:not(.atelier-wordmark),.logout,.payments-panel>p,.orders-panel>p,.admin-order-head small,.checkout-intro,.choice small,.checkout-hint,.summary-item small,.accept,.submit-status,.payment-details small,.agency-option span,.agency-option small){color:var(--muted)}
html[data-theme=dark] :is(.product-photo,.detail-gallery,.detail-image,.photo-preview,.table-product img){background:#2d2d2d}
html[data-theme=dark] .hero{background:#222222}
html[data-theme=dark] .hero:after{background:linear-gradient(90deg,#222222 0%,#222222c9 38%,transparent 70%)}
html[data-theme=dark] .hero h1 em{color:#f18ba8}
html[data-theme=dark] .category-card{background:#2d2d2d;color:var(--ink)}
html[data-theme=dark] .category-card:after{background:linear-gradient(90deg,#2d2d2d,transparent)}
html[data-theme=dark] .reservation-banner{background:#36222b;color:#f7eff2;border-color:#754050}
html[data-theme=dark] .reservation-banner:hover{background:#462531}
html[data-theme=dark] .reservation-copy>small{color:#dfbac8}
html[data-theme=dark] .login-editorial{background:#222222}
html[data-theme=dark] .login-editorial:after{background:linear-gradient(90deg,#222222,#222222b0,transparent)}
html[data-theme=dark] .login-editorial>div>p:last-child{color:var(--muted)}
html[data-theme=dark] .collection-table tbody tr:hover{background:#2d2d2d}
html[data-theme=dark] :is(.state-pill,.state-pill.draft,.state-pill.fulfilled){background:#333333;color:#dedede}
html[data-theme=dark] :is(.state-pill.empty,.state-pill.pending){background:#453522;color:#f7d79c}
html[data-theme=dark] :is(.state-pill.confirmed,.product-cart-feedback){background:#20392c;color:#b3e8c3;border-color:#3c684a}
html[data-theme=dark] :is(.product-cart-feedback p,.stock-note){color:#b3e8c3}
html[data-theme=dark] :is(.state-pill.rejected,.checkout-error,.checkout-warning){background:#492632;color:#ffc0cf;border-color:#8d4c61}
html[data-theme=dark] :is(.form-message,.stock-low,.row-actions .remove-product){color:#ffabc2}
html[data-theme=dark] .summary-lines p:nth-child(2){color:#f18ba8}
html[data-theme=dark] .size-stock .variant-stock:disabled{background:#252525;color:#bdbdbd}
html[data-theme=dark] .checkout-card input[type=file]::file-selector-button{background:#bf4868;color:white;border-color:#bf4868}
html[data-theme=dark] #toast{background:#f5f5f5;color:#222222}
html[data-theme=dark] dialog::backdrop{background:#000a}
html[data-theme=dark] .checkout-summary .primary:disabled{background:#5f3543;color:#f7eff2}
html[data-theme=dark] .shipping{color:var(--muted)}
html[data-theme=dark] .admin-avatar{background:#462531;color:#f7eff2}
html[data-theme=dark] .stats .stock-stat b{color:#f18ba8}
