:root{--z-toolbar:40;--z-popover:80;--z-modal:100;--z-toast:110;--z-confirm:120;--z-tour:140;color:#182433;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#eef6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 15% 8%,#fffffff2,#0000 23rem),radial-gradient(circle at 88% 12%,#6fc4d25c,#0000 21rem),linear-gradient(135deg,#f7fbff 0%,#e9f5f2 46%,#f6eef5 100%);min-width:320px;min-height:100dvh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button,input,select{color:inherit}input,select{border:0;outline:0}.app-shell{width:min(1680px,100% - clamp(28px,4vw,72px));margin:0 auto;padding:16px 0 40px}.menu-dismiss-backdrop,.filter-dismiss-backdrop,.dropdown-dismiss-backdrop,.book-menu-dismiss-backdrop{touch-action:none;background:0 0;position:fixed;inset:0}.menu-dismiss-backdrop{z-index:calc(var(--z-popover) - 1)}.filter-dismiss-backdrop,.dropdown-dismiss-backdrop{z-index:calc(var(--z-toolbar) - 1)}.book-menu-dismiss-backdrop{z-index:19}.glass{-webkit-backdrop-filter:blur(24px)saturate(1.45);backdrop-filter:blur(24px)saturate(1.45);background:#ffffff6b;border:1px solid #ffffffb8;box-shadow:0 20px 60px #26455624,inset 0 1px #ffffffdb}.topbar{z-index:20;padding:calc(10px + env(safe-area-inset-top)) clamp(14px, 2vw, 24px) 14px;-webkit-backdrop-filter:blur(22px)saturate(1.25);backdrop-filter:blur(22px)saturate(1.25);background:#eef6f8e0;border-bottom:1px solid #ffffffa3;justify-content:space-between;align-items:center;gap:12px;margin:0 calc(-1*clamp(14px,2vw,24px));display:flex;position:sticky;top:0;box-shadow:0 14px 36px #213d4a1a}.brand-button,.add-button,.profile-button,.icon-button,.filter-menu-button,.view-switcher button,.select-mode-button,.export-button,.menu-trigger,.category-manager button{border:0;border-radius:8px;place-items:center;display:inline-grid}.brand-button{color:#132838;text-align:left;background:0 0;gap:9px;min-height:44px;font-size:1.05rem;font-weight:900;display:flex}.app-logo{filter:drop-shadow(0 8px 16px #18324129);border-radius:10px;flex:none;width:34px;height:34px;display:inline-grid;position:relative}.app-logo img{object-fit:contain;width:100%;height:100%}.auth-brand{align-items:center;gap:9px;display:inline-flex}.top-actions{align-items:center;gap:9px;display:flex;position:relative}.account-menu{top:var(--account-menu-top,64px);left:var(--account-menu-left,12px);z-index:var(--z-popover);-webkit-backdrop-filter:blur(18px)saturate(1.08);backdrop-filter:blur(18px)saturate(1.08);background:#f8fcfdfa;border:1px solid #13283824;border-radius:8px;gap:12px;width:min(360px,100vw - 20px);padding:12px;display:grid;position:fixed;right:auto;box-shadow:0 22px 54px #182d3a3d}.account-menu-profile{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;padding:4px 4px 12px;display:grid}.account-menu-profile .avatar.large{width:58px;height:58px;margin:0}.account-menu-profile div{gap:3px;min-width:0;display:grid}.account-menu-profile strong,.account-menu-profile span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-menu-profile strong{color:#132838;font-size:1rem}.account-menu-profile span,.account-menu-row small{color:#60737b;font-size:.76rem;font-weight:800}.account-menu-profile button,.account-back-row,.account-menu-row,.appearance-icon-grid button{border:0;border-radius:8px}.account-menu-profile button{color:#1f6f8a;text-align:left;background:0 0;width:fit-content;padding:0;font-size:.8rem;font-weight:900}.account-menu-section{gap:5px;display:grid}.account-menu-section+.danger-section{border-top:1px solid #1328381a;padding-top:10px}.account-menu-row,.account-back-row{color:#1b3340;text-align:left;background:0 0;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 9px;font-weight:900;display:flex}.account-menu-row:hover,.account-back-row:hover{background:#13283814}.account-menu-row>span{flex:1;align-items:center;gap:8px;min-width:0;display:inline-flex}.account-menu-row>small{flex:none}.account-menu-row.danger{color:#9f2430}.account-back-row{justify-content:flex-start}.account-back-row svg{transform:rotate(180deg)}.appearance-icon-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.appearance-icon-grid button{color:#395560;background:#fff9;place-items:center;min-height:44px;display:grid}.appearance-icon-grid button.selected{color:#fff;background:#132838}.theme-block{color:#385360;align-items:center;gap:7px;font-size:.72rem;font-weight:900;display:inline-flex}.theme-switcher{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff80;border:1px solid #ffffffa3;border-radius:8px;gap:4px;padding:4px;display:flex}.theme-switcher button{color:#395560;background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;min-height:34px;padding:0 9px;font-size:.78rem;font-weight:900;display:inline-flex}.theme-switcher button.active{color:#fff;background:#132838}.bookshelf-dropdown{min-width:0;position:relative}.dropdown-trigger{color:#243d49;background:#ffffff9e;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 10px;font-weight:900;display:inline-flex}.bookshelf-dropdown.compact .dropdown-trigger{min-width:60px}.dropdown-popover{z-index:var(--z-popover);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#f8fcfdfa;border:1px solid #ffffffb8;border-radius:8px;gap:3px;min-width:170px;padding:6px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 18px 38px #182d3a38}.dropdown-popover button{color:#1b3340;text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;min-height:36px;padding:0 9px;font-weight:850;display:flex}.dropdown-popover button:hover,.dropdown-popover button.active{background:#13283814}.app-language-switcher{width:82px}.add-button{color:#fff;background:#132838;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 14px;font-weight:900;display:flex}.profile-button{background:#ffffff9e;width:44px;height:44px}.avatar{color:#244c82;background:#e8f0ff;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:900;display:grid;position:relative;overflow:hidden}.avatar img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.default-avatar svg{width:100%;height:100%;display:block}.avatar.large{width:88px;height:88px;margin-bottom:8px}.setup-banner,.auth-card{border-radius:8px;margin-top:14px}.setup-banner{color:#6b4d00;background:#fff1c8;padding:14px 16px;font-weight:800}.auth-welcome{grid-template-columns:minmax(280px,.9fr) minmax(320px,460px);align-items:center;gap:24px;min-height:calc(100vh - 92px);display:grid}.auth-copy span{color:#46707a;text-transform:uppercase;font-size:.78rem;font-weight:900}.auth-copy h1{color:#102331;letter-spacing:0;max-width:640px;margin:8px 0 12px;font-size:clamp(2.5rem,7vw,5.8rem);line-height:.92}.auth-copy p{color:#60737b;max-width:520px;font-size:1.05rem;line-height:1.55}.auth-card{padding:14px}.auth-tabs{background:#ffffff8f;border-radius:8px;grid-template-columns:1fr 1fr;gap:6px;padding:5px;display:grid}.auth-tabs button{color:#395560;background:0 0;border:0;border-radius:7px;min-height:40px;font-weight:900}.auth-tabs button.active{color:#fff;background:#132838}.auth-stack{gap:10px;margin-top:12px;display:grid}.auth-field{color:#3d5965;gap:6px;font-size:.82rem;font-weight:900;display:grid}.sign-in-panel h1,.modal-header h2,.book-info h2{letter-spacing:0}.sign-in-panel h1{margin:0 0 7px;font-size:1.55rem;line-height:1.1}.sign-in-panel p,.profile-card p,.muted{color:#60737b}.auth-form{grid-template-columns:20px 1fr 1fr auto auto;align-items:center;gap:8px;display:grid}.auth-form input,.auth-stack input,.search-filter input,.category-form input,.search-box input,.edit-panel input,.profile-modal input,.full-input{color:#152838;background:#ffffffb8;border-radius:8px;width:100%;padding:12px 14px}.auth-form button,.auth-stack button,.category-form button,.primary-button,.secondary-button,.ghost-button{color:#fff;background:#132838;border:0;border-radius:8px;font-weight:900}.auth-form button{min-height:42px;padding:0 12px}.profile-uploader,.file-picker{color:#385360;text-align:center;background:#ffffff80;border-radius:8px;justify-items:center;gap:8px;padding:14px;font-weight:900;display:grid;position:relative}.profile-uploader span,.file-picker{justify-content:center;align-items:center;gap:7px;display:flex}.profile-uploader input,.file-picker input{opacity:0;cursor:pointer;position:absolute;inset:0}.toolbar{top:env(safe-area-inset-top);z-index:var(--z-toolbar);-webkit-backdrop-filter:blur(18px)saturate(1.12);backdrop-filter:blur(18px)saturate(1.12);background:#f6fbfcf5;border:1px solid #ffffffb8;border-radius:8px;grid-template-columns:auto minmax(220px,1fr) minmax(160px,210px) auto auto auto auto;align-items:center;gap:10px;margin:10px 0 12px;padding:10px;display:grid;position:sticky;overflow:visible;box-shadow:0 14px 36px #213d4a29}.filter-popover-root,.account-popover-root{align-items:center;min-width:0;display:flex;position:relative}.filter-menu-button{color:#243d49;background:#ffffff9e;width:44px;min-height:44px}.filter-menu-button.active{color:#fff;background:#132838}.search-filter,.search-box,.category-form,.sort-control{border-radius:8px;align-items:center;gap:9px;min-height:44px;display:flex}.search-filter,.search-box{background:#ffffff9e;padding:0 12px}.search-filter input,.search-box input,.category-form input{background:0 0;flex:1;min-width:0}.sort-control{background:#ffffff9e;padding:0}.toolbar-add-button{white-space:nowrap}.toolbar-sort-wrapper{min-width:0}.sort-control .sort-leading-icon,.sort-control .sort-chevron{pointer-events:none;position:absolute}.sort-control .sort-leading-icon{left:10px}.sort-control .sort-chevron{right:11px}.view-switcher{background:#ffffff8c;border-radius:8px;gap:5px;padding:5px;display:flex}.view-switcher button{color:#395560;background:0 0;width:34px;height:34px}.view-switcher button.active{color:#fff;background:#132838}.select-mode-button{color:#183341;background:#ffffffb8;border:1px solid #13283829;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 14px;font-weight:900;display:inline-flex;box-shadow:inset 0 1px #ffffffb8}.select-mode-button svg{stroke-width:2.7px}.select-mode-button.active{color:#fff;background:#132838;border-color:#132838b3}.sort-control .dropdown-trigger{background:0 0}.export-button{color:#183341;background:#ffffffb8;border:1px solid #13283829;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 14px;font-weight:900;display:inline-flex;box-shadow:inset 0 1px #ffffffb8}.export-button svg{stroke-width:2.5px}.bulk-bar{z-index:16;border-radius:8px;gap:9px;margin:0 0 12px;padding:10px;display:grid;position:sticky;top:68px}.bulk-bar strong{color:#132838}.bulk-progress{color:#60737b;font-size:.84rem;font-weight:850}.bulk-actions{flex-wrap:wrap;gap:7px;display:flex}.bulk-actions button{color:#243d49;background:#ffffffad;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 10px;font-size:.84rem;font-weight:900;display:inline-flex}.bulk-actions button:disabled{cursor:default;opacity:.48}.bulk-actions .danger{color:#8f2630;background:#8e26301f}.tabs{z-index:var(--z-popover);-webkit-backdrop-filter:blur(18px)saturate(1.08);backdrop-filter:blur(18px)saturate(1.08);background:#f8fcfdfa;border:1px solid #13283824;border-radius:8px;flex-direction:column;gap:5px;width:min(230px,100vw - 20px);max-height:min(70vh,420px);padding:8px;display:none;position:absolute;top:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 20px 48px #182d3a3d}.mobile-tour-target{border-radius:8px;min-width:0}.tabs.open{display:flex}.tabs::-webkit-scrollbar{display:none}.tabs button{color:#395560;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;width:100%;min-width:0;min-height:38px;padding:0 13px;font-weight:850;display:inline-flex}.tabs button.active{color:#fff;background:#132838}.tabs button svg,.bulk-actions button svg,.badge svg,.status-row button svg,.read-row button svg{flex:none}.category-tools{align-items:flex-start;gap:10px;margin-bottom:14px;display:flex}.category-form{min-width:min(390px,100%);padding:0 10px}.category-form button{min-height:34px;padding:0 11px}.category-manager{flex-wrap:wrap;gap:8px;display:flex}.category-manager span{color:#385360;background:#ffffff80;border-radius:8px;align-items:center;gap:4px;min-height:34px;padding:0 6px 0 10px;font-size:.84rem;font-weight:850;display:flex}.category-manager button{color:#132838;background:#1328381f;width:26px;height:26px}.library-view{gap:12px;display:grid;overflow:visible}.library-view.medium{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.library-view.cover{grid-template-columns:repeat(auto-fill,minmax(180px,220px));justify-content:center;align-items:start;gap:16px}.library-view.list{grid-template-columns:1fr;gap:6px}.book-card{cursor:pointer;border-radius:8px;position:relative;overflow:visible}.book-card.selected{box-shadow:0 20px 60px #26455624,inset 0 0 0 2px #13283885}.book-card:has(.menu-popover){z-index:20}.book-card.medium,.book-card.list{gap:13px;padding:12px;display:grid}.book-card.medium{grid-template-columns:88px 1fr;align-items:start;min-height:166px}.book-card.list{grid-template-columns:minmax(0,1fr);align-items:center;min-height:48px;padding:7px 48px 7px 12px}.book-card.list .book-cover-wrap{display:none}.book-card.cover{background:#ffffff40;grid-template-rows:auto minmax(108px,auto);gap:10px;width:100%;padding:46px 12px 14px;display:grid;box-shadow:0 18px 45px #1f3a482e}.book-cover-wrap{min-width:0;position:relative}.book-cover{aspect-ratio:2/3;background:linear-gradient(135deg,#ffffffd1,#e0eef2b8);border-radius:6px;place-items:center;width:52px;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 24px #1f3a482e}.book-cover img{object-fit:contain;object-position:center;width:100%;height:100%}.book-cover.large{border-radius:8px;width:88px}.book-card.cover .book-cover.large{aspect-ratio:2/3;border-radius:8px;width:100%;height:auto}.placeholder{color:#557887}.book-info{min-width:0;padding-right:32px}.book-card.medium .book-info{min-height:130px}.book-card.list .book-info{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding-right:0;display:grid}.list-title-line{align-items:baseline;gap:5px;min-width:0;display:flex}.book-info h2{color:#142838;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 4px;font-size:1rem;line-height:1.16;display:-webkit-box;overflow:hidden}.book-card.list .book-info h2{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;margin-bottom:0;font-size:1rem;font-weight:900;line-height:1.18;display:block;overflow:hidden}.book-card.list .list-author{color:#60737b;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:650;line-height:1.18;overflow:hidden}.book-card.list .badges{flex-wrap:nowrap;gap:4px;margin-top:0}.book-card.list .badge{border-radius:5px;padding:3px 6px;font-size:.58rem;line-height:1}.book-card.list .badge svg{width:9px;height:9px}.book-info p{color:#60737b;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.book-card.cover .book-info{min-height:108px;padding-right:0}.book-card.cover .book-info h2{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-bottom:5px;font-size:.98rem;font-weight:900;line-height:1.18;display:-webkit-box;overflow:hidden}.book-card.cover .book-info p{color:#60737b;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;line-height:1.25;overflow:hidden}.badges{flex-wrap:wrap;gap:5px;margin-top:9px;display:flex}.badge{text-overflow:ellipsis;white-space:nowrap;border-radius:6px;align-items:center;gap:4px;max-width:100%;padding:5px 7px;font-size:.68rem;font-weight:900;display:inline-flex;overflow:hidden}.borrowed{color:#6b4d00;background:#fff1c8}.lent{color:#0b6150;background:#e2f8f1}.read{color:#075c38;background:#d9fbe8}.unread{color:#8b1d1d;background:#ffe1e1}.tag{color:#244c82;background:#e8f0ff}.book-menu{z-index:20;position:absolute;top:8px;right:8px}.select-book-button{z-index:21;color:#132838;background:#ffffffe6;border:0;border-radius:10px;place-items:center;width:38px;height:38px;display:inline-grid;position:absolute;top:8px;left:8px;box-shadow:0 8px 20px #192c3829}.menu-trigger{color:#132838;background:#fffc;width:34px;height:34px;box-shadow:0 8px 20px #192c3829}.menu-trigger:disabled{cursor:default;opacity:.42}.menu-popover{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);z-index:30;background:#ffffffeb;border:1px solid #ffffffb8;border-radius:8px;gap:2px;min-width:168px;max-width:calc(100vw - 24px);padding:6px;display:grid;position:absolute;top:38px;right:0;box-shadow:0 18px 38px #182d3a38}.menu-popover button{color:#1b3340;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;min-height:36px;padding:0 9px;display:flex}.menu-popover button:hover{background:#13283814}.menu-popover .danger{color:#8f2630}.empty-state{color:#54717d;border:1px dashed #375e6e47;border-radius:8px;place-items:center;min-height:260px;display:grid}.modal-backdrop{z-index:var(--z-modal);background:#11212b52;place-items:center;padding:18px;display:grid;position:fixed;inset:0;overflow:hidden auto}.book-modal,.profile-modal{border-radius:8px;width:min(920px,100%);max-height:min(760px,100vh - 36px);padding:16px;overflow:hidden auto}.profile-modal{width:min(440px,100%)}.modal-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.modal-header span{color:#46707a;text-transform:uppercase;font-size:.76rem;font-weight:900}.modal-header h2{margin:3px 0 0;font-size:1.35rem}.icon-button{color:#fff;background:#132838;width:38px;height:38px}.icon-button.soft{color:#132838;background:#1328381f}.modal-layout{grid-template-columns:minmax(260px,1fr) minmax(300px,360px);align-items:start;gap:14px;min-width:0;display:grid}.results-panel{gap:8px;min-width:0;max-width:100%;margin-top:10px;display:grid;overflow-x:hidden}.book-search-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;max-width:100%;display:grid}.search-language-control{color:#243d49;background:#ffffff9e;border-radius:8px;min-height:44px;padding:0;font-weight:900;display:block}.search-language-control .dropdown-trigger{background:0 0;min-height:44px;font-size:.84rem}.search-language-control .dropdown-popover{min-width:132px;right:0}.search-quality-line{color:#52646c;flex-wrap:wrap;gap:6px;font-size:.72rem;font-weight:800;display:flex}.search-quality-line button,.show-more-editions{background:#ffffff80;border:1px solid #1328381f;border-radius:999px;padding:5px 8px}.search-quality-line button{color:inherit;cursor:pointer;font:inherit}.search-quality-line button.active{color:#132838;background:#1328381f;border-color:#13283847}.show-more-editions{color:#17364b;cursor:pointer;min-height:38px;font-weight:900}.show-more-editions:disabled{cursor:progress;opacity:.72}.selected-result-note{color:#075c38;text-align:left;background:#d9fbe8b8;border:0;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-width:0;max-width:100%;min-height:48px;margin-top:10px;padding:9px 10px;animation:1.5s forwards selected-note-soft-out;display:grid}@keyframes selected-note-soft-out{0%,72%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-3px)}}.selected-result-note span,.selected-result-note strong,.selected-result-note small{min-width:0}.selected-result-note strong,.selected-result-note small{display:block}.selected-result-note small{overflow-wrap:anywhere;color:#326f50;white-space:normal;font-weight:760}.result-row{color:#13202e;text-align:left;background:#ffffff8f;border:0;border-radius:8px;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-width:0;max-width:100%;padding:8px;display:grid}.result-row.selected{background:#f9ffff;box-shadow:inset 0 0 0 1px #13283838}.result-row strong,.result-row small{overflow-wrap:anywhere;min-width:0;display:block}.result-row strong{white-space:normal}.result-row small{color:#60737b;white-space:normal;line-height:1.35}.edit-panel{gap:10px;min-width:0;display:grid}.selected-book-editor{grid-template-columns:128px minmax(0,1fr);align-items:start;gap:12px;min-width:0;display:grid}.selected-book-editor>.book-cover.large,.editable-cover>.book-cover.large{width:128px}.editable-cover{width:128px;min-width:0;position:relative}.cover-overlay-actions{opacity:0;gap:6px;transition:opacity .16s,transform .16s;display:flex;position:absolute;inset:8px 8px auto auto;transform:translateY(-2px)}.editable-cover:hover .cover-overlay-actions,.editable-cover:focus-within .cover-overlay-actions{opacity:1;transform:translateY(0)}.cover-overlay-button{color:#183341;cursor:pointer;background:#f8fcfdeb;border:1px solid #1328382e;border-radius:999px;place-items:center;width:34px;height:34px;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 26px #0f222e2e}.cover-overlay-button.danger{color:#9f2430}.cover-overlay-button input{opacity:0;cursor:pointer;position:absolute;inset:0}@media (hover:none),(pointer:coarse){.cover-overlay-actions{opacity:1;transform:translateY(0)}}.selected-book-fields,.metadata-grid,.cover-url-field,.cover-picker{gap:10px;min-width:0;display:grid}.metadata-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-upload-picker{color:#183341;cursor:pointer;background:#ffffffa3;border:1px solid #13283824;border-radius:8px;min-height:40px;padding:0 12px;font-size:.86rem;font-weight:900;position:relative}.cover-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.remove-cover-button,.custom-cover-button{width:fit-content;min-height:40px}.custom-cover-button[aria-expanded=true] svg{transform:rotate(180deg)}.desktop-selected-preview{background:#ffffff52;border:1px solid #ffffff8a;border-radius:8px;align-items:start;gap:12px;margin-top:12px;padding:12px;display:none}.desktop-selected-preview .book-cover.large{width:110px}.desktop-selected-preview div{min-width:0}.desktop-selected-preview h3,.desktop-selected-preview p{margin:0}.desktop-selected-preview h3{color:#132838;font-size:1.02rem;line-height:1.2}.desktop-selected-preview p{color:#60737b;margin-top:4px;font-weight:750}.metadata-grid input,.metadata-grid select,.profile-modal select{min-width:0}.advanced-toggle{color:#385360;cursor:pointer;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:6px;width:fit-content;padding:2px 0;font-size:.82rem;font-weight:900;display:inline-flex}.advanced-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.edit-panel label,.profile-modal label{color:#3d5965;gap:7px;font-size:.82rem;font-weight:900;display:grid}.label-with-icon{align-items:center;gap:5px;display:inline-flex}.cover-strip{overscroll-behavior-x:contain;gap:8px;max-width:100%;padding:2px 0 4px;display:flex;overflow:auto hidden}.cover-strip button{background:0 0;border:2px solid #0000;border-radius:8px;flex:none;padding:0}.cover-strip .book-cover{width:66px}.cover-strip button.selected{border-color:#132838;box-shadow:0 0 0 2px #8cd2e18a}@media (min-width:981px){.desktop-selected-preview{grid-template-columns:110px minmax(0,1fr);display:grid}}.cover-picker>span{color:#385360;font-size:.82rem;font-weight:900}.status-row,.read-row,.category-picker{flex-wrap:wrap;gap:8px;display:flex}.status-row button,.read-row button,.category-picker label{color:#405965;background:#ffffff94;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:0 12px;font-size:.88rem;font-weight:900;display:flex}.status-row button,.read-row button{pointer-events:auto;border:0}.category-picker input{opacity:0;position:absolute}.status-row .selected,.read-row .selected,.category-picker .selected{color:#102331;background:#f9ffff;box-shadow:inset 0 0 0 1px #366b802e}.read-row .read-choice.selected{color:#075c38;background:#d9fbe8}.read-row .unread-choice.selected{color:#8b1d1d;background:#ffe1e1}.tag-editor{background:#ffffffb8;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;width:100%;min-height:46px;padding:7px;display:flex}.tag-editor input{background:0 0;border-radius:0;flex:1;min-width:110px;padding:6px}.tag-chip{color:#244c82;background:#e8f0ff;border-radius:999px;align-items:center;gap:5px;max-width:100%;min-height:30px;padding:4px 5px 4px 10px;font-size:.82rem;font-weight:900;display:inline-flex}.tag-chip button{color:#244c82;background:#244c821f;border:0;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:inline-grid}.primary-button,.secondary-button{justify-content:center;align-items:center;gap:8px;min-height:48px;display:flex}.secondary-button{background:#284754b8}.secondary-button:disabled,.primary-button:disabled{cursor:default;opacity:.52}.ghost-button{color:#132838;background:#1328381a;min-height:40px}.danger-button{color:#8f2630;background:#8e26301f;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 12px;font-weight:900;display:inline-flex}.profile-card{text-align:center;background:#ffffff7a;border-radius:8px;justify-items:center;margin-bottom:12px;padding:18px;display:grid}.profile-edit-section{gap:10px;display:grid}.avatar-picker{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.avatar-picker button{background:#ffffff75;border:1px solid #0000;border-radius:8px;place-items:center;min-height:54px;padding:8px;display:grid}.avatar-picker button.selected{background:#f9ffff;border-color:#1328385c;box-shadow:inset 0 0 0 1px #1328382e}.profile-danger-section{border-top:1px solid #1328381f;margin-top:16px;padding-top:16px;display:grid}.profile-sync-note{color:#60737b;margin:-2px 0 0;font-size:.78rem;line-height:1.35}.profile-error{color:#a93247;margin:-2px 0 0;font-size:.78rem;font-weight:800;line-height:1.35}.profile-server-state{color:#60737b;margin:-2px 0 0;font-size:.78rem;font-weight:800;line-height:1.35}.profile-server-state.saved{color:#247653}.profile-server-state.failed{color:#a93247}.confirm-backdrop{z-index:var(--z-confirm);background:#11212b61;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.confirm-dialog{gap:14px;width:min(100%,360px);padding:18px;display:grid}.update-splash{gap:14px;width:min(100%,520px);padding:24px;display:grid}.update-splash>span{color:#46707a;text-transform:uppercase;font-size:.78rem;font-weight:800}.update-splash h2,.update-splash p{margin:0}.update-splash h2{color:#132838;font-size:1.45rem}.update-splash p,.update-splash li{color:#425e69;line-height:1.45}.update-splash ul{gap:7px;margin:0;padding-left:20px;display:grid}.email-change-dialog{gap:18px;width:min(100%,440px);padding:22px}.email-change-dialog .auth-field{gap:9px}.email-change-dialog input{min-height:48px;padding:13px 15px}.email-change-dialog .confirm-actions button{min-height:44px}.tour-layer{z-index:var(--z-tour);pointer-events:auto;touch-action:none;position:fixed;inset:0}.tour-dim{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0c17206b;position:absolute;inset:0}.tour-spotlight{pointer-events:none;border:2px solid #ace8f4f5;border-radius:12px;position:absolute;box-shadow:0 0 0 9999px #0c172075,0 14px 40px #00000042}.tour-target-clone{z-index:calc(var(--z-tour) + 1);pointer-events:none;filter:none;position:fixed;overflow:visible}.tour-target-clone *{pointer-events:none!important}.tour-card{z-index:calc(var(--z-tour) + 2);pointer-events:auto;border-radius:8px;gap:10px;width:min(390px,100vw - 24px);max-width:calc(100vw - 24px);padding:16px;display:grid;position:fixed}.tour-card>span{color:#60737b;font-size:.75rem;font-weight:900}.tour-card h3,.tour-card p{margin:0}.tour-card h3{color:#132838;font-size:1.05rem}.tour-card p{color:#425e69;line-height:1.45}.tour-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.lending-dialog{width:min(100%,420px)}.lending-dialog .auth-field{gap:8px;font-size:.84rem}.lending-dialog .auth-field input{color:#152838;background:#ffffffb8;border-radius:8px;width:100%;min-height:44px;padding:12px 14px}.confirm-dialog h3{color:#132838;margin:0;font-size:1.05rem}.confirm-message{color:#60737b;margin:0;font-size:.9rem;line-height:1.4}.confirm-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.confirm-actions .ghost-button:last-child:nth-child(3){grid-column:1/-1}.mobile-menu-label,.mobile-menu-controls{display:none}.notice{z-index:var(--z-toast);color:#fff;background:#132838f0;border:0;border-radius:8px;max-width:min(360px,100vw - 36px);padding:13px 16px;position:fixed;bottom:18px;right:18px;box-shadow:0 18px 42px #142c3d42}.notice.success,.notice.info{background:#132838f0}.notice.warning{background:#6f4d00f5}.notice.error{background:#8f2630f5}[data-resolved-theme=dark]{color:#edf3f4;background:#171b1f}[data-resolved-theme=dark] body{background:radial-gradient(circle at 14% 8%,#71828938,#0000 22rem),radial-gradient(circle at 88% 10%,#52778033,#0000 22rem),linear-gradient(135deg,#171b1f 0%,#20262b 52%,#181d22 100%)}[data-resolved-theme=dark] .glass{background:#252c32a8;border-color:#ebf6f824;box-shadow:0 22px 62px #00000057,inset 0 1px #ffffff14}[data-resolved-theme=dark] .topbar{background:#171b1fe6;border-bottom-color:#ebf6f81f;box-shadow:0 14px 36px #0000003d}[data-resolved-theme=dark] .toolbar{background:#1e242af5;border-color:#ebf6f81f;box-shadow:0 16px 42px #00000057}[data-resolved-theme=dark] .dropdown-trigger,[data-resolved-theme=dark] .cover-upload-picker,[data-resolved-theme=dark] .appearance-icon-grid button,[data-resolved-theme=dark] .desktop-selected-preview{color:#edf3f4;background:#ffffff14;border-color:#ebf6f81a}[data-resolved-theme=dark] .dropdown-popover{background:#232a30fa;border-color:#ebf6f824;box-shadow:0 18px 38px #00000061}[data-resolved-theme=dark] .account-menu{background:#232a30fa;border-color:#ebf6f824;box-shadow:0 22px 54px #0000006b}[data-resolved-theme=dark] .cover-overlay-button{color:#edf3f4;background:#232a30eb;border-color:#ebf6f829}[data-resolved-theme=dark] .cover-overlay-button.danger{color:#ffb5bd}[data-resolved-theme=dark] .dropdown-popover button{color:#edf3f4}[data-resolved-theme=dark] .dropdown-popover button:hover,[data-resolved-theme=dark] .dropdown-popover button.active,[data-resolved-theme=dark] .account-menu-row:hover,[data-resolved-theme=dark] .account-back-row:hover{background:#ffffff14}[data-resolved-theme=dark] .account-menu-profile strong,[data-resolved-theme=dark] .account-menu-row,[data-resolved-theme=dark] .account-back-row,[data-resolved-theme=dark] .desktop-selected-preview h3{color:#edf3f4}[data-resolved-theme=dark] .account-menu-profile span,[data-resolved-theme=dark] .account-menu-row small,[data-resolved-theme=dark] .desktop-selected-preview p{color:#a8b7bc}[data-resolved-theme=dark] .account-menu-profile button{color:#8dd8ea}[data-resolved-theme=dark] .account-menu-section+.danger-section{border-top-color:#ebf6f81f}[data-resolved-theme=dark] .account-menu-row.danger{color:#ffb5bd}[data-resolved-theme=dark] .appearance-icon-grid button.selected{color:#142027;background:#cddce0}[data-resolved-theme=dark] .tour-card h3,[data-resolved-theme=dark] .update-splash h2{color:#edf3f4}[data-resolved-theme=dark] .tour-card p,[data-resolved-theme=dark] .tour-card>span,[data-resolved-theme=dark] .update-splash p,[data-resolved-theme=dark] .update-splash li,[data-resolved-theme=dark] .update-splash>span{color:#c6d2d6}[data-resolved-theme=dark] .brand-button,[data-resolved-theme=dark] .book-info h2,[data-resolved-theme=dark] .modal-header h2,[data-resolved-theme=dark] .bulk-bar strong,[data-resolved-theme=dark] .confirm-dialog h3,[data-resolved-theme=dark] .auth-copy h1{color:#f2f6f7}[data-resolved-theme=dark] .auth-copy span,[data-resolved-theme=dark] .modal-header span{color:#a7c5cc}[data-resolved-theme=dark] .auth-copy p,[data-resolved-theme=dark] .sign-in-panel p,[data-resolved-theme=dark] .profile-card p,[data-resolved-theme=dark] .confirm-message,[data-resolved-theme=dark] .profile-sync-note,[data-resolved-theme=dark] .muted,[data-resolved-theme=dark] .book-info p,[data-resolved-theme=dark] .book-card.list .list-author,[data-resolved-theme=dark] .bulk-progress,[data-resolved-theme=dark] .result-row small,[data-resolved-theme=dark] .selected-result-note small,[data-resolved-theme=dark] .search-quality-line{color:#a8b7bc}[data-resolved-theme=dark] .profile-error{color:#ff99a8}[data-resolved-theme=dark] .profile-server-state{color:#a8b7bc}[data-resolved-theme=dark] .profile-server-state.saved{color:#9ce8bf}[data-resolved-theme=dark] .profile-server-state.failed{color:#ff99a8}[data-resolved-theme=dark] .theme-switcher,[data-resolved-theme=dark] .profile-button,[data-resolved-theme=dark] .filter-menu-button,[data-resolved-theme=dark] .search-filter,[data-resolved-theme=dark] .search-box,[data-resolved-theme=dark] .search-language-control,[data-resolved-theme=dark] .sort-control,[data-resolved-theme=dark] .view-switcher,[data-resolved-theme=dark] .select-mode-button,[data-resolved-theme=dark] .export-button,[data-resolved-theme=dark] .profile-uploader,[data-resolved-theme=dark] .file-picker,[data-resolved-theme=dark] .category-manager span,[data-resolved-theme=dark] .profile-card{color:#d7e2e5;background:#ffffff14;border-color:#ebf6f81f}[data-resolved-theme=dark] .theme-switcher button,[data-resolved-theme=dark] .view-switcher button,[data-resolved-theme=dark] .filter-menu-button,[data-resolved-theme=dark] .select-mode-button,[data-resolved-theme=dark] .export-button,[data-resolved-theme=dark] .tabs button,[data-resolved-theme=dark] .bulk-actions button,[data-resolved-theme=dark] .status-row button,[data-resolved-theme=dark] .read-row button,[data-resolved-theme=dark] .category-picker label,[data-resolved-theme=dark] .menu-popover button,[data-resolved-theme=dark] .ghost-button,[data-resolved-theme=dark] .category-manager button,[data-resolved-theme=dark] .cover-picker>span,[data-resolved-theme=dark] .auth-tabs button{color:#d8e4e7}[data-resolved-theme=dark] .theme-switcher button.active,[data-resolved-theme=dark] .view-switcher button.active,[data-resolved-theme=dark] .filter-menu-button.active,[data-resolved-theme=dark] .select-mode-button.active,[data-resolved-theme=dark] .tabs button.active,[data-resolved-theme=dark] .auth-tabs button.active,[data-resolved-theme=dark] .primary-button,[data-resolved-theme=dark] .add-button,[data-resolved-theme=dark] .auth-form button,[data-resolved-theme=dark] .auth-stack button,[data-resolved-theme=dark] .category-form button{color:#142027;background:#cddce0}[data-resolved-theme=dark] .auth-tabs,[data-resolved-theme=dark] .tabs,[data-resolved-theme=dark] .tabs button,[data-resolved-theme=dark] .bulk-actions button,[data-resolved-theme=dark] .status-row button,[data-resolved-theme=dark] .read-row button,[data-resolved-theme=dark] .category-picker label,[data-resolved-theme=dark] .result-row,[data-resolved-theme=dark] .tag-editor,[data-resolved-theme=dark] .book-card.cover,[data-resolved-theme=dark] .book-cover,[data-resolved-theme=dark] .menu-trigger,[data-resolved-theme=dark] .select-book-button{color:#edf3f4;background:#ffffff14;border-color:#ebf6f81f}[data-resolved-theme=dark] .auth-form input,[data-resolved-theme=dark] .auth-stack input,[data-resolved-theme=dark] .edit-panel input,[data-resolved-theme=dark] .profile-modal input,[data-resolved-theme=dark] .full-input{color:#f2f6f7;background:#1014186b}[data-resolved-theme=dark] .search-filter input,[data-resolved-theme=dark] .category-form input,[data-resolved-theme=dark] .search-box input,[data-resolved-theme=dark] .search-language-control select,[data-resolved-theme=dark] .sort-control select,[data-resolved-theme=dark] .tag-editor input{color:#f2f6f7;background:0 0}[data-resolved-theme=dark] .search-filter,[data-resolved-theme=dark] .search-box,[data-resolved-theme=dark] .search-language-control,[data-resolved-theme=dark] .sort-control,[data-resolved-theme=dark] .tag-editor{box-shadow:inset 0 0 0 1px #ebf6f814}[data-resolved-theme=dark] input::placeholder{color:#829398}[data-resolved-theme=dark] select option{color:#edf3f4;background:#242b31}[data-resolved-theme=dark] .auth-field,[data-resolved-theme=dark] .edit-panel label,[data-resolved-theme=dark] .profile-modal label{color:#c6d2d6}[data-resolved-theme=dark] .result-row.selected,[data-resolved-theme=dark] .status-row .selected,[data-resolved-theme=dark] .read-row .selected,[data-resolved-theme=dark] .category-picker .selected,[data-resolved-theme=dark] .selected-result-note{color:#edf3f4;background:#e7eff124;box-shadow:inset 0 0 0 1px #ebf6f82e}[data-resolved-theme=dark] .menu-popover{background:#232a30f5;border-color:#ebf6f829;box-shadow:0 18px 38px #00000061}[data-resolved-theme=dark] .menu-popover button:hover{background:#ffffff14}[data-resolved-theme=dark] .icon-button{color:#142027;background:#cddce0}[data-resolved-theme=dark] .icon-button.soft,[data-resolved-theme=dark] .ghost-button,[data-resolved-theme=dark] .category-manager button{color:#edf3f4;background:#ffffff1a}[data-resolved-theme=dark] .secondary-button{color:#edf3f4;background:#5c727ba3}[data-resolved-theme=dark] .modal-backdrop,[data-resolved-theme=dark] .confirm-backdrop{background:#080b0e94}[data-resolved-theme=dark] .placeholder{color:#9bb1b8}[data-resolved-theme=dark] .avatar{color:#dce9ed;background:#93b4be2e}[data-resolved-theme=dark] .setup-banner{color:#f4d389;background:#dbb25629}[data-resolved-theme=dark] .empty-state{color:#a8b7bc;border-color:#ebf6f82e}[data-resolved-theme=dark] .book-card.selected{box-shadow:0 20px 60px #00000057,inset 0 0 0 2px #cddce0ad}[data-resolved-theme=dark] .cover-strip button.selected{border-color:#cddce0}[data-resolved-theme=dark] .profile-danger-section{border-top-color:#ebf6f81f}[data-resolved-theme=dark] .avatar-picker button{background:#ffffff14;border-color:#ebf6f81a}[data-resolved-theme=dark] .avatar-picker button.selected{background:#e7eff124;border-color:#cddce061;box-shadow:inset 0 0 0 1px #ebf6f82e}[data-resolved-theme=dark] .search-quality-line button,[data-resolved-theme=dark] .show-more-editions{color:#edf3f4;background:#ffffff14;border-color:#ebf6f81f}[data-resolved-theme=dark] .book-cover{background:linear-gradient(135deg,#3a444ceb,#161c22d1)}[data-resolved-theme=dark] .search-quality-line button.active{background:#e7eff124;border-color:#cddce03d}[data-resolved-theme=dark] .borrowed{color:#f4d389;background:#dbb25633}[data-resolved-theme=dark] .lent{color:#91ead4;background:#50b99e33}[data-resolved-theme=dark] .read,[data-resolved-theme=dark] .read-row .read-choice.selected{color:#9af0bd;background:#46b57838}[data-resolved-theme=dark] .unread,[data-resolved-theme=dark] .read-row .unread-choice.selected{color:#ffadb6;background:#db5b6738}[data-resolved-theme=dark] .tag,[data-resolved-theme=dark] .tag-chip{color:#c1d7ff;background:#7fa0cf33}[data-resolved-theme=dark] .tag-chip button{color:#d9e7ff;background:#c1d7ff24}[data-resolved-theme=dark] .danger-button,[data-resolved-theme=dark] .bulk-actions .danger,[data-resolved-theme=dark] .menu-popover .danger{color:#ffb5bd;background:#db5b6729}[data-resolved-theme=dark] .notice.success,[data-resolved-theme=dark] .notice.info,[data-resolved-theme=dark] .notice{color:#edf3f4;background:#252c32f5;box-shadow:0 18px 42px #00000057}[data-resolved-theme=dark] .notice.warning{background:#74561ef5}[data-resolved-theme=dark] .notice.error{background:#742830f5}@media (max-width:860px){.app-shell input,.app-shell select,.app-shell textarea{font-size:16px}.app-shell{width:min(100% - 20px,1180px);padding-bottom:90px}.topbar{gap:8px;padding-top:8px}.brand-button{gap:7px;max-width:116px;font-size:.82rem;line-height:1}.brand-button span{display:inline}.app-logo{width:31px;height:31px}.toolbar{grid-template-columns:auto minmax(150px,1fr) minmax(148px,190px) auto auto auto auto;gap:8px}.filter-menu-button{display:inline-flex}.search-filter{grid-column:auto}.sort-control{width:100%;min-width:0}.view-switcher{width:100%}.view-switcher button{flex:1}.select-mode-button,.export-button{width:44px;min-width:44px;padding:0}.select-mode-button span,.export-button span,.toolbar-add-button span{display:none}.toolbar-add-button{width:44px;min-width:44px;padding:0}.bulk-bar{top:74px}.category-tools{display:grid}.category-form{min-width:0}.library-view.cover{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center;gap:12px}.library-view.list{gap:7px}.book-card.list{min-height:52px;padding:8px 48px 8px 12px}.book-card.list .book-info{grid-template-columns:1fr;gap:5px}.book-card.list .list-title-line{display:block}.book-card.list .book-info h2{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.book-card.list .list-author{margin-top:1px;display:block}.book-card.list .badges{flex-wrap:wrap}.modal-layout,.auth-welcome,.auth-form{grid-template-columns:1fr}.auth-copy h1{font-size:clamp(2.4rem,12vw,4.2rem)}.tabs{z-index:88;flex-direction:column;width:min(230px,100vw - 20px);display:none;position:absolute;inset:calc(100% + 8px) auto auto 0;overflow-x:hidden}.tabs.open{display:flex}.tabs button{width:100%}}@media (max-width:540px){.app-shell{width:min(100% - 12px,1180px);padding-bottom:calc(82px + env(safe-area-inset-bottom))}.topbar{align-items:center}.top-actions{gap:7px}.toolbar{grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:7px;padding:8px}.toolbar-sort-wrapper,.sort-control,.view-switcher,.select-mode-button{display:none}.tabs{width:min(320px,100vw - 16px);max-height:min(74dvh,560px);padding:9px}.mobile-menu-label{color:#60737b;text-transform:uppercase;padding:4px 7px 2px;font-size:.72rem;font-weight:950;display:block}.mobile-menu-controls{border-top:1px solid #1328381a;gap:7px;margin-top:8px;padding-top:8px;display:grid}.mobile-menu-dropdown{width:100%}.mobile-menu-dropdown .dropdown-trigger{background:#ffffff9e}.mobile-menu-dropdown .dropdown-popover{width:100%;min-width:0;box-shadow:none;margin-top:6px;position:static}.mobile-menu-view-buttons{grid-template-columns:1fr;gap:5px;display:grid}.mobile-menu-view-buttons button,.mobile-menu-select{color:#395560;text-align:left;background:0 0;border:0;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;width:100%;min-height:40px;padding:0 13px;font-weight:850;display:flex}.mobile-menu-view-buttons button.active,.mobile-menu-select.active{color:#fff;background:#132838}.tour-spotlight{border-width:1px;border-radius:10px;box-shadow:0 0 0 9999px #0c17206b,0 10px 24px #0003}.tour-card{gap:7px;width:min(326px,100vw - 28px);padding:12px}.tour-card>span{font-size:.68rem}.tour-card h3{font-size:.96rem}.tour-card p{font-size:.82rem;line-height:1.34}.tour-actions{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;margin-top:2px;display:grid}.tour-actions button{border-radius:8px;min-height:40px;padding:0 12px;font-size:.83rem}.tour-actions .tour-skip-button{box-shadow:none;color:#71848c;background:0 0;border-color:#0000;justify-self:start;padding:0 6px;font-weight:650}.tour-actions .tour-skip-button:hover,.tour-actions .tour-skip-button:focus-visible{color:#425e69;background:0 0;text-decoration:underline}.tour-actions .tour-back-button{background:#ffffffb8}.tour-actions .tour-next-button{padding-inline:15px}[data-resolved-theme=dark] .tour-actions .tour-skip-button{color:#91a0a6}[data-resolved-theme=dark] .tour-actions .tour-skip-button:hover,[data-resolved-theme=dark] .tour-actions .tour-skip-button:focus-visible{color:#c6d2d6}.theme-switcher button{justify-content:center;width:34px;min-height:34px;padding:0}.theme-switcher button span{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.add-button{color:#fff;background:#132838;border:1px solid #13283838;border-radius:12px;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;transform:translate(-.25px);box-shadow:0 10px 22px #1328382e}.profile-button{transform:translate(-.25px)}.add-button{font-size:0}.add-button span{display:none}.add-button svg{width:20px;height:20px;transform:translate(2px)}.sort-control select{font-size:.92rem}.bulk-bar{margin-bottom:10px;padding:9px;position:sticky;top:8px}.bulk-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.bulk-actions button{min-height:42px;padding:0 8px;font-size:.78rem}.select-book-button{width:40px;height:40px}.book-card.medium{grid-template-columns:58px 1fr;gap:8px;min-height:112px;padding:9px}.book-card.medium .book-cover.large{width:58px}.library-view.medium,.library-view.cover{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.book-card.cover{gap:7px;padding:40px 8px 10px}.book-card.cover .book-info{min-height:82px}.book-card.cover .book-info h2{font-size:.86rem;line-height:1.15}.book-card.cover .book-info p{font-size:.76rem}.book-info{padding-right:28px}.book-info h2{-webkit-line-clamp:2;font-size:.9rem}.book-info p{font-size:.8rem}.badge{padding:4px 6px;font-size:.6rem}.book-menu{top:6px;right:6px}.menu-trigger{width:36px;height:36px}.menu-popover{min-width:154px;top:40px}.book-modal,.profile-modal{width:100%;max-width:100%;max-height:none;min-height:calc(100dvh - env(safe-area-inset-top));padding:12px}.account-menu{top:auto;right:max(8px, env(safe-area-inset-right));bottom:max(8px, env(safe-area-inset-bottom));left:max(8px, env(safe-area-inset-left));overscroll-behavior:contain;width:auto;max-height:min(78dvh,580px);position:fixed;overflow-y:auto}.book-modal{height:100dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;border-radius:0;overflow:hidden auto}.book-modal .modal-header{z-index:3;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f0f8fadb;align-items:center;margin:-12px -12px 12px;padding:12px;position:sticky;top:0}.book-modal .modal-layout{max-width:100%;display:block;overflow-x:hidden}.book-modal .edit-panel{max-width:100%;padding-bottom:72px}.book-modal .selected-book-editor{grid-template-columns:112px minmax(0,1fr);gap:10px}.book-modal .selected-book-editor>.book-cover.large,.book-modal .editable-cover,.book-modal .editable-cover>.book-cover.large{width:112px}.book-modal .book-search-row{grid-template-columns:minmax(0,1fr) 72px;margin-bottom:10px}.book-modal .search-box{background:#ffffffe0;min-width:0}.book-modal .results-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-width:100%;max-height:min(42dvh,360px);overflow:hidden auto}.book-modal .result-row,.book-modal .selected-result-note,.book-modal .search-box,.book-modal .selected-book-editor,.book-modal .selected-book-fields,.book-modal .metadata-grid,.book-modal .cover-picker,.book-modal .cover-url-field{min-width:0;max-width:100%}.search-language-control{width:72px;min-width:72px}.search-language-control .dropdown-trigger{gap:5px;width:100%;min-width:0;padding:0 8px;font-size:.78rem}.search-language-control .dropdown-popover{min-width:118px;right:0}.results-panel{margin-bottom:14px}.edit-panel .primary-button{box-shadow:none;position:static}.modal-backdrop{padding:0;padding-top:env(safe-area-inset-top);place-items:stretch stretch;overflow:hidden}.notice{left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));text-align:center;width:auto;max-width:calc(100vw - 24px)}.auth-welcome{align-items:start;min-height:calc(100dvh - 76px);padding-top:20px}.auth-copy p{font-size:.98rem}}[data-resolved-theme=dark] .tabs{color:#edf3f4;background:#232a30fa;border-color:#ebf6f824;box-shadow:0 20px 48px #0000006b}@media (max-width:860px){[data-resolved-theme=dark] .tabs{background:#232a30fa;border-color:#ebf6f824;box-shadow:0 20px 48px #0000006b}}@media (max-width:540px){.brand-button{max-width:98px;font-size:.76rem}[data-resolved-theme=dark] .add-button{color:#142027;background:#cddce0;border-color:#cddce042}[data-resolved-theme=dark] .mobile-menu-label{color:#a8b7bc}[data-resolved-theme=dark] .mobile-menu-controls{border-top-color:#ebf6f81f}[data-resolved-theme=dark] .mobile-menu-dropdown .dropdown-trigger,[data-resolved-theme=dark] .mobile-menu-view-buttons button,[data-resolved-theme=dark] .mobile-menu-select{color:#d8e4e7}[data-resolved-theme=dark] .mobile-menu-view-buttons button.active,[data-resolved-theme=dark] .mobile-menu-select.active{color:#142027;background:#cddce0}[data-resolved-theme=dark] .book-modal .modal-header{background:#1f262ce6}[data-resolved-theme=dark] .book-modal .search-box,[data-resolved-theme=dark] .book-modal .search-language-control{background:#252c32eb}}@media (max-width:360px){.book-modal .selected-book-editor{grid-template-columns:96px minmax(0,1fr)}.book-modal .selected-book-editor>.book-cover.large,.book-modal .editable-cover,.book-modal .editable-cover>.book-cover.large{width:96px}.book-modal .metadata-grid{grid-template-columns:1fr}.toolbar{grid-template-columns:40px minmax(0,1fr) 40px 40px}.view-switcher{padding:4px}.view-switcher button{width:28px}.select-mode-button,.export-button{width:40px;min-width:40px}.sort-control select{font-size:.82rem}}@media (min-width:361px) and (max-width:389px){.view-switcher button{width:32px}}@media (min-width:1180px){.library-view.cover{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
