:root{--paper:#ffffff;--sidebar:#f5f5f5;--ink:#1d1d1d;--muted:#636363;--control-line:#7a7a80;--line:#e5e5e5;--accent:#303030;--active:#e9e9e9;--focus:#484848;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--serif:Georgia,"Times New Roman",serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.45 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}a{color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button svg{pointer-events:none}svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:20px;background:var(--ink);color:white;padding:12px 20px;border-radius:8px;z-index:100}.skip-link:focus{top:12px}.library-shell{display:flex;min-height:100vh}.sidebar{width:236px;flex:0 0 236px;background:var(--sidebar);border-right:1px solid var(--line);padding:30px 18px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;overflow-y:auto}.brand{display:block;width:143px;margin:0 12px 26px}.brand img{width:100%;height:auto;display:block}.sidebar-caption{font-size:9px;letter-spacing:1.8px;color:var(--muted);margin:0 12px 17px}.primary-nav,.library-nav,.collections-nav{display:flex;flex-direction:column;gap:3px}.nav-button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 13px;text-align:left;border-radius:7px;font-size:14px;color:#5e5e5e;transition:background .15s,color .15s}.nav-button:hover{background:#e8e8e8}.nav-button.active{background:var(--active);color:#5a5a5a;font-weight:600;box-shadow:inset 3px 0 var(--accent)}.nav-button svg{width:20px;height:20px}.nav-button .nav-count{margin-left:auto;color:var(--muted);font-size:11px}.sidebar-library{margin-top:30px}.sidebar-section-title{font-size:11px;font-weight:600;color:var(--muted);margin:0 13px 10px}.collections-heading{display:flex;align-items:center;justify-content:space-between;margin-top:28px;margin-bottom:5px}.collections-heading .icon-button{width:30px;height:30px;min-height:30px}.collections-heading svg{width:16px;height:16px}.collections-nav .nav-button{font-size:13px;min-height:39px;padding-block:8px}.collection-empty{padding:0 13px;font-size:12px;line-height:1.7;color:var(--muted)}.sidebar-footer{margin-top:auto;padding-top:34px}.account-button{border-top:1px solid var(--line);padding:18px 8px 0;display:flex;align-items:center;gap:10px;width:100%;text-align:left}.account-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:10px;letter-spacing:1px;background:#d9d9d9;color:#575757}.account-button strong{display:block;font-size:12px;font-weight:600}.account-button small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.account-more{margin-left:auto;font-size:20px}.content-shell{margin-left:236px;flex:1;min-width:0}.tablet-header{display:none}.demo-banner{background:#e4e4e4;color:#565656;font-size:11px;padding:9px 42px;display:flex;justify-content:space-between;gap:12px}.demo-banner a{color:#565656;text-underline-offset:3px}main{padding:30px 48px 35px;max-width:1510px;margin:0 auto}.page-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px;min-height:28px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:var(--muted)}.topline-actions{display:flex;align-items:center;gap:16px}.sync-indicator{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.sync-dot{width:5px;height:5px;background:#8b8b8b;border-radius:50%}.sync-indicator.pending .sync-dot{background:#696969}.sync-indicator.error .sync-dot{background:#636363}.icon-button{height:38px;width:38px;min-height:38px;display:inline-grid;place-items:center;border-radius:50%;color:#6f6f6f;flex-shrink:0}.icon-button:hover{background:#e7e7e7}.icon-button svg{width:20px;height:20px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:33px}h1{font:normal 52px/1.1 var(--serif);letter-spacing:-1.7px;margin:0 0 11px}#page-description{font-size:13px;color:var(--muted);margin:0}.heading-actions{display:flex;align-items:center;gap:9px;padding-bottom:4px}.text-button{font-size:12px;color:var(--accent);padding:10px 0;display:inline-flex;align-items:center;gap:7px}.text-button svg{width:17px;height:17px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:34px 0 22px}.section-heading h2{font:normal 26px/1.2 var(--serif);letter-spacing:-.4px;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:6px 0 0}.section-heading .text-button{white-space:nowrap}.books-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:38px 27px;align-items:start}.book-item{position:relative;min-width:0}.book-open{display:block;width:100%;text-align:left;padding:0;border-radius:2px}.cover-space{height:clamp(176px,19vw,284px);display:flex;align-items:flex-end;justify-content:flex-start;margin-bottom:16px;position:relative}.book-cover{max-height:100%;max-width:100%;width:auto;height:auto;display:block;object-fit:contain;box-shadow:1px 3px 6px #3b3b3b26,0 9px 18px -10px #39393975;border-radius:1px 3px 3px 1px;transition:transform .2s ease,box-shadow .2s ease;background:#ebebeb}.book-open:hover .book-cover{transform:translateY(-4px);box-shadow:2px 5px 9px #3b3b3b2a,0 15px 22px -12px #39393990}.book-open:focus-visible{outline-offset:7px}.cover-placeholder{height:100%;width:77%;background:#e2e2e2;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:18px;color:#595959;border-left:4px solid #c6c6c6;font:21px/1.12 var(--serif)}.cover-placeholder span{font:9px var(--sans);letter-spacing:1.6px;margin-bottom:auto}.book-title{font-size:13px;font-weight:600;line-height:1.4;margin:0;padding-right:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-meta{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6}.book-status{font-size:10px;color:var(--muted);margin-top:6px;min-height:15px;display:flex;align-items:center;gap:5px}.book-status svg{width:11px;height:11px}.book-menu{position:absolute;right:-6px;bottom:31px;height:30px;width:30px;font-size:19px;letter-spacing:-1px;border-radius:50%;color:#797979}.book-menu:hover{background:#e5e5e5}.read-progress{width:38px;height:2px;background:#dedede;display:inline-block;border-radius:2px;overflow:hidden}.read-progress span{display:block;height:100%;background:var(--accent)}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:16px 0 23px}.toolbar-leading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-chip{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#606060;background:#eaeaea;border-radius:20px;min-height:34px;padding:6px 13px;white-space:nowrap}.filter-chip svg{width:13px;height:13px}.filter-chip.active{background:#dedede;color:#535353}.toolbar-trailing{display:flex;align-items:center;gap:15px;flex-shrink:0}.sort-select{border:0;max-width:160px;background:none;font-size:11px;color:var(--muted);padding:7px 18px 7px 3px;cursor:pointer}.view-switch{display:flex;gap:2px;border:1px solid var(--line);border-radius:6px;padding:2px}.view-switch button{width:30px;height:28px;display:grid;place-items:center;border-radius:3px;color:var(--muted)}.view-switch button.active{background:#e2e2e2;color:#5c5c5c;box-shadow:inset 0 0 0 1px currentColor}.view-switch svg{width:15px;height:15px}.result-count{font-size:11px;color:var(--muted);margin:0 0 19px}.books-list{display:flex;flex-direction:column}.books-list .book-item{padding:16px 46px 16px 0;border-bottom:1px solid var(--line)}.books-list .book-open{display:grid;grid-template-columns:60px 1fr;column-gap:22px;align-items:center}.books-list .cover-space{grid-row:1/5;height:79px;margin:0}.books-list .book-title{font-size:14px}.books-list .book-meta{font-size:11px}.books-list .book-status{margin:4px 0 0}.books-list .book-menu{right:0;bottom:50%;transform:translateY(50%)}.continue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-bottom:1px solid var(--line);padding-bottom:28px}.continue-book{display:grid;grid-template-columns:58px 1fr;gap:15px;padding:0;text-align:left;min-width:0;align-items:center}.continue-cover{height:78px;width:58px;object-fit:contain;object-position:left center;filter:drop-shadow(1px 3px 3px #0002)}.continue-title{display:block;font-size:13px;font-weight:600;line-height:1.4;margin-bottom:8px}.continue-meta{display:block;font-size:10px;color:var(--muted)}.continue-book .continue-link{display:flex;align-items:center;gap:6px;color:var(--accent);font-size:10px;margin-top:8px}.continue-link svg{width:13px;height:13px}.home-note{border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;padding:2px 0 24px;color:var(--muted);font-size:12px}.home-note svg{color:var(--accent);width:26px;height:26px}.discipline-grid{display:flex;flex-wrap:wrap;gap:10px}.discipline-button{border:1px solid var(--line);border-radius:5px;padding:13px 18px;text-align:left;font-size:12px;display:flex;gap:18px;align-items:center;transition:background .15s}.discipline-button:hover{background:#e8e8e8}.discipline-button small{color:var(--muted);font-size:10px}.search-box{position:relative;margin:0 0 30px}.search-box svg{position:absolute;left:16px;top:14px;width:20px;height:20px;color:var(--muted)}.search-box input{background:#eaeaea;border:1px solid var(--control-line);outline-offset:2px;border-radius:8px;height:48px;width:100%;padding:12px 44px 12px 46px;font-size:15px;color:var(--ink)}.search-box input::placeholder{color:var(--muted);opacity:1}.search-clear{position:absolute;right:8px;top:5px;width:38px;height:38px}.search-hint{font-size:12px;color:var(--muted);margin:0 0 24px}.empty-state,.loading-state{padding:60px 20px 85px;text-align:center;display:flex;align-items:center;flex-direction:column;max-width:520px;margin:0 auto}.empty-state>svg{width:48px;height:48px;color:var(--control-line);stroke-width:1.2;margin-bottom:22px}.empty-state h2{font:normal 27px var(--serif);margin:0 0 12px}.empty-state p,.loading-state p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 19px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:6px;min-height:42px;padding:10px 18px;font-size:12px;text-decoration:none;background:#f0f0f0}.button.primary{color:#fff;background:#646464;border-color:#646464}.button svg{width:17px;height:17px}.loading-spinner{height:22px;width:22px;border:2px solid #dfdfdf;border-top-color:#797979;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:18px}@keyframes spin{to{transform:rotate(360deg)}}.library-footer{display:flex;align-items:center;justify-content:space-between;margin:35px 48px 0;padding:24px 0 27px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;letter-spacing:.2px}.library-footer a{text-decoration:none;color:var(--muted)}.bottom-nav{display:none}.reader-root{position:fixed;inset:0;z-index:50;background:#e8e8e8}.reader-open{overflow:hidden}.options-dialog{border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);width:min(500px,calc(100% - 32px));padding:25px;box-shadow:0 20px 70px #2a2a2a26;max-height:85dvh}.options-dialog::backdrop{background:#1e1e1e45;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dialog-heading h2{font:normal 27px/1.2 var(--serif);margin:0}.dialog-description{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 20px}.field-label{display:block;font-size:12px;margin:17px 0 8px;color:#6e6e6e}.field-input{background:#fff;border:1px solid var(--control-line);padding:11px 12px;min-height:44px;border-radius:6px;width:100%;color:var(--ink)}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.option-row{display:flex;gap:12px;align-items:center;text-align:left;width:100%;min-height:52px;padding:12px 3px;border-bottom:1px solid var(--line);font-size:13px;text-decoration:none}.option-row>svg{color:var(--muted);width:20px;height:20px}.option-row>span{flex:1}.option-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.option-row .trailing{margin-left:auto;width:16px;color:var(--muted)}.option-row.danger{color:#5f5f5f}.collection-checkbox{accent-color:#303030;width:18px;height:18px}.filter-fieldset{border:0;padding:0;margin:0 0 19px}.filter-fieldset legend{font-size:12px;font-weight:600;padding:0;margin-bottom:9px}.filter-options{display:flex;flex-wrap:wrap;gap:7px}.filter-option{border:1px solid var(--line);border-radius:18px;padding:8px 13px;font-size:11px}.filter-option.active{background:#e0e0e0;border-color:#595959;color:#595959;font-weight:600}.context-menu{position:fixed;z-index:80;background:var(--paper);border:1px solid #d9d9d9;padding:6px;border-radius:9px;box-shadow:0 10px 38px #27272726;width:235px}.context-menu button{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:11px 10px;font-size:12px;border-radius:4px;min-height:42px}.context-menu button:hover{background:#e7e7e7}.context-menu button svg{width:17px;height:17px;color:#787878}.context-menu button:disabled{color:#a5a5a5}.menu-divider{height:1px;background:var(--line);margin:5px}.toast{position:fixed;z-index:100;left:50%;bottom:28px;transform:translateX(-50%);background:#323232;color:#fff;font-size:12px;padding:13px 20px;border-radius:8px;box-shadow:0 4px 20px #0002;max-width:min(480px,calc(100% - 32px));text-align:center}.storage-summary{font-size:12px;color:var(--muted);line-height:1.7;margin:15px 0}.storage-item{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:11px 0}.storage-item img{width:32px;height:44px;object-fit:contain}.storage-item strong{font-size:12px;font-weight:600;display:block}.storage-item small{font-size:10px;color:var(--muted)}.storage-item .text-button{margin-left:auto}.info-cover{max-height:150px;max-width:112px;object-fit:contain;box-shadow:1px 3px 8px #0002}.info-header{display:flex;gap:23px;align-items:flex-start;margin-bottom:25px}.info-header h3{font:normal 24px/1.25 var(--serif);margin:7px 0 10px}.info-header p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.info-note{font-size:11px;color:var(--muted);line-height:1.7;background:#ebebeb;padding:13px;border-radius:5px}.noscript{padding:30px}.dialog-error{color:#5f5f5f;font-size:12px;margin-top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sync-indicator{padding:7px 0;border-radius:3px;min-height:34px}.review-item{border-bottom:1px solid var(--line);padding:15px 0 20px}.review-heading strong{font-size:13px;font-weight:600}.review-heading small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.review-reason{font-size:11px;color:#696969;line-height:1.6;margin:12px 0}.review-text{width:100%;border:1px solid var(--control-line);background:#fff;color:var(--ink);border-radius:6px;resize:vertical;padding:10px;font-size:13px;line-height:1.6}.review-actions{display:flex;align-items:center;gap:18px;margin-top:12px;flex-wrap:wrap}.review-actions .danger{color:#5f5f5f}.review-actions .button{margin-left:auto}.review-actions button{min-height:42px}
.page-heading>div:first-child{min-width:0}h1{overflow-wrap:anywhere}.filter-chip span{overflow:hidden;text-overflow:ellipsis;max-width:240px}.filter-option{min-height:38px}.search-clear{min-height:38px}.view-switch button{min-height:32px}.info-cover{width:112px}.cover-placeholder{overflow-wrap:anywhere}
@media(min-width:1650px){main{padding-left:72px;padding-right:72px}.cover-space{height:290px}.books-grid{gap:44px 37px}.library-footer{margin-left:72px;margin-right:72px}}
@media(max-width:1250px){.sidebar{width:214px;flex-basis:214px;padding-inline:13px}.content-shell{margin-left:214px}main{padding-inline:35px}.books-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 25px}.cover-space{height:clamp(170px,22vw,266px)}.continue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-footer{margin-inline:35px}}
@media(max-width:1000px){.sidebar{display:none}.content-shell{margin-left:0}.tablet-header{display:flex;height:74px;align-items:center;justify-content:space-between;padding:0 35px;border-bottom:1px solid var(--line);gap:25px}.tablet-header>a{width:110px;display:block}.tablet-header img{width:100%;display:block}.tablet-nav{display:flex;gap:4px}.tablet-nav .nav-button{min-height:36px;padding:8px 14px;width:auto;font-size:12px;gap:8px}.tablet-nav svg{width:17px;height:17px}.tablet-header>.icon-button{width:32px}.page-topline{margin-bottom:27px}.topline-actions>.icon-button{display:none}.page-heading{margin-bottom:29px}h1{font-size:49px}.cover-space{height:clamp(198px,29vw,285px)}main{padding-top:28px}.demo-banner{padding-inline:35px}}
@media(max-width:760px){main{padding:24px 26px 28px}.books-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.cover-space{height:clamp(150px,32vw,230px)}.tablet-header{padding-inline:26px}.tablet-nav .nav-button{padding-inline:10px}.book-title{font-size:12px}.library-toolbar{gap:10px}.toolbar-trailing{gap:7px}.filter-chip{font-size:10px;padding-inline:10px}.sort-select{max-width:130px;font-size:10px}.continue-grid{gap:22px}.continue-title{font-size:12px}.library-footer{margin-inline:26px}.demo-banner{padding-inline:26px}}
@media(max-width:570px){.tablet-header{height:61px;padding-inline:22px}.tablet-header>a{width:96px}.tablet-nav{display:none}.tablet-header>.icon-button{width:38px}.demo-banner{padding:8px 22px;font-size:9px;align-items:center}.demo-banner span{max-width:230px}.demo-banner a{white-space:nowrap}main{padding:22px 22px 23px}.page-topline{margin-bottom:25px}.eyebrow{font-size:8px;letter-spacing:1.6px}.sync-indicator{font-size:9px}.page-heading{margin-bottom:25px;gap:12px;align-items:center}h1{font-size:44px;letter-spacing:-1.4px;margin-bottom:8px}#page-description{font-size:11px;max-width:270px}.heading-actions{padding:0}.heading-actions .text-button{font-size:0;padding:5px}.heading-actions .text-button svg{width:23px;height:23px}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:31px 24px}.cover-space{height:clamp(186px,57vw,262px);margin-bottom:13px}.book-title{font-size:12px;line-height:1.4;padding-right:18px}.book-meta{font-size:10px}.book-menu{bottom:31px;right:-9px;width:34px;height:34px}.book-status{font-size:9px}.library-toolbar{padding:14px 0 19px;align-items:flex-start;flex-wrap:wrap;gap:13px}.toolbar-leading{gap:7px}.toolbar-trailing{margin-left:auto}.filter-chip{min-height:32px;font-size:10px;padding-inline:11px}.sort-select{max-width:125px;padding:6px 8px 6px 0}.view-switch button{width:27px}.result-count{font-size:10px;margin-bottom:18px}.section-heading{margin:28px 0 20px}.section-heading h2{font-size:24px}.section-heading .text-button{font-size:10px}.continue-grid{grid-template-columns:1fr;gap:22px;padding-bottom:25px}.continue-book{grid-template-columns:53px 1fr;gap:15px}.continue-cover{height:72px;width:53px}.continue-title{font-size:13px;margin-bottom:5px}.continue-book .continue-link{margin-top:5px}.continue-meta{font-size:10px}.home-note{padding-bottom:20px;font-size:11px;gap:12px}.home-note svg{width:23px;height:23px}.discipline-grid{gap:8px}.discipline-button{padding:11px 13px;font-size:11px;gap:13px}.discipline-button small{font-size:9px}.library-footer{margin:16px 22px 77px;padding-block:20px;font-size:9px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;justify-content:space-around;background:var(--paper);border-top:1px solid #d9d9d9;backdrop-filter:blur(18px);padding:7px 12px calc(7px + env(safe-area-inset-bottom));min-height:61px}.bottom-nav .nav-button{flex-direction:column;gap:3px;min-height:47px;padding:4px 17px;width:auto;font-size:9px;border-radius:7px;color:var(--muted)}.bottom-nav .nav-button.active{background:var(--active);color:#5a5a5a;font-weight:600;box-shadow:inset 0 2px currentColor}.bottom-nav svg{width:23px;height:23px}.toast{bottom:calc(78px + env(safe-area-inset-bottom));font-size:11px}.empty-state,.loading-state{padding:45px 8px 55px}.empty-state h2{font-size:25px}.empty-state p{font-size:12px}.search-box{margin-bottom:24px}.search-box input{font-size:13px;height:45px}.search-box svg{top:12px}.options-dialog{padding:21px;border-radius:15px;max-height:85dvh}.context-menu{left:16px!important;right:16px;top:auto!important;bottom:calc(77px + env(safe-area-inset-bottom));width:auto;padding:8px;border-radius:13px}.context-menu button{min-height:47px;font-size:13px;padding:12px 14px}.books-list .book-open{grid-template-columns:49px 1fr;gap:16px}.books-list .cover-space{height:66px}.books-list .book-title{font-size:12px}.books-list .book-meta{font-size:10px}.books-list .book-menu{right:0;bottom:50%}.dialog-heading h2{font-size:25px}}
@media(max-width:570px){.filter-chip{min-height:40px}.filter-chip span{max-width:190px}.filter-option{min-height:42px}.view-switch button{min-height:36px;width:31px}.book-menu{min-height:38px;min-width:38px}.heading-actions .text-button{min-width:42px;min-height:42px;justify-content:center}.dialog-actions{flex-wrap:wrap}}
@media(max-width:570px){.field-input,.search-box input,.review-text{font-size:16px}.icon-button,.book-menu{min-width:44px;min-height:44px}.filter-chip,.filter-option,.discipline-button,.sort-select{min-height:44px;min-width:44px}.view-switch button{min-width:44px;min-height:44px}.search-clear{top:1px}.tablet-header>.icon-button{width:44px}.books-list .book-menu{right:-8px}.book-menu{right:-12px}.book-title{padding-right:30px}.heading-actions .text-button{min-width:44px;min-height:44px}.review-actions button,.sync-indicator{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Field text and touch targets remain readable without changing the quiet shelf layout. */
.field-input::placeholder,.review-text::placeholder{color:var(--muted);opacity:1}
@media(max-width:570px){.button,.text-button{min-height:44px;min-width:44px}.library-footer a{display:inline-flex;align-items:center;min-height:44px}.demo-banner a{display:inline-flex;align-items:center;min-height:24px}.search-box input{padding-right:52px}}

/* Missing covers remain contained in every presentation, including long titles. */
.cover-placeholder{overflow:hidden;min-width:0}.placeholder-title{font:inherit;font-weight:normal;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.books-list .cover-placeholder{width:100%;height:100%;padding:5px;border-left-width:2px;font-size:8px;line-height:1.2}.books-list .cover-placeholder>span{display:none}.books-list .placeholder-title{-webkit-line-clamp:6}
.storage-item>.cover-placeholder{width:32px;height:44px;flex:0 0 32px;padding:3px;border-left-width:1px;font-size:5px}.storage-item>.cover-placeholder>span{display:none}
.info-header>.cover-placeholder{width:112px;height:150px;flex:0 0 112px;padding:10px;font-size:15px}.info-header>.cover-placeholder>span{font-size:6px;letter-spacing:.5px}
.continue-cover.cover-placeholder{padding:5px;font-size:7px}.continue-cover.cover-placeholder>span{display:none}

.sidebar-brand-row{display:flex;align-items:flex-start;gap:4px}.sidebar-brand-row .brand{flex:1;min-width:0;margin-right:0}.sidebar-collapse{margin-top:4px;font-size:25px;min-width:38px}.page-topline-leading{display:flex;align-items:center;gap:15px;min-width:0}.show-navigation{display:none}.library-inline-search{max-width:430px;margin-bottom:20px}.library-inline-search input{height:44px;font-size:13px}.library-inline-search>svg{top:12px}.library-inline-search .search-clear{top:3px}#page-title:focus{outline:none}
@media(width > 1000px){.sidebar-hidden .sidebar{display:none}.sidebar-hidden .content-shell{margin-left:0}.sidebar-hidden .show-navigation{display:inline-grid}.sidebar-hidden .books-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}
@media(max-width:1000px){.sidebar-collapse,.show-navigation{display:none}.library-inline-search:not(.has-query){display:none}}

/* The collection leads; organization follows the student's intent. */
:root{--paper:#ffffff;--sidebar:#f6f6f6;--ink:#232323;--muted:#646464;--line:#e7e7e7;--accent:#555555;--active:#eaeaea;--focus:#555555;--error:#4f4f4f}
main{max-width:1400px;padding-top:28px}
.sidebar{background:var(--sidebar);padding-top:28px}
.brand{width:130px;margin-bottom:24px}
.nav-button{color:var(--muted);border-radius:10px}
.nav-button.active{color:var(--accent);background:var(--active);box-shadow:none;font-weight:600}
.page-topline{margin-bottom:24px}
.page-heading{align-items:center;margin-bottom:26px;gap:20px}
h1{font:600 38px/1.12 var(--serif);letter-spacing:-1.1px;margin-bottom:8px}
#page-description{font-size:12px;line-height:1.4}
.heading-actions{gap:9px;padding:0}
.heading-actions>.icon-button{width:44px;height:44px;border:1px solid var(--line);background:#fafafa;color:var(--ink)}
.heading-actions>.icon-button:hover{background:var(--active)}
.heading-actions .mobile-account-button{display:none}
.mobile-account-button{position:relative}
.mobile-account-button[data-sync="error"]::after,.mobile-account-button[data-sync="review"]::after,.mobile-account-button[data-sync="pending"]::after,.mobile-account-button[data-sync="offline"]::after{content:"";position:absolute;right:5px;top:4px;width:8px;height:8px;border-radius:50%;background:#555555;box-shadow:0 0 0 2px var(--paper)}
.mobile-account-button[data-sync="error"]::after,.mobile-account-button[data-sync="review"]::after{background:var(--error)}
@media(width > 1000px){body:not(.sidebar-hidden) .page-topline{display:none}}
.library-toolbar{border:0;padding:0 0 22px;gap:16px}
.filter-chip{background:var(--paper);border:1px solid var(--line);border-radius:9px;font-size:12px;min-height:40px}
.filter-chip.active{background:var(--active);color:var(--accent)}
.result-count{font-size:11px;margin-bottom:24px}
.library-inline-search{max-width:none;margin-bottom:22px}
.search-box input{border:1px solid var(--control-line);background:#f3f3f3;border-radius:12px;min-height:46px;font-size:15px}
.library-inline-search input{height:46px;font-size:14px}
.books-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:38px 32px}
.cover-space{height:auto;aspect-ratio:.71;margin-bottom:14px;align-items:flex-end}
.book-cover{width:100%;height:100%;object-fit:contain;object-position:left bottom;background:none;border-radius:2px;box-shadow:0 2px 3px #2929290b,0 9px 18px -10px #29292955}
.book-open:hover .book-cover{transform:translateY(-3px);box-shadow:0 6px 18px #29292924}
.book-title{font-size:14px;line-height:1.35;letter-spacing:-.12px;padding-right:0}
.book-meta{font-size:11px;line-height:1.45;margin-top:5px}
.book-status{font-size:11px;line-height:1.5;min-height:22px;padding-right:35px;margin-top:5px}
.book-menu{right:-12px;bottom:-10px;min-width:44px;min-height:44px;color:var(--muted);font-size:22px;display:grid;place-items:center}
.books-list .cover-space{aspect-ratio:auto}
.books-list .book-open{grid-template-columns:64px 1fr;column-gap:20px}
.books-list .book-menu{bottom:50%;right:0}
.books-grid .cover-placeholder{width:100%;font-size:18px;line-height:1.25;overflow-wrap:break-word;background:#e8e8e8}
.books-grid .placeholder-title{-webkit-line-clamp:5}
.section-heading h2{font:600 25px/1.2 var(--serif);letter-spacing:-.45px}
.continue-grid{border:0;padding:0;gap:16px}
.continue-book{background:#f3f3f3;border:1px solid #eaeaea;border-radius:16px;padding:18px;grid-template-columns:70px 1fr;gap:18px;align-items:center}
.continue-cover{height:98px;width:70px}
.continue-title{font-size:15px;line-height:1.3}
.continue-meta{font-size:11px;line-height:1.5}
.continue-book .continue-link{font-size:12px;margin-top:12px;font-weight:600}
.home-note{padding:0 0 8px;border:0;font-size:12px}
.demo-banner{padding-block:6px;background:#f0f0f0;font-size:10px}
.options-dialog{border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:0 24px 80px #16161624}
.options-dialog::backdrop{background:#23232345;backdrop-filter:blur(3px)}
.dialog-heading h2{font:600 25px/1.15 var(--serif);letter-spacing:-.5px}
.dialog-heading .icon-button{background:#f1f1f1;min-height:44px;min-width:44px}
.option-row{min-height:58px;font-size:14px;padding:14px 0;gap:14px}
.option-row small{font-size:12px;line-height:1.45;margin-top:4px}
.field-input{border-radius:10px;min-height:46px;font-size:16px}
.field-label{font-size:12px}
.button{min-height:44px;border-radius:11px;font-size:14px}
.button.primary{background:var(--accent);color:#fff}
.shelf-option-group{margin-bottom:24px}
.shelf-view-switch{display:flex;gap:4px;background:#efefef;padding:4px;border-radius:12px;margin-top:18px}
.shelf-view-switch button{display:flex;flex:1;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:9px;font-size:13px}
.shelf-view-switch button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #00000015;color:var(--accent);font-weight:600}
.shelf-view-switch svg{width:18px;height:18px}
@media(min-width:1650px){.books-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:44px 38px}.cover-space{height:auto}}
@media(max-width:1250px){.books-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 28px}.cover-space{height:auto}}
@media(min-width:571px) and (max-width:1000px){.tablet-header{height:58px;padding-inline:32px;background:#fff}.tablet-header>a{width:84px}.tablet-header>.icon-button{display:none}main{padding-inline:32px;padding-top:24px}.page-topline{display:none}.heading-actions .mobile-account-button{display:inline-grid}.books-grid{gap:34px 26px}.library-inline-search:not(.has-query){display:none}.demo-banner{padding-inline:32px}}
@media(min-width:571px) and (max-width:760px){.books-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 26px}}
@media(max-width:570px){
  .tablet-header,.page-topline,.demo-banner,.library-footer{display:none}
  main{padding:24px 24px 112px}
  .page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;margin-bottom:26px;gap:8px 12px;align-items:center}
  .page-heading>div:first-child{display:contents}
  .page-heading h1{grid-column:1/-1;margin-bottom:0}
  .page-heading #page-description{grid-column:1;min-width:0}
  .page-heading .heading-actions{grid-column:2;grid-row:2}
  h1{font-size:34px;line-height:1.1;letter-spacing:-.9px;margin-bottom:7px}
  #page-description{font-size:11px;line-height:1.4;max-width:none}
  .heading-actions{gap:6px;flex-shrink:0}
  .heading-actions>.icon-button{width:44px;min-width:44px;height:44px;border-radius:50%;background:#fbfbfb}
  .heading-actions .mobile-account-button{display:inline-grid}
  .heading-actions svg{width:20px;height:20px}
  .library-toolbar{display:none}
  .result-count{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 28px}
  .cover-space{height:auto;aspect-ratio:.71;margin-bottom:12px}
  .book-title{font-size:13px;font-weight:600;line-height:1.35;padding-right:0}
  .book-meta{font-size:11px;margin-top:4px}
  .book-status{font-size:10px;min-height:22px;line-height:1.4;padding-right:28px;margin-top:4px}
  .book-menu{right:-12px;bottom:-10px;min-width:44px;min-height:44px}
  .books-list .book-item{padding:16px 44px 16px 0}
  .books-list .cover-space{grid-row:1/4;height:76px;margin:0}
  .books-list .book-open{grid-template-columns:54px 1fr;column-gap:16px;row-gap:2px}
  .books-list .book-title{font-size:14px}
  .books-list .book-status{padding-right:0}
  .books-list .book-menu{right:-8px;bottom:50%}
  .bottom-nav{bottom:calc(10px + env(safe-area-inset-bottom));left:14px;right:14px;padding:5px;min-height:64px;border:1px solid #e4e4e4;border-radius:29px;background:#ffffffef;box-shadow:0 5px 28px #20202016;backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%)}
  .bottom-nav .nav-button{flex:1;min-height:52px;min-width:44px;gap:3px;padding:5px 12px;border-radius:24px;font-size:10px;font-weight:500;color:var(--muted)}
  .bottom-nav .nav-button.active{background:var(--active);color:var(--accent);box-shadow:none;font-weight:600}
  .bottom-nav svg{width:22px;height:22px}
  .section-heading{margin:28px 0 20px}
  .section-heading:first-child{margin-top:0}
  .section-heading h2{font-size:23px}
  .section-heading .text-button{font-size:12px}
  .continue-grid{display:flex;overflow-x:auto;gap:12px;margin-inline:-24px;padding:0 24px 4px;scroll-snap-type:x mandatory;scroll-padding:24px;scrollbar-width:none}
  .continue-grid::-webkit-scrollbar{display:none}
  .continue-book{flex:0 0 88%;scroll-snap-align:start;padding:16px;grid-template-columns:62px 1fr;gap:16px;border-radius:15px}
  .continue-cover{width:62px;height:87px}
  .continue-title{font-size:15px;line-height:1.3;margin-bottom:6px}
  .continue-meta{font-size:11px}
  .continue-book .continue-link{font-size:12px;margin-top:9px}
  .search-box input{font-size:16px;min-height:46px;background:#f4f4f4;border-radius:12px}
  .search-box{margin-bottom:24px}
  .options-dialog{position:fixed;inset:auto 8px 8px;max-width:none;width:calc(100% - 16px);margin:0;max-height:calc(90dvh - env(safe-area-inset-bottom));padding:24px 20px max(22px,env(safe-area-inset-bottom));border-radius:22px;overflow-y:auto;overscroll-behavior:contain}
  .dialog-heading{margin-bottom:18px}
  .dialog-heading h2{font-size:25px}
  .filter-option{font-size:13px;min-height:44px}
  .context-menu{bottom:calc(90px + env(safe-area-inset-bottom));border-radius:18px;box-shadow:0 16px 60px #1e1e1e26}
  .toast{bottom:calc(86px + env(safe-area-inset-bottom));font-size:13px;border-radius:14px}
}
@media(max-width:360px){main{padding-inline:20px}.books-grid{gap:30px 24px}h1{font-size:30px}.heading-actions{gap:3px}.continue-grid{margin-inline:-20px;padding-inline:20px}.continue-book{flex-basis:94%}}

/* Navigation shares one icon weight and a stable label column across devices. */
.nav-button svg{stroke-width:1.85}
.nav-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.primary-nav .nav-button,.tablet-nav .nav-button,.bottom-nav .nav-button{letter-spacing:-.15px}
.nav-button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.nav-button:active{background:#e2e2e2}
.nav-button.active:active{background:#dadada}

@media(width > 1000px){
  .sidebar{width:264px;flex-basis:264px;padding:24px 14px 16px;background:#f5f5f5;border-right:1px solid #e3e3e3;scrollbar-width:thin}
  .content-shell{margin-left:264px}
  .sidebar-brand-row{align-items:center;justify-content:space-between;gap:12px;padding:0 8px;margin-bottom:14px}
  .sidebar-brand-row .brand{flex:0 0 136px;width:136px;margin:0}
  .sidebar-collapse{width:44px;height:44px;min-width:44px;min-height:44px;margin:0;border-radius:10px;color:#646464}
  .sidebar-collapse svg,.show-navigation svg{width:20px;height:20px;stroke-width:1.8}
  .sidebar-caption{font-size:9px;font-weight:600;letter-spacing:1.35px;line-height:1.4;margin:0 12px 22px;color:#646464}
  .primary-nav,.library-nav,.collections-nav{gap:4px}
  .sidebar .nav-button{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:500;line-height:24px;color:#4d4d4d;box-shadow:none;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
  .sidebar .nav-button svg{width:20px;height:20px;color:#717171}
  .sidebar .nav-button .nav-label{line-height:24px}
  .sidebar .primary-nav .nav-button{min-height:46px;font-size:15px}
  .sidebar .primary-nav .nav-button svg{width:21px;height:21px}
  .sidebar .nav-button:hover{background:#e8e8e8;color:#232323}
  .sidebar .primary-nav .nav-button.active{color:#505050;background:#e4e4e4;font-weight:600}
  .sidebar .primary-nav .nav-button.active svg{color:#555555}
  .sidebar .library-nav .nav-button.active,.sidebar .collections-nav .nav-button.active{color:#505050;background:#fdfdfd;box-shadow:inset 0 0 0 1px #d9d9d9;font-weight:600}
  .sidebar .library-nav .nav-button.active svg,.sidebar .collections-nav .nav-button.active svg{color:#555555}
  .sidebar .nav-button:active{background:#dadada}
  .sidebar .nav-button.active:active{background:#dadada}
  .sidebar .nav-button .nav-count{margin:0;min-width:22px;padding:0 4px;text-align:center;font-size:11px;font-weight:500;line-height:22px;color:#646464;font-variant-numeric:tabular-nums;letter-spacing:0;border-radius:6px;background:#e9e9e9}
  .sidebar .nav-button.active .nav-count{color:#505050;background:#e4e4e4}
  .sidebar-library{margin-top:26px}
  .sidebar-section-title{font-size:11px;font-weight:600;letter-spacing:.1px;line-height:18px;color:#646464;margin:0 12px 8px}
  .collections-heading{min-height:44px;margin-top:20px;margin-bottom:0;margin-right:4px}
  .collections-heading .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:10px;color:#646464}
  .collections-heading .icon-button svg{width:17px;height:17px;stroke-width:2}
  .collections-heading .icon-button:hover,.sidebar-collapse:hover{background:#e5e5e5;color:#555555}
  .collection-empty{font-size:12px;line-height:1.55;max-width:206px;margin:5px 0 0;padding:0 12px;color:#646464}
  .sidebar-footer{margin-top:auto;padding-top:28px}
  .account-button{border:1px solid #e0e0e0;border-radius:12px;background:#fdfdfd;padding:11px 10px;gap:10px;min-height:66px;transition:background .16s ease,border-color .16s ease}
  .account-button:hover{background:#ebebeb;border-color:#cecece}
  .account-button:active{background:#e2e2e2}
  .account-avatar{flex:0 0 34px;width:34px;height:34px;background:#e3e3e3;color:#585858;border:1px solid #d3d3d3;border-radius:10px;font-size:11px;font-weight:700;letter-spacing:.4px}
  .account-button>span:nth-child(2){min-width:0}
  .account-button strong{font-size:12px;line-height:1.4}
  .account-button small{font-size:10px;line-height:1.4;margin-top:3px}
  .account-more{margin-left:auto;display:grid;place-items:center;color:#717171}
  .account-more svg{width:18px;height:18px;stroke-width:1.6}
  .show-navigation{width:44px;height:44px;border:1px solid #e0e0e0;border-radius:10px;background:#f5f5f5}
}

/* Neutral application chrome; official glyphs use filled contours, not CSS strokes. */
svg.il-system-icon,svg.il-system-icon path{stroke:none!important;fill:currentColor}
.nav-button{box-shadow:none!important;color:#515154}
.nav-button.active{color:#1d1d1f;background:#e9e9ed}
.icon-button,.text-button,.discipline-button,.filter-chip,.sort-select{color:#48484a}
.icon-button:hover{background:#ededf0;color:#1d1d1f}
.view-switch{background:#f0f0f3;border:0;padding:3px;border-radius:11px;gap:2px}
.view-switch button{border-radius:8px;color:#636366}
.view-switch button.active,.view-switch button[aria-pressed=true]{background:#fff;color:#1d1d1f;box-shadow:inset 0 0 0 1px #c7c7cc,0 1px 4px #00000014;outline:none;border:0}
.bottom-nav .nav-button.active,.tablet-nav .nav-button.active{color:#1d1d1f;background:#ececf0;box-shadow:none}
.bottom-nav .nav-button svg{width:24px;height:24px}
@media(width > 1000px){
.sidebar{background:#f5f5f7;border-color:#e5e5ea}
.sidebar .nav-button svg{color:#636366}
.sidebar .primary-nav .nav-button.active,.sidebar .library-nav .nav-button.active,.sidebar .collections-nav .nav-button.active{color:#1d1d1f;background:#e7e7eb;box-shadow:none}
.sidebar .nav-button.active svg{color:#29292d}
.sidebar .nav-button:hover{background:#ededf0}
.sidebar .nav-button.active:active{background:#dcdce1}
.sidebar .nav-button.active .nav-count{color:#48484a;background:#d9d9df}
.account-avatar{background:#e9e9ee;color:#48484a;border-color:#dedee5}
.account-button{background:#ffffff;border-color:#e5e5ea;box-shadow:0 1px 3px #00000003}
.account-button:hover{background:#fafafa;border-color:#d1d1d6}
}

.book-menu svg{width:20px;height:20px}.book-menu{display:grid;place-items:center;border-radius:50%}.book-menu:hover{background:#ededf0}

/* Catálogo gratuito: mismas capas y proporciones que la estante personal. */
.free-books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;margin-top:28px}
.free-book{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.free-book-cover{height:190px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:14px}
.free-book h3{font:600 14px/1.4 var(--sans);margin:0 0 5px;overflow-wrap:anywhere}
.free-book p{font-size:12px;color:var(--muted);margin:0 0 14px}
.free-book .button{margin-top:auto;min-height:44px;width:100%;justify-content:center}
@media(max-width:600px){.free-books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.free-book-cover{height:180px}.free-book h3{font-size:13px}}
@media(max-width:360px){.free-book-cover{height:150px}.free-books-grid{gap:22px 14px}}

.library-profile{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:0 0 22px;margin:0 0 24px;border-bottom:1px solid var(--line)}
.library-profile>span:nth-child(2){min-width:0;flex:1}.library-profile strong{display:block;font-size:18px;overflow-wrap:anywhere}.library-profile small{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
.profile-photo{width:52px;height:52px;flex:0 0 52px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--active);font-weight:600}
.profile-photo img,.account-avatar img{width:100%;height:100%;object-fit:cover}.account-avatar{overflow:hidden}
.photo-nudge{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;position:relative;margin:0 0 28px;padding:16px 52px 16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--sidebar)}
.photo-nudge-text{min-width:0;flex:1 1 200px}
.photo-nudge h2{margin:0;font:600 16px/1.3 var(--sans)}
.photo-nudge p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.photo-nudge-action{min-height:40px;padding-inline:16px;font-size:13px}
.photo-nudge-close{position:absolute;top:8px;right:8px;min-width:40px;min-height:40px;padding:0}
.install-steps{list-style:none;padding:0;margin:24px 0;display:grid;gap:18px}.install-steps li{display:flex;align-items:center;gap:14px}.install-steps li>span{flex:0 0 32px;height:32px;border-radius:50%;background:var(--active);display:grid;place-items:center;font-weight:600}.install-steps p{margin:0;line-height:1.5}.install-footnote{font-size:12px;line-height:1.6;color:var(--muted)}

.options-dialog.free-catalog-dialog{width:min(720px,calc(100% - 32px))}

.free-book-cover .book-cover{width:auto;height:auto;max-width:100%;max-height:100%;object-position:center bottom}

#profile-form .field-label{margin-top:18px}.field-optional{font-weight:400;color:var(--muted)}#profile-verification{margin-top:18px}.profile-security-link{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:12px}

.profile-photo-actions{margin:0 0 8px}#profile-crop-canvas{width:100%;height:auto;aspect-ratio:1;display:block;border-radius:12px;touch-action:none;background:var(--active);cursor:grab}#profile-crop-zoom{width:100%;min-height:44px;accent-color:var(--ink)}#profile-crop{padding:10px 0 22px;border-bottom:1px solid var(--line)}

/* Illustrated installation help, separate from the actual system prompt. */
.install-guide{color:var(--text,#242426)}.ig-intro{margin:0 0 20px;font-size:17px;line-height:1.5}.ig-devices{display:flex;gap:5px;padding:5px;background:#f1f1f3;border-radius:13px;margin:0 0 20px}.ig-devices button{flex:1;padding:11px 6px;border:0;border-radius:9px;background:transparent;color:#626267;font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;min-height:44px;cursor:pointer}.ig-devices button[aria-pressed=true]{background:#fff;color:#242426;box-shadow:0 1px 4px #00000012}.ig-before{font-size:14px;line-height:1.6;margin:0 0 24px}.ig-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ig-step{min-width:0}.ig-step-caption{display:flex;gap:10px;align-items:flex-start;margin-bottom:17px}.ig-number{flex:0 0 27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#242426;color:#fff;font-size:13px;font-weight:700}.ig-step h3{margin:2px 0 8px;font-size:15px;line-height:1.35}.ig-step p{margin:0;font-size:13px;color:#626267;line-height:1.6}.ig-phone{width:100%;max-width:210px;height:264px;border:5px solid #313134;border-radius:25px;position:relative;overflow:hidden;background:#fff;margin:auto;box-shadow:0 7px 16px #0000000a;color:#242426}.ig-status{display:flex;justify-content:space-between;padding:10px 13px;font-size:9px;font-weight:bold}.ig-mini-library{padding:18px 13px}.ig-mini-library small{font-size:6px;letter-spacing:1px;color:#666}.ig-mini-library>b{display:block;font:700 23px Georgia,serif;margin:9px 0 14px}.ig-mini-books{display:flex;gap:7px}.ig-mini-books span{width:31%;height:70px;padding:9px 3px;border-radius:2px;background:#e3eaee;border-bottom:8px solid #315570;font:700 6px/1.5 Arial,sans-serif}.ig-mini-books span:nth-child(2){background:#ece4e4;border-color:#864449}.ig-mini-books span:nth-child(3){background:#e3e9e1;border-color:#426e61}.ig-address{margin:0 8px;padding:7px 3px;border-radius:8px;background:#f1f1f3;text-align:center;font-size:7px}.ig-toolbar{display:flex;justify-content:space-around;align-items:center;height:41px;color:#3162aa}.ig-toolbar>span{font-size:18px}.ig-phone svg,.ig-desktop-sketch svg{width:20px;height:20px;flex-shrink:0}.ig-target{position:relative;padding:4px;border:2px solid #3162aa;border-radius:8px;display:flex}.ig-target i{position:absolute;bottom:35px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#3162aa;color:white;padding:5px 6px;border-radius:5px;font:700 7px Arial,sans-serif}.ig-homebar{position:absolute;bottom:5px;left:30%;width:40%;height:3px;border-radius:3px;background:#242426}.ig-sheet{background:#f4f4f6;margin:12px 6px 0;padding:8px 10px;border-radius:12px}.ig-handle{width:26px;height:3px;background:#c2c2c6;border-radius:2px;margin:0 auto 12px}.ig-sheet>b,.ig-sheet>small{display:block;font-size:11px;margin:0 0 4px}.ig-sheet>small{font-size:8px;color:#666;margin-bottom:13px}.ig-sheet-row{display:flex;align-items:center;justify-content:space-between;padding:11px 8px;background:#fff;font-size:9px;border-bottom:1px solid #e5e5e7;line-height:1.35}.ig-highlight{border:2px solid #3162aa!important;border-radius:7px;background:#edf3ff!important;color:#224e91;font-weight:700}.ig-confirmbar{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#3162aa;padding:8px}.ig-confirmbar strong{padding:7px}.ig-confirmcontent{padding:12px 9px;text-align:center}.ig-app-icon{height:45px;width:45px;border-radius:12px;background:#242426;color:#fff;display:grid;place-items:center;flex:0 0 45px}.ig-app-icon svg{width:27px;height:27px}.ig-confirmcontent .ig-app-icon{margin:0 auto 9px}.ig-confirmcontent>b{font-size:12px;display:block;margin:7px 0}.ig-confirmcontent>small{font-size:7px;line-height:1.5;color:#626267;display:block}.ig-toggle-row{display:flex;justify-content:space-between;align-items:center;text-align:left;margin:16px 0 12px;font-size:8px;border-top:1px solid #eee;padding-top:12px}.ig-toggle{width:24px;height:14px;background:#31845e;border-radius:14px;position:relative;flex-shrink:0}.ig-toggle:after{content:'';position:absolute;width:10px;height:10px;background:white;top:2px;right:2px;border-radius:50%}.ig-chrome-address{display:flex;justify-content:space-between;align-items:center;padding:8px;background:#f2f2f4;font-size:9px}.ig-chrome-address .ig-target i{bottom:auto;top:33px}.ig-menu .ig-mini-library{padding-top:38px}.ig-android-menu{margin-top:15px;padding:7px}.ig-android-menu .ig-sheet-row{padding:15px 9px}.ig-android-confirm{margin:30px 8px 0;background:#f4f4f6;border-radius:12px}.ig-confirm-actions{display:flex;justify-content:space-between;align-items:center;margin-top:20px;font-size:9px}.ig-confirm-actions strong{padding:8px}.ig-result{display:flex;align-items:center;gap:15px;padding:19px;background:#f3f3f5;border-radius:14px;margin:25px 0 15px}.ig-result strong{font-size:15px}.ig-result p{font-size:13px;line-height:1.5;margin:7px 0 0;color:#626267}.ig-result svg{width:27px;height:27px}.ig-help{border-bottom:1px solid #e5e5e7;padding:13px 0}.ig-help summary{font-weight:600;font-size:14px;line-height:1.5;cursor:pointer}.ig-help p,.ig-note{font-size:13px;line-height:1.6;color:#626267}.ig-disclaimer{font-size:11px;color:#717176;line-height:1.5;margin:17px 0}.ig-native{padding:18px;background:#f3f3f5;border-radius:12px;margin-bottom:20px}.ig-native p{font-size:14px;line-height:1.5}.ig-desktop-sketch{padding:8px;border:2px solid #d7d7dc;border-radius:10px;min-height:170px;background:#fff}.ig-desktop-sketch .ig-sheet-row{margin:20px 0}.ig-desktop-sketch small{font-size:11px;color:#666}.install-guide-dialog{max-width:800px!important}.ig-devices button:focus-visible,.ig-help summary:focus-visible{outline:3px solid #3162aa;outline-offset:3px}@media(max-width:650px){.ig-steps{grid-template-columns:1fr;gap:25px}.ig-step{display:grid;grid-template-columns:1fr 136px;gap:13px;align-items:center}.ig-phone{max-width:136px;height:241px;border-width:4px}.ig-step-caption{margin:0}.ig-step h3{font-size:16px}.ig-step p{font-size:13px}.ig-number{flex-basis:23px;height:23px;font-size:12px}.ig-mini-library{padding:12px 8px}.ig-mini-library>b{font-size:18px}.ig-mini-books{gap:3px}.ig-mini-books span{height:57px;font-size:5px}.ig-phone .ig-address{font-size:6px;padding:6px 0;margin-top:6px}.ig-sheet{padding:7px 4px;margin:12px 4px 0}.ig-sheet-row{padding:10px 5px;font-size:8px}.ig-phone svg{width:17px;height:17px}.ig-confirmcontent{padding:10px 5px}.ig-confirmbar{font-size:8px;padding:5px}.ig-confirmbar strong{padding:6px}.ig-toggle-row{font-size:7px;gap:2px}.ig-confirmcontent .ig-app-icon svg{width:27px;height:27px}.ig-chrome-address{font-size:7px}.ig-android-confirm{margin-top:25px}.ig-android-menu .ig-sheet-row{padding:16px 6px}}@media(max-width:360px){.ig-step{grid-template-columns:1fr 120px;gap:8px}.ig-step-caption{gap:7px}.ig-step h3{font-size:14px}}
.ig-phone{height:310px}.ig-step-caption{min-height:128px}.ig-app-icon img{display:block;width:100%;height:100%;border-radius:12px;object-fit:contain}@media(max-width:650px){.ig-phone{height:280px}.ig-step-caption{min-height:0}}

/* Installation walkthrough: one action at a time, enlarged system controls. */
.install-guide .ig-steps{display:block;margin:0}.install-guide .ig-step{display:block}.install-guide [hidden]{display:none!important}.install-guide .ig-step-caption{min-height:0;margin:0 0 20px;gap:12px}.install-guide .ig-step h3{font-size:23px;letter-spacing:-.5px;margin:0 0 8px}.install-guide .ig-step p{font-size:15px;line-height:1.6;max-width:540px}.install-guide .ig-number{width:30px;height:30px;flex-basis:30px;margin-top:1px}.ig-progress{display:flex;justify-content:space-between;align-items:center;margin:23px 0 18px;color:#66666c;font-size:12px;font-weight:600}.ig-progress-dots{display:flex;gap:5px}.ig-progress-dots span{width:24px;height:4px;background:#e2e2e6;border-radius:3px}.ig-progress-dots .is-current{background:#29292d}.ig-control-preview{max-width:560px;min-height:205px;margin:auto;border:1px solid #e0e0e5;border-radius:20px;background:linear-gradient(160deg,#f9f9fb,#f0f0f4);padding:20px;box-shadow:0 8px 24px #00000005;box-sizing:border-box}.ig-preview-label{display:block;color:#777780;letter-spacing:1.2px;font-size:9px;font-weight:600;margin-bottom:21px}.ig-zoom-address{padding:12px;border-radius:12px;background:#e8e8ed;text-align:center;font-size:14px;color:#55555c}.ig-zoom-toolbar{display:flex;justify-content:space-around;align-items:center;margin-top:16px;font-size:28px;color:#1668d8}.ig-control-preview svg{width:26px;height:26px;flex-shrink:0}.ig-touch-target{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;color:#075bbe;background:#e7f0ff;border:2px solid #1872e8;border-radius:11px;padding:10px;box-shadow:0 0 0 4px #1872e810}.ig-touch-label{text-align:center;color:#075bbe;font-size:12px;font-weight:600;margin-top:17px}.ig-zoom-row{display:flex;align-items:center;justify-content:space-between;gap:14px;background:white;border-bottom:1px solid #e5e5eb;padding:15px 13px;font-size:15px;line-height:1.4}.ig-zoom-row.ig-touch-target{display:flex;width:100%;box-sizing:border-box;margin-top:6px}.ig-faded{color:#8c8c94}.ig-confirm-target{padding:8px 13px;font-size:15px}.ig-zoom-app{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:20px 0;color:#242426;font-size:16px}.ig-zoom-app>span{font-size:13px;color:#696970}.ig-control-preview .ig-toggle{width:34px;height:21px}.ig-control-preview .ig-toggle:after{width:17px;height:17px}.ig-navigation{display:flex;justify-content:space-between;gap:12px;margin:23px 0}.ig-navigation button{min-height:48px;padding:12px 20px;border:1px solid #dedee4;border-radius:12px;background:#fff;color:#303034;font-family:inherit;font-weight:600;font-size:14px;line-height:1.3;cursor:pointer}.ig-navigation button:last-child{background:#29292d;border-color:#29292d;color:white;min-width:175px}.ig-navigation button:disabled{opacity:.4;cursor:default}.ig-navigation button:focus-visible{outline:3px solid #1872e8;outline-offset:3px}.ig-before{background:#f6f6f8;border-radius:12px;padding:13px 16px;color:#626267;font-size:13px;margin-bottom:20px}.ig-intro{font-size:15px;color:#626267}.install-guide-dialog{max-width:660px!important}.ig-result{margin-top:0}.ig-result strong{font-size:19px}.ig-native button{min-height:48px}@media(max-width:650px){.ig-control-preview{padding:18px;min-height:200px}.install-guide .ig-step h3{font-size:22px}.install-guide .ig-step p{font-size:14px}.ig-navigation button{padding:12px 15px}.ig-navigation button:last-child{min-width:160px}.ig-zoom-row{font-size:14px}.ig-intro{display:none}.ig-devices button{font-size:12px}.ig-before{font-size:12px}.guide-page .ig-steps{margin-top:0!important}}

/* Explain reading, offline storage and exported files within the material menu. */
.context-menu{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain;width:285px;max-width:calc(100vw - 24px)}
.context-menu button{text-align:left;align-items:center;white-space:normal}.context-menu button>span{min-width:0;line-height:1.35}.context-menu button small{display:block;font-size:11px;font-weight:400;color:var(--muted);line-height:1.4;margin-top:3px}
@media(max-width:600px){.context-menu{width:auto;max-width:none;max-height:calc(100dvh - 180px)}}

.autosave-pill{position:fixed;z-index:120;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:#232323f2;color:#fff;font-size:12px;line-height:1.3;padding:8px 8px 8px 14px;border-radius:999px;box-shadow:0 6px 24px #0003;max-width:calc(100% - 24px);white-space:nowrap}.autosave-text{overflow:hidden;text-overflow:ellipsis}.autosave-bar{width:56px;height:3px;border-radius:3px;background:#ffffff33;overflow:hidden;flex:none}.autosave-bar i{display:block;height:100%;background:#fff;transition:width .25s}.autosave-cancel{color:#ffffffb3;font-size:11px;padding:4px 8px;flex:none}.autosave-pill.done{padding-right:14px}.autosave-pill.done .autosave-bar{display:none}.autosave-ok{background:#fff;color:#232323;font-size:12px;font-weight:600;border-radius:999px;padding:5px 12px;flex:none}

/* DE UNA: capa horizontal completa, tanto na estante como nos detalhes. */
.books-grid .book-item.is-flashcard .cover-space{height:auto;aspect-ratio:4/3;align-items:center}
.book-item.is-flashcard .book-cover{object-fit:contain;object-position:center;background:none}
.books-list .book-item.is-flashcard .cover-space{height:auto;aspect-ratio:4/3;align-self:center}
.info-header.is-flashcard .info-cover{width:160px;max-width:42%;max-height:120px;aspect-ratio:4/3;object-fit:contain}
