#collections{margin:25px 0;padding:24px;border:1px solid var(--line);border-radius:14px;background:#edf0e5}.collection-intro{display:flex;justify-content:space-between;align-items:center;gap:15px}.collection-intro h3{font:600 21px Manrope,sans-serif;margin:0}.collection-intro p{font-size:13px;color:var(--muted);line-height:1.7}.collection-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.collection-tabs .chip{margin:0;max-width:100%;overflow-wrap:anywhere;text-align:left}.collection-note{display:flex;flex-wrap:wrap;align-items:center;gap:18px;border-top:1px solid #d3d9ca;padding-top:18px}.collection-note>div{flex:1;min-width:150px}.collection-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.collection-add{margin-top:12px;background:none;border:0;text-decoration:underline;text-underline-offset:4px;font-size:11px;padding:8px 0}.collection-tabs small{opacity:.6;margin-left:5px}#collectionDialog,#backupDialog{max-height:90dvh;overflow:auto}#collectionDialog h2,#backupDialog h2{font-size:24px;overflow-wrap:anywhere}#collectionDialog .field{margin:22px 0}#collectionDialog input,#collectionDialog textarea{width:100%}.collection-note strong{overflow-wrap:anywhere}#backupError{color:#a12d21}button:disabled{cursor:default;opacity:.55}@media(max-width:700px){.collection-intro{display:block}#collections{padding:18px}.collection-note .quiet{margin-left:0;max-width:none}.collection-intro h3{font-size:19px}header>#restoreBackup,header>#export{max-width:none;margin-left:0}.collection-tabs .chip{padding:10px 13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
#collectionDialog textarea:focus-visible,#backupDialog button:focus-visible{outline:3px solid #de642e;outline-offset:4px}.heart{min-width:44px;min-height:44px}.qty button{min-width:44px;min-height:44px}.collection-add{min-height:44px}.collection-tabs button{min-height:44px}

/* Shelf: saved colours first, organisation remains optional. */
#collections{padding:14px 18px;background:transparent;margin:20px 0} .shelf-organize>summary,.saved-simulation-examples>summary,#priceWatchShelf>summary,#sourceMonitor>summary{cursor:pointer;font-weight:600;padding:8px 0;min-height:40px;display:list-item} .shelf-organize[open]>.collection-intro{margin-top:18px}.saved-simulation-examples{margin:24px 0;padding:14px 18px;border:1px solid var(--line);border-radius:14px}.saved-simulation-examples>summary{color:var(--muted)}#priceWatchShelf:not([open]),#sourceMonitor:not([open]){padding:10px 18px;background:transparent}#priceWatchShelf[open]>summary,#sourceMonitor[open]>summary{margin-bottom:14px}

body[data-catalog-view="saved"]:has(#accountInvitation:not([hidden])) #syncStatus:has(#syncRoutineSummary){display:none!important}
