.bookshelf-dialog.svelte-1c8sjru{box-sizing:border-box;border:1px solid var(--modal-border);width:500px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);color:var(--modal-text);background:var(--modal-surface);box-shadow:var(--modal-shadow);border-radius:16px;margin:0;padding:20px;position:fixed;inset:50% auto auto 50%;overflow:auto;transform:translate(-50%,-50%)}.bookshelf-dialog.svelte-1c8sjru:focus,.bookshelf-dialog.svelte-1c8sjru:focus-visible{box-shadow:var(--modal-shadow);outline:none}.bookshelf-dialog.svelte-1c8sjru::backdrop{background:var(--modal-backdrop)}.bookshelf-dialog.svelte-1c8sjru h2:where(.svelte-1c8sjru){height:50px;color:var(--modal-title);place-items:center;margin:0;font-size:24px;font-weight:700;line-height:1.2;display:grid}.dialog-subtitle.svelte-1c8sjru{color:var(--modal-text);text-align:center;margin:0;font-size:16px;line-height:1.1}.sync-notice.svelte-1c8sjru{color:#287048;text-align:center;margin:6px 0 0;font-size:12px;line-height:1.2}.category-dialog.svelte-1c8sjru{height:auto;min-height:469px}.category-list.svelte-1c8sjru{flex-direction:column;gap:5px;display:flex}.category-row.svelte-1c8sjru{color:#4b483d;border-bottom:1px solid #0003;grid-template-columns:30px minmax(0,1fr) auto 30px 30px;align-items:center;gap:5px;min-height:41px;padding:5px 0;font-size:16px;display:grid}.category-row-all.svelte-1c8sjru{grid-template-columns:30px minmax(0,1fr) auto}.category-row.svelte-1c8sjru>img:where(.svelte-1c8sjru){width:30px;height:30px}.category-row.svelte-1c8sjru strong:where(.svelte-1c8sjru){color:#1c1b17;white-space:nowrap;font-size:14px;font-weight:500}.category-row.svelte-1c8sjru small:where(.svelte-1c8sjru){font-size:12px;font-weight:400}.icon-button.svelte-1c8sjru{cursor:pointer;background:0 0;border:0;place-items:center;width:30px;height:30px;padding:0;display:grid}.icon-button.svelte-1c8sjru img:where(.svelte-1c8sjru){width:30px;height:30px}.dialog-hint.svelte-1c8sjru{color:#44494b;align-items:center;gap:5px;min-height:30px;margin:10px 0 0;font-size:16px;line-height:1.1;display:flex}.dialog-hint.svelte-1c8sjru img:where(.svelte-1c8sjru){flex:0 0 30px;width:30px;height:30px}.dialog-actions.svelte-1c8sjru{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.stacked-actions.svelte-1c8sjru{grid-template-columns:1fr}.primary-action.svelte-1c8sjru,.secondary-action.svelte-1c8sjru,.primary-blue.svelte-1c8sjru{box-sizing:border-box;cursor:pointer;color:#1c1b17;height:38px;font:500 18px/1 var(--font-sans);letter-spacing:.4px;text-align:center;border-radius:8px;padding:8px 20px}.primary-action.svelte-1c8sjru{border:1px solid var(--modal-primary-border);background:var(--modal-primary)}.secondary-action.svelte-1c8sjru{background:#fffc;border:1px solid #a3aeae}.primary-blue.svelte-1c8sjru{color:#f9f9f9;background:#1c6d8b;border:1px solid #449bbc}.primary-action.svelte-1c8sjru:disabled,.primary-blue.svelte-1c8sjru:disabled{cursor:not-allowed;opacity:.5}.category-editor.svelte-1c8sjru{border:1px solid #1c1b17;border-radius:5px;margin-top:10px;padding:9px}.category-editor.svelte-1c8sjru input:where(.svelte-1c8sjru){box-sizing:border-box;color:#44494b;width:100%;height:56px;font:400 16px/1.1 var(--font-sans);background:#fff;border:1px solid #1c6d8b;border-radius:8px;padding:0 15px}.category-editor.svelte-1c8sjru>div:where(.svelte-1c8sjru){grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;display:grid}.category-limit.svelte-1c8sjru{color:#d92c04;text-align:center;margin:10px 0 0;font-size:14px}.delete-category-dialog.svelte-1c8sjru{height:297px}.delete-category-dialog.svelte-1c8sjru>p:where(.svelte-1c8sjru){color:#44494b;text-align:center;margin:30px 0 44px;font-size:18px;line-height:1.65}.delete-category-dialog.svelte-1c8sjru>p:where(.svelte-1c8sjru) strong:where(.svelte-1c8sjru){font-weight:500}.collection-dialog.svelte-1c8sjru{height:608px;overflow:hidden}.collection-dialog[open].svelte-1c8sjru{flex-direction:column;display:flex}.collection-description.svelte-1c8sjru{color:#44494b;text-align:center;margin:5px 0 10px;font-size:14px;line-height:1.4}.empty-category-message.svelte-1c8sjru{color:#8b5b00;text-align:center;margin:0 0 10px;font-size:13px;line-height:1.3}.collection-search.svelte-1c8sjru{background:#f2f2f2;border-radius:20px;align-items:center;gap:8px;height:32px;padding:0 10px;display:flex}.collection-search.svelte-1c8sjru>span:where(.svelte-1c8sjru){border:1px solid #44494b;border-radius:50%;flex:0 0 14px;width:14px;height:14px;position:relative}.collection-search.svelte-1c8sjru>span:where(.svelte-1c8sjru):after{content:"";border-top:1px solid #44494b;width:6px;position:absolute;bottom:-2px;right:-4px;transform:rotate(45deg)}.collection-search.svelte-1c8sjru input:where(.svelte-1c8sjru){color:#44494b;width:100%;font:400 14px/1 var(--font-sans);background:0 0;border:0;outline:0}.collection-results.svelte-1c8sjru{flex:auto;grid-template-rows:32px minmax(0,1fr);min-height:0;display:grid}.collection-list.svelte-1c8sjru{grid-area:2/1;min-height:0;overflow:auto}.empty-collection-message.svelte-1c8sjru{color:#69655c;grid-area:2/1;place-items:center;min-height:0;margin:0;font-size:13px;display:grid}.collection-item.svelte-1c8sjru{color:#4b483d;border-bottom:1px solid #0003;align-items:center;gap:10px;min-height:66px;padding:0 0 5px;display:flex}.collection-item.svelte-1c8sjru+.collection-item:where(.svelte-1c8sjru){margin-top:10px}.collection-cover.svelte-1c8sjru{box-sizing:border-box;object-fit:cover;border-left:4px solid #4b483d;flex:0 0 60px;width:60px;height:60px}.collection-item-copy.svelte-1c8sjru{flex:auto;min-width:0}.collection-item.svelte-1c8sjru h3:where(.svelte-1c8sjru){text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px;font-size:16px;font-weight:500;line-height:1.2;overflow:hidden}.tag-control.svelte-1c8sjru{grid-template-columns:minmax(0,1fr);align-items:start;min-width:0;display:grid}.tag-control.has-overflow.svelte-1c8sjru{grid-template-columns:minmax(0,1fr) 24px;gap:10px}.tag-list.svelte-1c8sjru{flex-wrap:wrap;align-items:center;gap:5px 10px;min-width:0;display:flex;overflow:hidden}.tag-list.collapsed.svelte-1c8sjru{height:var(--tag-first-row-height,18px)}.tag-chip.svelte-1c8sjru{cursor:pointer;color:#3875fa;min-height:18px;font:500 12px/1 var(--font-sans);white-space:nowrap;background:#f9f9f9;border:1px solid #f9f9f9;border-radius:5px;padding:2px 3px}.tag-chip.active.svelte-1c8sjru{color:#f9f9f9;background:#3875fa;border-color:#3875fa}.tag-chip.svelte-1c8sjru:focus-visible,.tag-toggle.svelte-1c8sjru:focus-visible{outline-offset:2px;outline:2px solid #3875fa}.tag-toggle.svelte-1c8sjru{cursor:pointer;background:0 0;border:0;place-items:center;width:24px;height:24px;padding:0;display:grid}.tag-toggle.svelte-1c8sjru img:where(.svelte-1c8sjru){width:24px;height:24px;transition:transform .18s;display:block}.tag-toggle[aria-expanded=true].svelte-1c8sjru img:where(.svelte-1c8sjru){transform:rotate(90deg)}:root[data-theme=night] .bookshelf-dialog.svelte-1c8sjru{color:var(--modal-text);border-color:var(--modal-border);background:var(--modal-surface)}:root[data-theme=night] .bookshelf-dialog.svelte-1c8sjru h2:where(.svelte-1c8sjru),:root[data-theme=night] .category-row.svelte-1c8sjru strong:where(.svelte-1c8sjru){color:var(--modal-title)}:root[data-theme=night] .category-row.svelte-1c8sjru,:root[data-theme=night] .collection-item.svelte-1c8sjru,:root[data-theme=night] .dialog-subtitle.svelte-1c8sjru,:root[data-theme=night] .dialog-hint.svelte-1c8sjru,:root[data-theme=night] .collection-description.svelte-1c8sjru{color:var(--modal-text)}:root[data-theme=night] .sync-notice.svelte-1c8sjru{color:#8be3b0}:root[data-theme=night] .empty-category-message.svelte-1c8sjru{color:#ffd37a}:root[data-theme=night] .tag-chip.svelte-1c8sjru:not(.active){color:#8eb0ff;background:#443d3a;border-color:#443d3a}@media (width<=560px){.bookshelf-dialog.svelte-1c8sjru{padding:16px;inset:50% auto auto 50%}.collection-dialog.svelte-1c8sjru{height:min(608px,100vh - 24px)}.dialog-hint.svelte-1c8sjru{align-items:flex-start;font-size:14px}.delete-category-dialog.svelte-1c8sjru>p:where(.svelte-1c8sjru){font-size:16px}}
