/* Reversible UI pause only: routes, code and account data are retained. */
[data-action="save-search"],[data-action="searches"]{display:none!important}
.card-media .life54{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 76px);margin:0;padding:5px 9px;border-radius:20px;border:1px solid #f8c53799;background:#1c2228ed;color:#ffe181;font-size:12px;font-weight:700;line-height:1.35;white-space:nowrap;font-variant-numeric:tabular-nums;box-shadow:0 2px 8px #0002}
.card-media .life54 .icon{width:15px;height:15px;flex:none}.card-media .life54 span{display:inline;min-height:0}
.card-media .life54[data-ending54=true]{background:#49371fed;border-color:#f2c475;color:#ffe3ac}
.card-media .life54[data-urgent55=true]{background:#542a2bed;border-color:#ee9393;color:#ffe2e2}
.theme-toggle{width:60px;min-width:60px;height:34px;padding:3px;gap:0;border:1px solid var(--line);border-radius:999px;background:var(--white);box-shadow:none}
.theme-toggle i{width:26px;height:26px;left:3px;top:3px;transition:transform .22s ease;background:var(--yellow);box-shadow:0 1px 4px #0002}
.theme-toggle span{width:26px;text-align:center;line-height:26px;font-size:19px;color:var(--muted)}
.theme-toggle span:first-child{color:#1c2228}html[data-theme=dark] .theme-toggle i{transform:translateX(26px)}
html[data-theme=dark] .theme-toggle span:first-child{color:var(--muted)}html[data-theme=dark] .theme-toggle span:last-of-type{color:#1c2228}
.theme-toggle:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
html[data-theme=dark]{--ink:#eef2f5;--muted:#b5c0cb;--paper:#242c34;--white:#2b3540;--line:#465461;--yellow:#f8c537;--yellow-light:#423c29;--green:#b9c6d3;color-scheme:dark}
html[data-theme=dark] body,html[data-theme=dark] .site-header,html[data-theme=dark] .hero,html[data-theme=dark] .categories-wrap,html[data-theme=dark] .page-footer{background:#1c2228;color:var(--ink)}
html[data-theme=dark] .card,html[data-theme=dark] dialog,html[data-theme=dark] .confirm-close50,html[data-theme=dark] .modal-header,html[data-theme=dark] .modal-footer,html[data-theme=dark] .mobile-nav,html[data-theme=dark] .toast{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .search-box,html[data-theme=dark] .upload-area,html[data-theme=dark] .help-note,html[data-theme=dark] .local-note,html[data-theme=dark] .photo-placeholder,html[data-theme=dark] .card-media,html[data-theme=dark] .template-preview51{background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .freshness50,html[data-theme=dark] .small,html[data-theme=dark] .backup-options51,html[data-theme=dark] .save-summary51{color:var(--muted)}
html[data-theme=dark] .uploaded-photo button,html[data-theme=dark] .photo-lightbox button,html[data-theme=dark] .theme-toggle{background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .theme-toggle span:last-of-type{color:#1c2228}
html[data-theme=dark] .btn-primary{color:#1c2228}html[data-theme=dark] .type-option.active{background:var(--yellow-light);border-color:#b79642;color:var(--ink)}
.category{border:1px solid transparent}.category:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
html[data-theme=dark] .category{background:transparent;color:var(--muted)}html[data-theme=dark] .category:hover{background:var(--paper)}
html[data-theme=dark] .category.active{background:var(--white);border-color:var(--yellow);color:var(--ink)}html[data-theme=dark] .category.active .icon{color:var(--yellow)}
html[data-theme=dark] .category .category-count{color:var(--muted)}
html[data-theme=dark] .header-saved .favorite-count,html[data-theme=dark] .mobile-nav .favorite-count{background:var(--white);color:var(--ink);border:1px solid var(--line)}
html[data-theme=dark] .help-note p,html[data-theme=dark] .notice-strip p{color:var(--muted)}html[data-theme=dark] .help-note>.icon{color:var(--muted)}
html[data-theme=dark] .notice-strip{background:var(--white);border-color:var(--line);color:var(--ink)}

@media(max-width:680px){.theme-toggle{width:52px;min-width:52px;height:30px}.theme-toggle i{width:22px;height:22px}.theme-toggle span{width:22px;line-height:22px;font-size:17px}html[data-theme=dark] .theme-toggle i{transform:translateX(22px)}}
@media(prefers-reduced-motion:reduce){.theme-toggle i{transition:none}}

.card-media .life54 [data-left54]{color:inherit!important}

html[data-theme=dark] dialog::backdrop{background:rgba(10,15,22,.72)}
html[data-theme=dark] .card-footer,html[data-theme=dark] .saved-item,html[data-theme=dark] .modal-tabs{border-color:var(--line)}


html[data-theme=dark] .reset{color:var(--muted)}html[data-theme=dark] .footer-brand{color:var(--ink)}
@media(max-width:360px){.header-actions{gap:3px}}

html[data-theme=dark] .active-chip{background:var(--white);color:var(--ink);border-color:var(--line)}html[data-theme=dark] .num{color:var(--muted)}html[data-theme=dark] .hero-note{color:#1c2228}
