:root{--background:#ffffff;--foreground:#1f2937;--muted:#6b7280;--border:#e5e7eb;--surface:#f9fafb;--primary:#0d9488;--primary-hover:#0f766e;--radius:8px;--max-width:960px;--color-background-primary:#ffffff;--color-border-tertiary:#f0f0f0;--color-text-secondary:#6b7280;--color-error:#dc2626;--color-teal:#2a9d8f;--color-teal-light:#ccfbf1;--color-teal-mid:#5eead4;--color-teal-border:#14b8a6;--shell-bg:#f0faf9;--shell-border:#d9f0ed;--nav-active-bg:#ccede9;--nav-active-color:var(--color-teal);--nav-hover-bg:#d9f0ed;--nav-text:#374151;--origin-story-bg:#f0fdf9;--feature-icon-bg-amber:#fef3c7;--feature-icon-bg-purple:#ede9fe}*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:var(--background);color:var(--foreground);overflow-x:clip}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}:root{--sidebar-width:165px}.app-shell{display:flex;min-height:100vh}.app-body{flex:1 1;display:flex;flex-direction:column;min-width:0}.app-content{flex:1 1;padding:1.5rem}.app-shell-loading{min-height:100vh}.logged-out-shell{min-height:100vh}.logged-out-shell,.sidebar{display:flex;flex-direction:column}.sidebar{width:var(--sidebar-width);border-right:1px solid var(--shell-border);height:100vh;position:-webkit-sticky;position:sticky;top:0;flex-shrink:0}.sidebar,.sidebar__logo{background:var(--shell-bg)}.sidebar__logo{min-height:56px;box-sizing:border-box;display:flex;align-items:center;padding:0 1rem;font-weight:700;font-size:1rem;white-space:nowrap;color:var(--color-teal);border-bottom:1px solid var(--shell-border)}.sidebar__nav{flex:1 1;padding:.75rem 0;display:flex;flex-direction:column;gap:2px;overflow-y:auto}.sidebar__nav-item{display:flex;align-items:center;gap:.6rem;padding:.6rem 1rem;border-radius:6px;margin:0 .5rem;font-size:.9rem;color:var(--nav-text);text-decoration:none;background:none;border:none;cursor:pointer;width:calc(100% - 1rem);text-align:left;box-sizing:border-box}.sidebar__nav-item:hover{background:var(--nav-hover-bg)}.sidebar__nav-item.active{background:var(--nav-active-bg);color:var(--nav-active-color);font-weight:600}.sidebar__nav-item--disabled{opacity:.4;pointer-events:none;cursor:default}.sidebar__profile-switcher{padding:1rem;border-top:1px solid #b2dfdb}.sidebar__profile-dropdown{position:relative}.sidebar__profile-dropdown-list{display:none;position:absolute;bottom:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #b2dfdb;border-radius:6px;box-shadow:0 -4px 12px rgba(0,0,0,.08);overflow:hidden}.sidebar__profile-dropdown.open .sidebar__profile-dropdown-list{display:block}.sidebar__profile-dropdown-list button{display:block;width:100%;text-align:left;padding:.5rem .75rem;font-size:.85rem;color:#134e4a;background:none;border:none;cursor:pointer}.sidebar__profile-dropdown-list button:hover{background:#f0fdfa}.sidebar__profile-btn{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:1px solid #b2dfdb;border-radius:6px;padding:.5rem .75rem;font-size:.85rem;color:#134e4a;cursor:pointer;gap:.4rem}.sidebar__profile-btn:hover{background:var(--color-teal-light)}.hero-bar{height:56px;justify-content:space-between;padding:0 1.5rem;background:var(--shell-bg);border-bottom:1px solid var(--shell-border);position:-webkit-sticky;position:sticky;top:0;z-index:100}.hero-bar,.hero-bar__left{display:flex;align-items:center}.hero-bar__left{gap:.5rem}.hero-bar__title{font-size:1.5rem;font-weight:700;color:var(--color-teal)}.hero-bar__hamburger{display:none}.hero-bar__account-btn{display:flex;align-items:center;gap:.4rem;background:none;border:1px solid #e5e7eb;border-radius:6px;padding:.35rem .75rem;font-size:.85rem;color:#374151;cursor:pointer}.hero-bar__account-btn:hover{background:#f9fafb}.sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.3);z-index:399}.sidebar-backdrop.open{display:block}@media (max-width:767px){.sidebar{position:fixed;left:0;top:0;height:100%;z-index:400;transform:translateX(-100%);transition:transform .2s ease}.sidebar.open{transform:translateX(0)}.hero-bar__hamburger{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:.4rem;margin-right:.25rem;color:#374151}}.site-footer,.site-header{border-bottom:1px solid var(--border);background:var(--surface)}.site-footer{border-top:1px solid var(--border);border-bottom:0;margin-top:auto}.container{width:min(100%,var(--max-width));margin:0 auto;padding:.75rem;max-width:100%}.footer-row,.header-row,.nav-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.nav-row{flex-wrap:wrap;margin-top:.25rem}.nav-link{color:var(--muted);font-size:.95rem}.nav-link:hover{color:var(--foreground)}.auth-links{display:flex;align-items:center;gap:.75rem}.auth-link-secondary{color:var(--muted);font-size:.9rem}.auth-link-secondary:hover{color:var(--foreground)}.logout-link{border:0;background:transparent;padding:0;cursor:pointer}.brand{display:inline-flex;align-items:center;gap:.5rem}.brand-mark{width:12px;height:12px;border-radius:0;background:var(--color-teal-mid);border:1px solid var(--color-teal-border)}.header-actions{display:inline-flex;align-items:center;gap:.6rem}.child-badge{font-size:.8rem;color:var(--muted);border:1px solid var(--border);border-radius:0;padding:.15rem .5rem}.menu-wrap{position:relative}.menu-trigger{color:var(--foreground);padding:.3rem .7rem;font-size:.85rem;cursor:pointer}.menu-dropdown,.menu-trigger{border:1px solid var(--border);background:#fff;border-radius:0}.menu-dropdown{position:absolute;right:0;top:110%;z-index:10;min-width:160px;box-shadow:none;display:grid;padding:.25rem}.menu-dropdown button{border:0;background:transparent;text-align:left;padding:.45rem .5rem;border-radius:0;cursor:pointer}.menu-dropdown button:hover{background:var(--surface)}.page{padding:.5rem 0 .75rem}.grid,.stack{display:grid;grid-gap:.6rem;gap:.6rem}.grid-2{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.card{border:1px solid var(--border);border-radius:var(--radius);background:#fff;padding:.75rem}.card-title{margin:0 0 .5rem;font-size:1.05rem}.card-footer{margin-top:.6rem}.muted{color:var(--muted)}.btn{border-radius:var(--radius);border:1px solid transparent;padding:.5rem .9rem;font-size:.95rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-secondary{background:#fff;border-color:var(--border);color:var(--foreground)}.btn-secondary:hover:not(:disabled){background:var(--surface)}.btn-ghost{background:transparent;color:var(--foreground)}.btn-ghost:hover:not(:disabled){background:var(--surface)}.form-field{display:grid;grid-gap:.4rem;gap:.4rem}.input{width:100%;border:1px solid var(--border);border-radius:0;padding:.6rem .7rem;font-size:.95rem}.input:focus{outline:2px solid rgba(13,148,136,.2);border-color:var(--primary)}.pill{display:inline-block;border:1px solid var(--border);border-radius:0;padding:.15rem .6rem;font-size:.8rem;color:var(--muted)}.method-grid{display:grid;grid-gap:.75rem;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.status-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;justify-content:center}.method-card{display:grid;grid-gap:.35rem;gap:.35rem;text-align:left;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:.9rem;cursor:pointer}.method-card:hover{background:var(--surface)}.method-card span{color:var(--muted);font-size:.88rem}.method-card-active{background:#d7ecd3;border-color:#bddbb9;box-shadow:none}.method-card-active:hover{background:#c9e4c4}.status-remove-btn{border:none;background:transparent;color:#b91c1c;cursor:pointer;font-size:1rem;font-weight:700;line-height:1;padding:.25rem .5rem}.status-remove-btn:hover{background:#fef2f2}.status-error{color:#b91c1c;font-size:.75rem;width:100%;text-align:center}.scan-entry{border-color:#0284c7;background:#f0f9ff}.scan-panel{display:grid;grid-gap:.75rem;gap:.75rem}.scanner-viewport{width:100%;max-height:280px;object-fit:cover;border-radius:var(--radius);background:#000}.scanner-status{color:var(--muted);font-size:.9rem}.scan-hero{display:grid;grid-gap:.35rem;gap:.35rem;border:2px dashed #0284c7;background:#f0f9ff;border-radius:0;padding:1rem;text-align:left;cursor:pointer}.scan-hero span{color:#0369a1;font-size:.9rem}.result-row{border:1px solid var(--border);border-radius:0;background:#fff;padding:.65rem;text-align:left;display:grid;grid-gap:.2rem;gap:.2rem;cursor:pointer}.result-row:hover{background:var(--surface)}.auth-page{min-height:auto;display:flex;align-items:flex-start;justify-content:center;padding:.5rem 0}.auth-panel{width:min(100%,460px);display:grid;grid-gap:.6rem;gap:.6rem}.auth-title{margin:0;text-align:center;font-size:2rem}.auth-actions{display:grid;grid-gap:.5rem;gap:.5rem;grid-template-columns:1fr}.tap-lg{min-height:48px;width:100%}.form-error{margin:0;color:#b91c1c;font-size:.9rem}.child-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border:1px solid var(--border);border-radius:0;padding:.6rem .7rem}.child-row-left{display:grid;grid-gap:.15rem;gap:.15rem}.search-card{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.search-cover-box{width:56px;height:80px;border:1px solid var(--border);background:#fff;flex:0 0 56px}.search-cover-image{width:100%;height:100%;object-fit:cover;display:block}.search-cover-placeholder{width:100%;height:100%;background:var(--surface)}.search-card-main{display:grid;grid-gap:.15rem;gap:.15rem;flex:1 1;min-width:0}.search-meta-line{font-size:.86rem;color:var(--muted);line-height:1.25}.book-card{display:flex;align-items:stretch;gap:1rem;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 2px 10px rgba(31,41,55,.06);padding:.9rem 1rem}.book-card-thumbnail{width:88px;flex:0 0 88px;display:flex;align-items:center;justify-content:center}.book-card-thumbnail-image,.book-card-thumbnail-placeholder{width:88px;height:132px;border-radius:8px}.book-card-thumbnail-image{display:block;object-fit:cover;border:1px solid var(--border)}.book-card-thumbnail-placeholder{display:flex;align-items:center;justify-content:center;border:1px solid #e6e9f0;background:#f4f5f7;color:#94a3b8}.book-card-meta{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:.5rem}.book-card-title-row{width:100%}.book-card-meta-columns{display:flex;align-items:flex-start;gap:1.25rem}.book-card-meta-left,.book-card-meta-right{display:flex;flex-direction:column;gap:.38rem;min-width:0}.book-card-meta-left{flex:1.15 1}.book-card-meta-right{flex:1 1}.book-card-meta-row{display:flex;align-items:center;gap:.4rem;color:var(--muted);font-size:.88rem;line-height:1.35}.book-card-meta-row svg{flex:0 0 auto;color:var(--color-teal)}.book-card-meta-title{color:var(--foreground);font-size:1.05rem;font-weight:700;line-height:1.25}.meta-link-btn{background:none;border:none;padding:0;color:var(--color-teal);cursor:pointer;font-size:inherit;font-family:inherit;text-decoration:underline;text-underline-offset:2px}.meta-link-btn:hover{opacity:.8}.book-card-actions{width:142px;flex:0 0 142px;display:flex;flex-direction:column;gap:.45rem}.book-card-action-btn{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:.45rem;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--foreground);cursor:pointer;touch-action:manipulation;font-size:.9rem;font-weight:600;padding:.52rem .65rem .52rem 1.75rem;transition:background-color .15s ease,border-color .15s ease}.book-card-action-btn svg{flex:0 0 16px}.book-card-action-btn:hover{background:var(--surface)}.book-card-action-btn.active{border-color:#bddbb9;background:#d7ecd3;font-weight:700}.book-card-action-btn.active:hover{background:#c9e4c4}.search-pagination{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1rem 0 .5rem}.search-pagination-label{font-size:.9rem;color:var(--muted)}.search-pagination-controls{display:flex;gap:.5rem}.pagination-btn{min-height:44px;padding:0 1.25rem;border-radius:var(--radius);border:1.5px solid var(--primary);background:#fff;color:var(--primary);font-size:.95rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease}.pagination-btn:hover:not(:disabled){background:var(--primary);color:#fff}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.search-results-footer{display:flex;align-items:center;justify-content:center;gap:.35rem;color:var(--muted);font-size:.9rem;padding:.45rem 0 .2rem;text-align:center}.search-results-footer a,.suggest-link-btn{color:var(--color-teal);font-weight:700}.search-results-footer a:hover,.suggest-link-btn:hover{text-decoration:underline}.suggest-link-btn{border:0;background:transparent;padding:0;cursor:pointer;font-size:inherit}.finish-toggle{border:1px solid var(--border);background:#fff;border-radius:0;padding:.35rem .75rem;font-size:.82rem;cursor:pointer;white-space:nowrap;align-self:center}.finish-toggle-on{border-color:#16a34a;color:#166534;background:#f0fdf4}.compact-stack{gap:.45rem}.search-input{width:100%;border:1px solid var(--border);border-radius:10px;padding:.6rem 5.5rem .6rem .7rem;font-size:.95rem}.search-input:focus{outline:2px solid rgba(29,78,216,.2);border-color:var(--primary)}.search-field-wrap{position:relative}.search-icon-btn-inset{position:absolute;top:50%;right:0;transform:translateY(-50%);width:44px;height:44px;border:0;background:transparent;border-top-right-radius:10px;border-bottom-right-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted)}.search-icon-btn-inset:hover{background:var(--surface)}.scan-trigger-btn{position:absolute;top:50%;right:44px;transform:translateY(-50%);width:44px;height:44px;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted)}.scan-trigger-btn:hover{background:var(--surface)}.scan-trigger-btn[aria-expanded=true]{color:var(--color-teal);background:#f0fdfa}.scanner-inline-panel{border:1px solid var(--primary);border-radius:10px;background:#f0fdfa;padding:1rem;display:grid;grid-gap:.75rem;gap:.75rem}.scanner-inline-panel-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.scanner-inline-panel-title{font-size:.9rem;font-weight:600;color:var(--color-teal)}.scanner-close-btn{border:0;background:transparent;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px}.scanner-close-btn:hover{background:var(--color-teal-light);color:var(--color-teal)}@media (max-width:640px){.scan-trigger-btn:hover{background:var(--surface)}}.my-books-shell{display:grid;grid-gap:.8rem;gap:.8rem}.my-books-sticky-controls{position:-webkit-sticky;position:sticky;top:0;z-index:10;background:var(--background);display:grid;grid-gap:.45rem;gap:.45rem;padding-bottom:.25rem;overflow-x:hidden}.my-books-stat-header,.my-books-top-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.my-books-top-row{flex-wrap:wrap}.my-books-stat-header{border:1px solid var(--border);background:#fff;padding:.75rem}.my-books-stat-value{display:block;font-size:2rem;font-weight:700;line-height:1}.my-books-view-toggle{display:flex;gap:.5rem}.my-books-view-toggle .btn-primary{background:#d7ecd3;border-color:#bddbb9;color:var(--foreground)}.my-books-view-toggle .btn-primary:hover:not(:disabled){background:#c9e4c4}.my-books-view-toggle .btn-secondary{background:#fff;border-color:var(--border);color:var(--foreground)}.my-books-view-toggle .btn-secondary:hover:not(:disabled){background:var(--surface)}.my-books-section{display:grid;grid-gap:.65rem;gap:.65rem}.my-books-section-card{border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 14px 28px rgba(15,23,42,.06);gap:1.25rem;padding:1.75rem 2rem 1.5rem}.my-books-month h3,.my-books-section h2{font-size:1.05rem}.my-books-section-heading{display:flex;align-items:center;gap:.75rem;color:#1f2937;font-size:1.35rem;font-weight:700}.my-books-section-icon{color:#4f8a52;flex-shrink:0}.my-books-month{display:grid;grid-gap:.5rem;gap:.5rem}.book-group-box{border:1px solid #ebebeb;border-radius:16px;padding:1.25rem 1.5rem;box-shadow:none}.my-books-month-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.my-books-month-header span{color:var(--muted);font-size:.9rem}.book-section-grid{display:grid;grid-gap:.75rem;gap:.75rem;grid-template-columns:repeat(5,minmax(130px,1fr));align-items:start}@media (max-width:640px){.book-section-grid{grid-template-columns:repeat(2,1fr);overflow-x:unset}}.my-books-list{display:grid;grid-gap:0;gap:0}.book-section-card{border:none;background:transparent;box-shadow:none;padding:.5rem .25rem;display:grid;grid-gap:.4rem;gap:.4rem;align-items:start;justify-items:center;text-align:center;min-width:0;width:100%}.book-section-card .status-buttons{flex-wrap:nowrap;gap:.25rem;justify-content:flex-start;margin-top:8px}.book-section-card .book-status-btn{min-height:unset;padding:.2rem .3rem;font-size:.72rem;font-weight:600}.book-section-card .method-card{padding:.25rem .3rem;font-size:.75rem;white-space:nowrap}.book-section-card .status-remove-btn{padding:.2rem .3rem;font-size:.8rem}.book-section-cover{width:78%;aspect-ratio:2/3;border:none;background:var(--surface);justify-self:center;border-radius:4px;overflow:hidden}.book-section-cover-fallback,.book-section-cover-image{width:100%;height:100%;max-width:100%}.book-section-cover-image{object-fit:cover;display:block}.book-section-cover-fallback{display:flex;align-items:center;justify-content:center;background:#f0fdfa;color:var(--color-teal);font-size:1.75rem;font-weight:700;border-radius:6px}.book-section-meta{display:flex;flex-direction:column;gap:2px;min-width:0;width:100%}.book-section-author,.book-section-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:100%}.book-section-title{font-size:.82rem;font-weight:700;line-height:1.3}.book-section-author{color:var(--muted);font-size:.75rem}.book-status-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;color:#1f2937;cursor:pointer;font-size:.8rem;font-weight:600;min-height:44px;padding:.6rem 1rem;white-space:nowrap;transition:background-color .12s ease,border-color .12s ease}.book-status-btn:hover{background:var(--surface)}.book-status-btn-active{background:#d7ecd3;border-color:#d7ecd3;color:#4f7f47}.book-status-btn-active:hover{background:#cce5c7}.book-list-row{display:grid;grid-template-columns:48px 1fr auto;grid-gap:.75rem;gap:.75rem;align-items:center;padding:.5rem 0;border-bottom:1px solid var(--border)}.book-list-row:last-child{border-bottom:none}.book-list-cover,.book-list-cover-fallback,.book-list-cover-image{width:48px;height:48px}.book-list-cover{border:1px solid var(--border);background:var(--surface)}.book-list-cover-image{object-fit:cover;display:block}.book-list-cover-fallback{display:flex;align-items:center;justify-content:center;background:#f0fdfa;color:var(--color-teal);font-size:1rem;font-weight:700}.book-list-meta{display:grid;grid-gap:.15rem;gap:.15rem;min-width:0}.book-list-meta small,.book-list-meta span,.book-list-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-list-meta small,.book-list-meta span{color:var(--muted);font-size:.8rem}.book-list-actions{display:flex;gap:.4rem;align-items:center;flex-shrink:0;justify-content:flex-end}.book-list-actions .status-buttons{flex-wrap:wrap;gap:.4rem;justify-content:flex-end}.book-list-actions .method-card{padding:.25rem .6rem;white-space:nowrap}.show-all-row{display:flex;justify-content:flex-end}.my-books-section-card>.book-group-box{border:0;border-radius:0;padding:0}.my-books-section-card>.show-all-row{border-top:1px solid #e5e7eb;margin-top:.4rem;padding-top:1.25rem}.show-all-link{border:0;background:transparent;color:#3d9e67;cursor:pointer;font-size:1rem;font-weight:600;padding:0}.show-all-link:after{content:"›";display:inline-block;font-size:1.5rem;line-height:.8;margin-left:1rem;transform:translateY(2px)}.show-all-link:hover{color:#2e7a50}.profiles-shell{display:grid;grid-gap:1rem;gap:1rem}.profiles-header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.profiles-header-row h1{font-size:1.9rem}.profiles-list{display:grid;grid-gap:.75rem;gap:.75rem}.profile-row{border:1px solid var(--border);background:#fff;padding:.55rem .6rem;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) auto auto;grid-gap:.55rem;gap:.55rem;align-items:center}.profile-row-form{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(180px,1fr) auto;align-items:start}.profile-col{font-size:.98rem}.profile-col-initials{font-weight:600}.profile-col-book,.profile-col-edit{justify-self:end}.profile-book-btn{background:#d7ecd3;border-color:#bddbb9}.profile-book-btn:hover:not(:disabled){background:#c9e4c4}.profile-edit-icon,.profile-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:1.8rem;height:1.8rem;color:var(--muted);border:1px solid var(--border)}.profile-icon-btn{background:#fff;cursor:pointer}.profile-save-icon-btn{background:#d7ecd3;border-color:#bddbb9;color:#1f2937}.profile-col-edit-onboarding{align-self:end}.profile-form-actions{display:flex;gap:.5rem;align-items:center}.profile-card{position:relative;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(0,0,0,.07);transition:box-shadow .15s}.profile-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.profile-card-link{position:absolute;inset:0}.profile-card-avatar{flex-shrink:0;width:2.75rem;height:2.75rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.82rem;color:#fff;letter-spacing:.03em}.profile-card-info{flex:1 1;display:flex;flex-direction:column;gap:.1rem;min-width:0}.profile-card-name{font-weight:600;font-size:1rem;color:var(--foreground)}.profile-card-meta{font-size:.82rem;color:var(--muted)}.profile-card-edit{position:relative;z-index:1;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;color:var(--muted);transition:background .12s,color .12s}.profile-card-edit:hover{background:rgba(0,0,0,.07);color:var(--foreground)}@media (max-width:480px){.profile-card{padding:.65rem .75rem;gap:.6rem}.profile-card-avatar{width:2.4rem;height:2.4rem;font-size:.76rem}}.undo-toast{position:fixed;left:50%;bottom:4.5rem;z-index:50;display:flex;align-items:center;gap:.75rem;transform:translateX(-50%);border:1px solid var(--color-teal-border);background:#f0fdfa;color:var(--foreground);box-shadow:0 10px 28px rgba(15,118,110,.18);padding:.65rem .8rem;opacity:1;transition:opacity .18s ease,transform .18s ease}.undo-toast button{border:0;background:transparent;color:var(--color-teal);font-weight:700;cursor:pointer}@media (min-width:640px){.auth-actions{grid-template-columns:1fr 1fr}}.reading-hero-card{display:flex;align-items:center;gap:1rem;background:linear-gradient(90deg,#e8f4ff,#fff5eb);border-radius:16px;padding:1.25rem 1.5rem;overflow:hidden}.reading-hero-left{display:flex;flex-direction:column;gap:.25rem;min-width:130px}.reading-hero-label{font-size:.85rem;font-weight:600;color:var(--foreground)}.reading-hero-count-row{display:flex;align-items:center;gap:.35rem}.reading-hero-count{font-size:3.5rem;font-weight:800;line-height:1;color:var(--foreground)}.reading-hero-sparkle{opacity:.9}.reading-hero-sparkle-sm{align-self:flex-end;margin-bottom:.5rem}.reading-hero-nice-work{font-size:.95rem;font-style:italic;color:var(--foreground);margin-top:.15rem}.reading-hero-center{flex:1 1;display:flex;justify-content:center;align-items:flex-end}.reading-hero-right{min-width:180px;max-width:220px}.reading-hero-stat-card{background:#fff;border-radius:12px;padding:.85rem 1rem;display:flex;flex-direction:column;align-items:center;gap:.4rem;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,.06)}.reading-hero-fire-title{font-size:.9rem;font-weight:700}.reading-hero-fire-sub{font-size:.8rem;color:var(--muted)}.reading-hero-progress-bar{height:16px;width:100%;background:#e5e7eb;border-radius:999px;overflow:hidden}.reading-hero-progress-fill{height:100%;background:#4ade80;border-radius:999px;transition:width .4s ease}.reading-hero-progress-label{font-size:.75rem;color:var(--muted)}@media (max-width:600px){.reading-hero-card{flex-direction:column;align-items:center;text-align:center;gap:.5rem;padding:.85rem}.reading-hero-center{display:none}.reading-hero-right{width:100%;max-width:100%}.reading-hero-count{font-size:2.5rem}.reading-hero-label{font-size:.8rem}.reading-hero-nice-work{font-size:.85rem}.reading-hero-stat-card{padding:.6rem .75rem;flex-direction:column;align-items:stretch;width:100%;text-align:center}.reading-hero-fire-title{font-size:.85rem}.reading-hero-progress-bar{height:12px;width:100%}}@media (max-width:700px){.book-card{flex-direction:column}.book-card-thumbnail{width:100%;flex-basis:auto;justify-content:flex-start}.book-card-actions{width:100%;flex-basis:auto;flex-direction:row;flex-wrap:wrap;gap:.4rem}.book-card-action-btn{width:auto;flex:0 0 auto;padding:.5rem .75rem;justify-content:center}}@media (max-width:480px){.book-card-meta-columns{flex-direction:column;gap:.75rem}.book-card-meta-left,.book-card-meta-right{width:100%}}.admin-shell{display:grid;grid-gap:1rem;gap:1rem}.admin-tabs{display:flex;border-bottom:2px solid var(--border)}.admin-tab{border:0;background:transparent;padding:.5rem 1.1rem;cursor:pointer;color:var(--muted);font-size:.95rem;border-bottom:2px solid transparent;margin-bottom:-2px}.admin-tab-active,.admin-tab:hover{color:var(--foreground)}.admin-tab-active{font-weight:600;border-bottom-color:var(--primary)}.admin-list{border:1px solid var(--border);background:#fff}.admin-list>div+div{border-top:1px solid var(--border)}.suggestion-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.6rem .9rem;padding:.75rem}.suggestion-initials{flex-shrink:0;width:2rem;height:2rem;border-radius:50%;background:var(--surface);border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700}.suggestion-book{flex:1 1;min-width:160px;display:grid;grid-gap:.15rem;gap:.15rem;font-size:.9rem}.suggestion-isbn{font-size:.8rem;color:var(--muted)}.suggestion-notes{flex:1 1;min-width:100px;max-width:220px;font-size:.85rem}.suggestion-date{font-size:.85rem;white-space:nowrap}.suggestion-badge{display:inline-block;padding:.15rem .5rem;font-size:.78rem;font-weight:600;text-transform:capitalize;white-space:nowrap}.suggestion-badge-pending{background:#fef9c3;color:#854d0e}.suggestion-badge-approved{background:#dcfce7;color:#166534}.suggestion-badge-rejected{background:#fee2e2;color:#991b1b}.suggestion-actions{display:flex;align-items:center;gap:.4rem;flex-shrink:0}.suggestion-admin-note{font-size:.82rem;font-style:italic}.suggestion-panel{border-top:1px solid var(--border);background:var(--surface);padding:1rem;display:grid;grid-gap:.75rem;gap:.75rem}.suggestion-panel-fields{display:grid;grid-gap:.75rem;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.suggestion-panel-actions{display:flex;gap:.5rem;align-items:center}.sef{background:var(--surface);border-top:1px solid var(--border)}.sef__body{display:grid;grid-template-columns:1fr 130px auto;grid-gap:1.5rem;gap:1.5rem;padding:1rem 1.25rem;align-items:start}.sef__fields{display:flex;flex-direction:column;gap:.4rem}.sef__field-row{display:flex;align-items:center;gap:.5rem}.sef__label{font-size:.8rem;color:var(--muted);min-width:76px;flex-shrink:0}.sef__input{flex:1 1;font-size:.85rem;padding:.3rem .5rem}.sef__cover{display:flex;flex-direction:column;gap:.5rem;align-items:center}.sef__cover-img{width:100px;height:140px;object-fit:cover;border-radius:4px;border:1px solid var(--border)}.sef__cover-placeholder{width:100px;height:140px;background:var(--border);border-radius:4px}.sef__thumb-url{width:100%;font-size:.75rem}.sef__actions{display:flex;flex-direction:column;gap:.5rem;padding-top:.1rem}.sef__reject-row{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;border-top:1px solid var(--border)}.sef__error{padding:.25rem 1.25rem .75rem;margin:0}.report-issue-btn{border:0;background:transparent;padding:0;color:var(--muted);font-size:.8rem;cursor:pointer;text-align:left;margin-top:.35rem}.report-issue-btn:hover{color:var(--foreground)}.suggest-book-form{display:grid;grid-gap:.85rem;gap:.85rem;border:1px solid var(--border);background:#fff;padding:1rem}.suggest-book-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.suggest-book-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;padding:.75rem 1rem;font-size:.95rem}.input:-moz-read-only{background:var(--surface);color:var(--muted);cursor:default}.input:read-only{background:var(--surface);color:var(--muted);cursor:default}.suggest-book-notes{resize:vertical;font-family:inherit;font-size:.95rem}.child-edit-shell{display:grid;grid-gap:1rem;gap:1rem}.child-edit-form{display:grid;grid-gap:.85rem;gap:.85rem;border:1px solid var(--border);border-radius:var(--radius);background:#fff;padding:1rem}.child-edit-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.my-books-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.section-count-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;flex-shrink:0;background-image:url(/design-assets/counter-badge.png);background-size:contain;background-repeat:no-repeat;background-position:50%}.section-count-badge-text{position:relative;display:flex;flex-direction:column;align-items:center;line-height:1.1;color:#2e7a50}.section-count-badge-text strong{font-size:1.2rem;font-weight:800;line-height:1}.section-count-badge-text small{font-size:.62rem;font-weight:500;letter-spacing:.03em;color:#4caf76}.header__root{position:-webkit-sticky;position:sticky;top:0;z-index:100;width:100%;background:#fff;border-bottom:1px solid var(--border);min-height:80px}.header__overlay{display:none}.header__inner{position:relative;z-index:1;width:min(100%,var(--max-width));margin:0 auto;padding:0 .75rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:80px}.header__brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;flex-shrink:0}.header__logo{border-radius:50%;flex-shrink:0}.header__wordmark{font-weight:700;font-size:1.1rem;color:#1a2e44;line-height:1;white-space:nowrap}.header__actions{gap:.65rem;flex-shrink:0}.header__actions,.header__child-badge{display:inline-flex;align-items:center}.header__child-badge{justify-content:center;background:var(--color-teal-light);color:var(--color-teal);font-weight:700;font-size:.78rem;border-radius:999px;padding:.35rem .85rem;letter-spacing:.04em;white-space:nowrap}.header__menu-wrap{position:relative}.header__menu-trigger{display:inline-flex;align-items:center;gap:.35rem;background:rgba(255,255,255,.9);border:1px solid var(--border);border-radius:var(--radius);padding:.45rem .9rem;font-size:.85rem;color:var(--foreground);cursor:pointer;white-space:nowrap}.header__menu-trigger:hover{background:#fff}.header__chevron{flex-shrink:0;color:var(--muted)}.header__menu-dropdown{position:fixed;z-index:200;min-width:160px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.1);display:grid;padding:.25rem}.header__menu-dropdown button{border:0;background:transparent;text-align:left;padding:.45rem .65rem;border-radius:calc(var(--radius) - 2px);cursor:pointer;font-size:.9rem;color:var(--foreground);width:100%}.header__menu-dropdown button:hover{background:var(--surface)}.header__auth-links{display:flex;align-items:center;gap:.75rem}.header__auth-link{color:var(--muted);font-size:.9rem;text-decoration:none;background:none;border:none;padding:0;cursor:pointer;white-space:nowrap}.header__auth-link:hover{color:var(--foreground)}@media (max-width:640px){.header__root{background-image:none;background-color:var(--surface);min-height:56px}.header__overlay{display:none}.header__inner{min-height:56px}.header__parent-label{display:none}}.home-hero{position:relative;min-height:380px;overflow:hidden;background-image:url(/images/hero-bg-right-only.png);background-size:auto 100%;background-position:100%;background-repeat:no-repeat;display:flex;align-items:flex-start;gap:2rem;padding:1.5rem max(1.5rem,calc((100% - 960px) / 2 + 1.5rem))}.home-hero__content{flex:1 1;display:grid;grid-gap:1rem;gap:1rem;max-width:440px}.home-hero__eyebrow{font-size:.9rem;color:var(--muted)}.home-hero__headline{font-size:clamp(2rem,5vw,3rem);font-weight:800;color:#1a2e44;line-height:1.1}.home-hero__accent{color:var(--primary)}.home-hero__sub{font-size:1.05rem;color:var(--muted);line-height:1.6;max-width:420px;margin-top:-.5rem}.home-hero__mobile-owl{display:none}.home-card{position:absolute;top:0;right:max(1.5rem,calc((100% - 960px) / 2 + 1.5rem));width:min(100%,400px);background:#fff;border-radius:0 0 16px 16px;box-shadow:0 8px 32px rgba(0,0,0,.12);overflow:hidden}.home-card__tabs{display:flex;border-bottom:1px solid var(--border);background:var(--surface)}.home-card__tab{flex:1 1;border:0;background:transparent;padding:.85rem 1rem;font-size:.95rem;font-weight:500;color:var(--muted);cursor:pointer;transition:color .15s}.home-card__tab:hover{color:var(--foreground)}.home-card__tab--active{color:var(--foreground);font-weight:700;background:#fff;border-bottom:2px solid var(--primary)}.home-card__form{display:grid;grid-gap:.85rem;gap:.85rem;padding:1.5rem}.home-card__footnote{font-size:.82rem;color:var(--muted);text-align:center;line-height:1.5}.home-card__footnote a{color:var(--primary);text-decoration:underline}.header__auth-link--cta{background:var(--primary);color:#fff!important;padding:.45rem 1rem;border-radius:999px;font-size:.88rem;font-weight:600;white-space:nowrap}.header__auth-link--cta:hover{background:var(--primary-hover);color:#fff!important}@media (max-width:700px){.home-hero{flex-direction:column;align-items:flex-start;justify-content:center;padding:2rem 1rem;gap:1.5rem;position:relative;overflow:visible;background-image:none;min-height:auto}.home-hero__content{max-width:100%;justify-items:center;text-align:center}.home-hero__headline,.home-hero__sub{max-width:100%;text-align:left;justify-self:start}.home-hero__mobile-owl{display:block;max-width:100%;height:240px;margin:0 auto;object-fit:contain}.home-features{margin-top:0}.home-checks,.home-features{justify-content:center}.home-card{top:56px;bottom:3.2rem;width:100%;margin-top:0;border-radius:16px 16px 0 0;box-shadow:0 -4px 24px rgba(0,0,0,.15);overflow-y:auto;z-index:100}.home-card,.site-footer{position:fixed;left:0;right:0}.site-footer{bottom:0;z-index:200}}.suggest-or-divider{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}.suggest-or-divider:after,.suggest-or-divider:before{content:"";flex:1 1;height:1px;background:var(--border)}.suggest-form-grid{display:grid;grid-template-columns:1fr;grid-gap:.6rem;gap:.6rem}@media (min-width:600px){.suggest-form-grid{grid-template-columns:1fr 1fr}}.suggest-field-full{grid-column:1/-1}.suggest-col-narrow .input{width:6rem}.suggest-presets-block{margin-bottom:.25rem}.suggest-preset-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.25rem}.suggest-preset-chips-label{font-size:.85rem;font-weight:500;margin-bottom:.4rem;display:block;color:var(--foreground)}.suggest-preset-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .65rem .3rem .45rem;border-radius:6px;border:1.5px solid var(--border);background:var(--surface);color:var(--foreground);font-size:.8rem;cursor:pointer;transition:background .12s,border-color .12s,color .12s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.suggest-preset-chip:hover{border-color:var(--primary)}.suggest-preset-chip-box{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;border:1.5px solid #d1d5db;border-radius:3px;background:#fff;flex-shrink:0;transition:background .12s,border-color .12s}.suggest-preset-chip.active{border-color:var(--primary);background:#e8f7f6;color:var(--foreground)}.suggest-preset-chip.active .suggest-preset-chip-box{background:var(--primary);border-color:var(--primary);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:9px 7px;background-repeat:no-repeat;background-position:50%}.book-thumbnail-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--color-surface,#f0f4f8);color:var(--color-muted,#9aafc4);border-radius:var(--radius-sm,4px)}.books-page-layout{display:flex;min-height:calc(100vh - 80px);margin:-1.25rem -.75rem -1.5rem}.books-sidebar{width:80px;flex-shrink:0;border-right:1px solid var(--border);background:#fff;position:-webkit-sticky;position:sticky;top:80px;height:calc(100vh - 80px);padding:.75rem 0;gap:0;overflow:hidden}.books-sidebar,.books-sidebar-back{display:flex;flex-direction:column;align-items:center}.books-sidebar-back{gap:3px;padding:.6rem .25rem;color:var(--muted);font-size:9px;font-weight:600;text-decoration:none;border-radius:8px;width:64px;text-align:center;transition:color .12s,background .12s}.books-sidebar-back:hover{color:var(--foreground);background:var(--surface)}.books-sidebar-profile-label{font-size:10px;font-weight:700;color:var(--muted);text-align:center;padding:.5rem .25rem .25rem;width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.child-home-main{padding-top:.5rem}.books-sidebar-divider{width:44px;height:1px;background:var(--border);margin:.4rem 0}.books-sidebar-nav{gap:2px;width:100%}.books-sidebar-item,.books-sidebar-nav{display:flex;flex-direction:column;align-items:center}.books-sidebar-item{gap:3px;padding:.55rem .25rem;color:var(--muted);font-size:10px;font-weight:600;text-decoration:none;border-radius:8px;width:64px;text-align:center;transition:color .12s,background .12s}.books-sidebar-item:hover{color:var(--foreground);background:var(--surface)}.books-sidebar-item.active{background:#e8f5f0;color:#1D9E75}.books-page-main{flex:1 1;min-width:0;padding:1rem 1.25rem 2rem;display:flex;flex-direction:column;gap:1rem}.books-hero{position:relative;display:flex;align-items:center;gap:1rem;background:#e8f5f0;border-radius:16px;padding:1.25rem 1.5rem;overflow:hidden;min-height:108px}.books-hero-icon-block{width:48px;height:48px;border-radius:12px;background:#1D9E75;display:flex;align-items:center;justify-content:center;flex-shrink:0}.books-hero-text{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.books-hero-title{font-size:20px;font-weight:500;color:#085041;line-height:1.2}.books-hero-tagline{font-size:13px;color:#0F6E56;line-height:1.4}.books-hero-owl{position:absolute;right:0;bottom:0;height:86px;width:auto;object-fit:contain;object-position:bottom right}.books-stats-row{display:flex;gap:1rem}.books-stat{display:flex;flex-direction:column;gap:2px;min-width:60px}.books-stat-value{font-size:1.6rem;font-weight:800;color:var(--foreground);line-height:1}.books-stat-label{font-size:.75rem;color:var(--muted);font-weight:500}.books-toolbar{display:flex;flex-direction:column;gap:.6rem}.books-search-input{width:100%;border:1px solid var(--border);border-radius:999px;padding:.55rem 1rem;font-size:.92rem;background:var(--surface);color:var(--foreground);transition:border-color .12s}.books-search-input:focus{outline:none;border-color:#1D9E75;background:#fff}.books-group-buttons{display:flex;gap:.4rem;flex-wrap:wrap}.books-group-btn{display:inline-flex;align-items:center;border:1.5px solid var(--border);border-radius:999px;background:#fff;color:var(--foreground);font-size:.82rem;font-weight:600;padding:.3rem .8rem;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.books-group-btn:hover{border-color:#1D9E75;color:#1D9E75}.books-group-btn.active{background:#1D9E75;border-color:#1D9E75;color:#fff}.books-content{gap:1.25rem}.books-content,.books-group{display:flex;flex-direction:column}.books-group{gap:.5rem}.books-group-header{display:flex;align-items:center;gap:.5rem;padding-bottom:.25rem;border-bottom:1px solid var(--border)}.books-group-label{font-size:.92rem;font-weight:700;color:var(--foreground);flex:1 1}.books-group-count{font-size:.8rem;color:var(--muted)}.books-load-more{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.75rem 0}.books-load-more-label{font-size:.85rem;color:var(--muted)}.books-load-more-btn{border:1.5px solid #1d9e75;border-radius:999px;background:#fff;color:#1D9E75;font-size:.9rem;font-weight:600;padding:.45rem 1.25rem;cursor:pointer;transition:background .12s,color .12s}.books-load-more-btn:hover{background:#1D9E75;color:#fff}@media (max-width:480px){.books-hero-tagline{display:none}.books-page-main{padding:.75rem .75rem 2rem}}.page-layout{display:flex;min-height:calc(100vh - 80px);margin:-1.25rem -.75rem -1.5rem}.child-sidebar{width:80px;flex-shrink:0;border-right:1px solid var(--border);background:#fff;position:-webkit-sticky;position:sticky;top:80px;height:calc(100vh - 80px);display:flex;flex-direction:column;align-items:center;padding:.75rem 0;gap:0;overflow:hidden}.child-sidebar-divider{width:44px;height:1px;background:var(--border);margin:.4rem 0}.child-sidebar-item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:.55rem .25rem;color:var(--muted);font-size:10px;font-weight:600;text-decoration:none;border-radius:8px;width:60px;text-align:center;transition:color .12s,background .12s}.child-sidebar-item:hover{color:var(--foreground);background:var(--surface)}.child-sidebar-item.active{background:#e8f5f0;color:#1D9E75}.main-column{flex:1 1;min-width:0;display:flex;flex-direction:column}.child-name-bar{background:var(--color-background-primary);border-bottom:.5px solid var(--color-border-tertiary);padding:10px 16px;font-size:15px;font-weight:500;color:var(--foreground)}.section-subtitle{font-size:13px;font-weight:400;color:var(--color-text-secondary)}.page-hero{position:relative;display:flex;align-items:center;gap:1rem;background:#e8f5f0;border-bottom:.5px solid #9fe1cb;padding:1.25rem 1.5rem;overflow:hidden;min-height:88px}.page-hero-icon-block{width:48px;height:48px;border-radius:12px;background:#1D9E75;display:flex;align-items:center;justify-content:center;flex-shrink:0}.page-hero-text{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.page-hero-title{font-size:20px;font-weight:500;color:#085041;line-height:1.2}.page-hero-tagline{font-size:13px;color:#0F6E56;line-height:1.4}.page-hero-owl{position:absolute;right:0;bottom:0;height:86px;width:auto;object-fit:contain;object-position:bottom right}.stats-row{justify-content:space-around;padding:12px 16px;border-bottom:.5px solid var(--color-border-tertiary)}.stat-item,.stats-row{display:flex;align-items:center}.stat-item{flex-direction:column;gap:4px}.stat-icon-wrap{width:36px;height:36px;border-radius:50%;background:#e8f5f0;display:flex;align-items:center;justify-content:center}.stat-num{font-size:20px;font-weight:500;color:#085041;line-height:1}.stat-label{font-size:11px;color:var(--color-text-secondary)}.page-toolbar{display:flex;flex-direction:column;gap:.6rem;padding:.75rem 1.25rem;border-bottom:.5px solid var(--color-border-tertiary);position:-webkit-sticky;position:sticky;top:80px;z-index:50;background:var(--color-background,#fff)}.page-toolbar-row{display:flex;align-items:center;gap:.75rem}.page-toolbar-search{flex:1 1;position:relative}.page-search-input{width:100%;border:1px solid var(--border);border-radius:999px;padding:.55rem 1rem;font-size:.92rem;background:var(--surface);color:var(--foreground);transition:border-color .12s}.page-search-input:focus{outline:none;border-color:#1D9E75;background:#fff}.page-content{flex:1 1;display:flex;flex-direction:column;gap:1.25rem;padding:1rem 1.25rem 2rem;overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:480px){.page-hero-tagline{display:none}.page-content{padding:.75rem .75rem 2rem}.app-content{padding:.75rem .375rem}}.static-page{max-width:680px;margin:0 auto;padding:2rem 0 4rem}.static-page h1{font-size:1.75rem;font-weight:700;margin-bottom:1.5rem;color:var(--foreground)}.static-page h2{font-size:1.2rem;font-weight:600;margin-top:2rem;margin-bottom:.75rem;color:var(--foreground)}.static-page li,.static-page p{font-size:.95rem;line-height:1.7;color:var(--muted);margin-bottom:1rem}.static-page__intro{margin-bottom:2rem}.contact-form{display:flex;flex-direction:column;gap:1.25rem;max-width:480px}.contact-form__field{display:flex;flex-direction:column;gap:.4rem}.input-label{font-weight:500}.contact-form__textarea,.input-label{font-size:.95rem;color:var(--foreground)}.contact-form__textarea{width:100%;padding:.65rem .75rem;border:1px solid var(--border);border-radius:var(--radius);font-family:inherit;background:#fff;resize:vertical;min-height:120px}.contact-form__textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #e0f7f4}.contact-success{color:var(--primary);font-weight:500;font-size:1rem}.stats-progress{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:80px;max-width:120px}@media (max-width:640px){.page-toolbar{top:56px}.stat-item--authors{display:none}.stats-progress{flex:0 0 33%;max-width:33%}.stats-progress .reading-hero-progress-bar{height:20px}.stats-progress .reading-hero-fire-title{font-size:.72rem;white-space:nowrap}}.child-bottom-nav{display:none}@media (max-width:640px){.child-sidebar{display:none}.child-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:201;background:var(--color-surface,#fff);border-top:1px solid var(--color-border,#e5e7eb);height:60px;align-items:stretch}.child-bottom-nav__item{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:.625rem;font-weight:500;color:var(--color-text-muted,#6b7280);text-decoration:none;padding:6px 0}.child-bottom-nav__item.active{color:var(--primary)}.page-layout{padding-bottom:60px}}.book-section-empty-owl{display:flex;justify-content:center;align-items:center;padding:48px 24px}.book-section-empty-owl img{max-width:220px;width:100%;height:auto}.admin-top-row,.audit-header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.audit-form{border:1px solid var(--border);background:#fff;padding:1rem}.audit-form,.audit-form-fields{display:grid;grid-gap:.75rem;gap:.75rem}.audit-form-fields{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.audit-results{display:grid;grid-gap:.75rem;gap:.75rem}.audit-section{border:1px solid var(--border);background:#fff}.audit-section-header{display:flex;align-items:center;gap:.6rem;width:100%;padding:.7rem .9rem;background:var(--surface);border:0;cursor:pointer;font-size:.95rem;font-weight:600;text-align:left}.audit-section-header:hover{background:#f0f0f0}.audit-chevron{margin-left:auto;color:var(--muted)}.audit-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;padding:.1rem .45rem;font-size:.78rem;font-weight:700;border-radius:999px}.audit-badge-missing{background:#fee2e2;color:#991b1b}.audit-badge-incomplete{background:#fef9c3;color:#854d0e}.audit-badge-ok{background:#dcfce7;color:#166534}.audit-section-body,.audit-section-body>.audit-row+.audit-row{border-top:1px solid var(--border)}.audit-empty{padding:.75rem .9rem}.audit-row{display:flex;align-items:flex-start;gap:.75rem;padding:.65rem .9rem}.audit-thumb{width:44px;height:64px;object-fit:cover;border:1px solid var(--border);border-radius:3px;flex-shrink:0}.audit-thumb-placeholder{background:var(--surface);border-radius:3px}.audit-row-info{flex:1 1;min-width:0;display:grid;grid-gap:.2rem;gap:.2rem}.audit-row-title{font-size:.9rem;font-weight:600;line-height:1.3}.audit-row-meta{display:flex;flex-wrap:wrap;gap:.25rem .6rem;font-size:.8rem;color:var(--muted)}.audit-pills{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.15rem}.audit-missing-pill{display:inline-block;background:#fee2e2;color:#991b1b;font-size:.72rem;font-weight:600;padding:.1rem .4rem;border-radius:3px}.audit-row-actions{display:flex;flex-direction:column;gap:.35rem;flex-shrink:0;align-items:stretch;min-width:110px}.audit-row-mismatch{flex-wrap:wrap;align-items:flex-start}.audit-mismatch-fields{display:grid;grid-gap:.45rem;gap:.45rem;margin-top:.4rem}.audit-field-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.audit-field-label{font-size:.8rem;font-weight:600;color:var(--foreground);min-width:90px;flex-shrink:0}.audit-field-input{width:auto;min-width:140px;max-width:240px;flex:1 1;padding:.35rem .5rem;font-size:.85rem}.audit-google-hint{font-size:.78rem;color:var(--muted);white-space:nowrap}.audit-duplicate-group{display:flex;flex-wrap:wrap;gap:.75rem;padding:.75rem .9rem;border-top:1px solid var(--border)}.audit-duplicate-group:first-child{border-top:none}.audit-duplicate-card{flex:1 1;min-width:200px;border:1px solid var(--border);background:var(--surface);padding:.65rem;display:grid;grid-gap:.35rem;gap:.35rem}.audit-duplicate-info{display:grid;grid-gap:.15rem;gap:.15rem;font-size:.85rem}.audit-duplicate-info strong{font-size:.9rem;line-height:1.3}.audit-completeness{font-size:.75rem;color:var(--muted);border:1px solid var(--border);width:-moz-fit-content;width:fit-content;margin-top:.1rem}.audit-completeness,.audit-mismatch-pill{display:inline-block;padding:.1rem .4rem;border-radius:3px}.audit-mismatch-pill{background:#fef9c3;color:#92400e;font-size:.72rem;font-weight:600}.audit-row--collapsed{cursor:pointer}.audit-row--collapsed:hover{background:var(--surface)}.audit-row--expanded{border-top:1px solid var(--border)}.audit-row--expanded:first-child{border-top:none}.audit-row--header{cursor:pointer;background:var(--surface)}.audit-row--header:hover{filter:brightness(.97)}.audit-expand-body{padding:.65rem .9rem .75rem;display:flex;flex-direction:row;gap:1rem;align-items:flex-start}.audit-expand-fields{flex:1 1;min-width:0;display:grid;grid-gap:.5rem;gap:.5rem}.audit-accept-btn{font-size:.78rem;color:var(--primary);background:none;border:1px solid var(--primary);border-radius:3px;padding:.2rem .45rem;cursor:pointer;white-space:nowrap;flex-shrink:0}.audit-accept-btn:hover{background:var(--primary);color:#fff}.audit-cover-row{align-items:flex-start}.audit-cover-pair{display:flex;gap:1rem;flex-wrap:wrap}.audit-cover-item{display:flex;flex-direction:column;align-items:center;gap:.25rem}.audit-cover-editions-wrap{display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-start}.audit-cover-editions{display:flex;gap:.5rem;flex-wrap:wrap}.audit-edition-card{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.35rem;border:2px solid var(--border);border-radius:4px;cursor:pointer;background:var(--surface)}.audit-edition-card:hover{border-color:var(--primary)}.audit-edition-card--selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,transparent)}.audit-cover-img{object-fit:cover}.audit-cover-img,.audit-cover-img--placeholder{width:56px;height:80px;border:1px solid var(--border);border-radius:3px}.audit-cover-img--placeholder{background:var(--surface)}.audit-section-body>.audit-row+.audit-row--expanded,.audit-section-body>.audit-row--expanded+.audit-row,.audit-section-body>.audit-row--expanded+.audit-row--expanded{border-top:1px solid var(--border)}.admin-dashboard-nav{display:flex;gap:1rem;margin-bottom:1.5rem}.admin-dashboard-nav a{padding:.5rem 1.25rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem;font-weight:500;color:var(--foreground);text-decoration:none}.admin-dashboard-nav a:hover{background:var(--surface)}.admin-stat-cards{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.admin-stat-card{flex:0 0 120px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.25rem 1.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;text-align:center}.admin-stat-card-label{font-size:.85rem;color:var(--muted)}.admin-stat-card-value{font-size:2rem;font-weight:700;color:var(--foreground);line-height:1.1}.admin-ranked-lists{display:flex;flex-direction:row;gap:1.25rem;margin-bottom:2rem;overflow-x:auto}.admin-ranked-list{flex:0 0 300px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.25rem}.admin-ranked-list h2{font-size:1rem;font-weight:600;margin-bottom:1rem}.admin-ranked-row{display:flex;align-items:flex-start;gap:.75rem;padding:.4rem 0;border-bottom:1px solid var(--border);font-size:.88rem}.admin-ranked-row:last-child{border-bottom:none}.admin-ranked-rank{color:var(--muted);width:1.25rem;flex-shrink:0;text-align:right}.admin-ranked-book{flex:1 1;min-width:0}.admin-ranked-title{font-weight:500}.admin-ranked-author,.admin-ranked-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.admin-ranked-author{font-size:.8rem;color:var(--muted)}.admin-ranked-count{font-weight:600;flex-shrink:0}.admin-dashboard-footer{display:flex;align-items:center;gap:1rem;font-size:.88rem}@media (max-width:700px){.admin-ranked-lists{flex-direction:column;overflow-x:unset}.admin-ranked-list{flex:unset;width:100%;min-width:0;overflow:hidden}}.admin-ranked-list-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.admin-ranked-list-header span:first-child{font-size:1rem;font-weight:600;flex:1 1}.admin-ranked-list-count{font-size:.85rem;color:var(--muted)}.admin-ranked-list-body{display:block}.required-indicator{color:var(--color-error);margin-left:2px}.home-origin-wrap{padding:1rem max(1.5rem,calc((100% - 960px) / 2 + 1.5rem))}.home-origin{display:flex;align-items:center;gap:1.25rem;width:100%}.home-origin__img{width:100px;flex-shrink:0}.home-origin__text{display:flex;flex-direction:column}.home-origin__heading{font-size:1.1rem;font-weight:700;color:var(--color-teal);margin:0 0 .35rem}.home-origin__body{font-size:.95rem;color:var(--nav-text);margin:0 0 .5rem;line-height:1.5}.home-origin__attribution{font-size:.8rem;color:var(--muted);margin:0}.home-origin__cta{font-size:.9rem;font-weight:700;color:var(--color-teal);margin:0}.home-origin__footer{display:flex;gap:1.5rem;font-size:.85rem;color:var(--muted);margin-top:.75rem}.home-features{display:flex;gap:2.5rem;align-items:flex-start}.home-feature{display:flex;flex-direction:column;align-items:center;gap:.4rem;text-align:center}.home-feature__icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.3rem}.home-feature__icon--teal{background:var(--color-teal-light)}.home-feature__icon--amber{background:var(--feature-icon-bg-amber)}.home-feature__icon--purple{background:var(--feature-icon-bg-purple)}.home-feature__label{font-size:.8rem;font-weight:500;color:var(--foreground);line-height:1.3}.home-cta-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;font-size:1rem;font-weight:700;border-radius:999px;padding:.85rem 2rem;max-width:250px;width:100%;transition:background .15s}.home-cta-btn:hover{background:var(--primary-hover);color:#fff}.home-checks{display:flex;flex-direction:row;gap:1.25rem}.home-check{font-size:.9rem;color:var(--muted)}