:root{--green:#214b3f;--deep:#183c32;--text:#253e35;--muted:#738078;--line:#e5e9e3;--paper:#fbfcf9;--serif:Georgia,serif;--sans:system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:var(--sans);font-size:16px;color:var(--text);line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button{border:0;background:none}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #be8443;outline-offset:4px}button:hover{filter:brightness(.94)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;z-index:100;left:20px;top:-70px;background:white;padding:14px}.skip:focus{top:10px}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:38px 22px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:13px;align-items:center;padding:0 10px;font:600 28px/1.05 var(--serif);letter-spacing:-.8px}.brand-second{display:block}.brand-dot{color:#bb8e45}.brand-icon{width:47px;height:51px;display:grid;place-items:center;background:var(--green);border-radius:13px;color:#f6edcf}.brand-icon svg{width:29px;height:29px}.side-label{font-size:10px;font-weight:700;letter-spacing:2px;color:#889187;margin:48px 15px 15px}.navigation{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;gap:14px;align-items:center;width:100%;text-align:left;padding:13px 15px;border-radius:7px;font-size:14px;font-weight:550;color:#6e7973;min-height:49px}.nav-item.active{background:#eaf0e8;color:var(--green);font-weight:700}.count{margin-left:auto;font-size:12px;background:#dbe7d8;border-radius:5px;min-width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding-top:40px}.install-card{background:#f4f6ee;border:1px solid #e8ebdf;border-radius:10px;padding:17px 16px}.install-symbol{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:8px;background:#e4ebdc}.install-card h3{font-size:14px;margin:12px 0 6px}.install-card p{font-size:12px;line-height:1.7;color:#737d70}.install-btn{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;width:100%;padding:11px 0 0;margin-top:10px;border-top:1px solid #dfe4d6}.install-btn svg{width:16px}.help-link{display:flex;gap:12px;align-items:center;font-size:14px;margin-top:25px;padding:10px}.side-footer{font-size:11px;margin:15px 10px 0;color:#8a948c}.workspace{margin-left:242px}.topbar{height:83px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:15px}.breadcrumb{font-size:13px;color:#859087;display:flex;gap:16px}.breadcrumb strong{color:#486151;font-weight:500}.top-actions{display:flex;align-items:center;gap:26px;font-size:12px}.online-status{color:#67816a}.guest{display:flex;align-items:center;gap:9px;font-size:13px;padding:8px 0}.guest>span:first-child{width:33px;height:33px;background:#f1f2ec;border-radius:50%;display:grid;place-items:center}.guest svg{width:17px;height:17px}main{max-width:1470px;margin:auto;padding:35px 42px 0}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#839079;margin-bottom:8px}h1{font:500 clamp(27px,2.6vw,38px)/1.3 var(--serif);letter-spacing:-1.05px}.page-title p:last-child{color:var(--muted);font-size:14px;margin-top:8px}.outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d7dfd4;border-radius:7px;min-height:42px;padding:10px 15px;background:#fff;font-size:13px;font-weight:600;white-space:nowrap}.outline-btn svg{width:17px;height:17px}.welcome{min-height:249px;border-radius:12px;position:relative;overflow:hidden;background:var(--green);color:#fff;padding:27px 31px;isolation:isolate}.welcome:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#183e33f5 0%,#183e33dd 29%,#183e3340 65%);z-index:-1}.welcome-content{position:relative;z-index:1}.feature-label{font-size:10px;font-weight:600;letter-spacing:2px;color:#d8dfc2}.welcome h2{font:500 31px/1.25 var(--serif);letter-spacing:-.5px;margin:11px 0 10px}.welcome p{font-size:13px;line-height:1.6;color:#e0e8d7}.cream-btn{display:flex;align-items:center;gap:22px;background:#f4ecd4;border-radius:5px;padding:10px 14px;color:#294335;font-size:12px;font-weight:650;margin-top:17px;min-height:40px}.cream-btn svg{width:17px}.banner-note{position:absolute;bottom:22px;right:24px;color:#fff9e6;font:italic 12px var(--serif);text-shadow:0 1px 4px #173d32}.collection{margin-top:31px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2{font:600 23px var(--serif);letter-spacing:-.6px}.section-heading p{font-size:13px;color:var(--muted);margin-top:7px}.sample-note{font-size:11px;letter-spacing:.2px;padding:5px 9px;background:#f1f3ed;border:1px solid #e4e7de;border-radius:5px;color:#78816f}.search-row{display:flex;gap:13px;margin-top:23px}.search-box{display:flex;align-items:center;gap:11px;padding:0 15px;background:#fff;border:1px solid #dfe5dc;border-radius:7px;flex:1;min-width:0;height:47px;color:#93a08e}.search-box svg{width:19px}.search-box input{width:100%;border:0;background:transparent;color:var(--text);outline:none!important;font-size:13px;padding:12px 0}.search-box:focus-within{outline:2px solid #608369;outline-offset:2px}.search-box input::placeholder{color:#8b958b}.search-box kbd{border:1px solid #e2e7de;padding:0 6px;border-radius:4px;font-size:12px;background:#f9faf7}.sort-box select{height:47px;border:1px solid #dfe5dc;border-radius:7px;background:#fff;color:#5a695d;font-size:13px;padding:0 32px 0 15px;max-width:100%}.filter-row{display:flex;gap:8px;margin-top:17px;flex-wrap:wrap}.filter{border:1px solid #e1e6dc;border-radius:6px;font-size:12px;color:#6c796b;background:#fff;padding:9px 15px;min-height:38px}.filter.active{color:#fff;background:var(--green);border-color:var(--green)}.result-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:23px 0 16px;color:#687864}.muted{color:#96a08f}.books-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 20px}.book-card{min-width:0;position:relative}.cover-button{display:block;width:100%;padding:0;text-align:left;border-radius:8px;overflow:hidden;background:#edf0e8}.book-cover{aspect-ratio:3/3.8;padding:25px 20px 18px;display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:inset 6px 0 8px #00000012;transition:transform .25s;background:var(--cover);color:var(--ink);border:1px solid #00000008}.cover-button:hover .book-cover{transform:scale(1.025)}.cover-series{font-size:8px;letter-spacing:1.9px;font-weight:600;padding-bottom:14px;border-bottom:1px solid currentColor;opacity:.72}.cover-title{font:500 clamp(24px,2.1vw,33px)/1.16 var(--serif);letter-spacing:-.9px;margin:22px 0 12px;max-width:160px}.cover-subtitle{font-size:9px;line-height:1.5;opacity:.8;max-width:135px}.cover-bottom{margin-top:auto;padding-top:20px;display:flex;justify-content:space-between;align-items:end;font-size:8px;letter-spacing:1.2px}.cover-monogram{font:italic 54px/1 var(--serif);opacity:.32}.cover-2 .cover-title{font-style:italic}.cover-3 .cover-title{font-family:var(--sans);font-weight:650;letter-spacing:-1.5px}.cover-4 .cover-title{font-size:35px}.cover-5 .cover-title{font-style:italic}.cover-6 .cover-title{font-family:var(--sans);font-weight:650}.save-button{position:absolute;right:10px;top:10px;width:32px;height:32px;border-radius:50%;background:#fffc;color:#375b47;display:grid;place-items:center;z-index:2;box-shadow:0 1px 5px #00000008}.save-button svg{width:16px;height:16px}.save-button.saved{background:var(--green);color:#fff}.save-button.saved svg{fill:currentColor}.book-category{font-size:10px;color:#8c966e;margin:13px 0 5px;text-transform:uppercase;letter-spacing:.7px;font-weight:600}.book-card h3{font-size:15px;line-height:1.45;font-weight:650;letter-spacing:-.2px}.book-author{font-size:12px;color:#889081;margin:5px 0 10px}.book-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#919a88;border-top:1px solid #e7eade;padding-top:9px}.book-bottom button{font-size:12px;font-weight:600;color:#35573d;padding:3px 0}.book-bottom svg{width:14px;height:14px;margin-left:4px}.reading-note{display:flex;align-items:center;gap:14px;margin:38px 0 26px;padding:19px 20px;border:1px solid #e6e9dc;border-radius:8px;background:#f4f6ed}.reading-note>span:first-child{color:#8b9b71}.reading-note p{font:italic 14px/1.6 var(--serif);color:#667454}.reading-note>span:last-child{margin-left:auto;font-size:11px;color:#7f8d71;white-space:nowrap}.page-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;padding:21px 0 25px;color:#939c8c;font-size:10px}.page-footer button{font-size:11px;color:#72836a;padding:0}.page-footer svg{width:13px;height:13px;margin-left:3px}.recent{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:23px;border:1px solid #dae4d7;background:#f1f5ec;padding:16px 20px;border-radius:8px}.recent>div{display:flex;gap:15px;align-items:center}.small{font-size:9px;letter-spacing:1.3px;color:#849273}.recent h3{font-size:14px;margin-top:3px}.text-btn{display:flex;align-items:center;gap:8px;color:var(--green);font-size:13px;font-weight:600}.text-btn svg{width:17px}.empty{text-align:center;padding:50px 20px;background:#f4f6ef;border-radius:9px}.empty>span svg{height:33px;width:33px;color:#829579}.empty h3{font:500 24px var(--serif);margin:16px 0 10px}.empty p{font-size:14px;color:var(--muted);margin-bottom:20px}.mobile-nav{display:none}.modal{border:none;border-radius:17px;padding:29px 33px;max-width:510px;width:calc(100% - 32px);color:var(--text);box-shadow:0 15px 70px #142e3440;max-height:90dvh}.modal::backdrop,.reader::backdrop{background:#172f2aba;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-symbol{width:43px;height:43px;background:#eaf0e4;border-radius:12px;display:grid;place-items:center}.icon-button{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;flex-shrink:0}.icon-button:hover{background:#e9eee5}.modal h2{font:500 26px/1.3 var(--serif);letter-spacing:-.5px;margin-bottom:12px}.modal>p{font-size:14px;color:#73816e;line-height:1.7}.modal form{margin-top:23px}.modal label{display:block;font-size:14px;font-weight:600;margin:17px 0 7px}.optional{font-weight:400;color:#7b8573;font-size:12px}.modal input{width:100%;border:1px solid #ccd6c7;border-radius:6px;min-height:45px;padding:10px 12px;font-size:14px}.field-hint{font-size:12px;color:#7c8875;line-height:1.6;margin-top:9px}.form-error{color:#a02f2f;font-size:13px;margin:9px 0}.primary-btn{display:flex;align-items:center;justify-content:center;gap:15px;background:var(--green);color:white;border-radius:7px;min-height:45px;width:100%;font-size:14px;font-weight:600}.privacy-note{font-size:11px;display:flex;align-items:center;gap:9px;color:#839177;margin-top:20px}.privacy-note svg{width:16px}.help-section{display:flex;gap:16px;margin:24px 0}.step-number{font:italic 22px var(--serif);color:#8c9d73}.help-section h3{font-size:15px;margin-bottom:5px}.help-section p,.accessibility-note p{font-size:13px;color:#72816b;line-height:1.7}.accessibility-note{background:#f0f4e9;padding:17px;border-radius:8px;font-size:14px}.accessibility-note p{margin-top:6px}.reader{border:0;padding:0;width:calc(100vw - 48px);max-width:1400px;height:calc(100dvh - 40px);max-height:none;border-radius:12px;background:#ecede9;color:var(--text);overflow:hidden}.reader[open]{display:flex;flex-direction:column}.reader-head{display:flex;gap:17px;align-items:center;padding:12px 19px;background:#fff;border-bottom:1px solid #dce2d8;flex-shrink:0}.reader-title-wrap{flex:1;min-width:0}.reader-head h2{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reader-head p{font-size:12px;color:#829077;margin-top:3px}.reader-info{font-size:12px;background:#eef2e7;padding:9px 24px;color:#667c55}.pdf-area{position:relative;flex:1;min-height:0}.pdf-area iframe{width:100%;height:100%;border:0;position:relative;z-index:1}.pdf-area>div{position:absolute;top:35%;width:100%;text-align:center;color:#74806d;font-size:14px}.reader-footer{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:12px 22px;gap:14px;font-size:12px;color:#71806a;flex-shrink:0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--deep);color:#fff;padding:12px 22px;border-radius:8px;box-shadow:0 5px 25px #0002;z-index:100;font-size:14px;width:max-content;max-width:90vw;text-align:center}
@media(min-width:1550px){.books-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.cover-title{font-size:27px}.welcome{min-height:265px}}
@media(max-width:1200px){.sidebar{width:216px;padding-left:16px;padding-right:16px}.workspace{margin-left:216px}main{padding-left:29px;padding-right:29px}.topbar{padding:0 29px}.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cover-title{font-size:31px}.page-title{align-items:flex-end}.drive-open{padding:10px 12px;font-size:12px}.welcome{min-height:247px}.page-footer>span:nth-child(2){display:none}}
@media(max-width:850px){.sidebar{width:185px;padding:28px 12px 18px}.brand{font-size:25px;padding:0 7px;gap:9px}.brand-icon{width:39px;height:44px}.side-label{font-size:9px;margin-left:10px;letter-spacing:1.5px}.workspace{margin-left:185px}.topbar{height:69px;padding:0 23px}.breadcrumb{font-size:12px;gap:8px}.guest>span:last-child,.online-status{display:none}main{padding:27px 23px 0}.page-title{flex-wrap:wrap;gap:15px}.drive-open{min-height:38px}.eyebrow{font-size:9px}h1{font-size:31px}.welcome{padding:25px}.welcome h2{font-size:29px}.banner-note{display:none}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-title{font-size:32px}.install-card{padding:12px}.reading-note>span:last-child{display:none}.filter{padding:8px 12px}.sort-box select{max-width:155px;font-size:12px}.sample-note{font-size:10px}.section-heading h2{font-size:22px}.local-note{display:none}}
@media(max-width:620px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:61px;padding:0 21px}.breadcrumb{font-size:12px}.breadcrumb>span,.breadcrumb>strong{display:none}.breadcrumb:before{content:'P';background:var(--green);color:#f3e4c1;font:600 24px var(--serif);width:32px;height:34px;display:grid;place-items:center;border-radius:8px;margin-right:3px}.guest>span:last-child{display:inline;font-size:11px}main{padding:26px 20px 75px}.page-title{margin-bottom:20px;gap:15px}.eyebrow{font-size:8px;letter-spacing:1.5px}h1{font-size:29px;letter-spacing:-.9px}.page-title p:last-child{font-size:12px}.drive-open{font-size:12px;padding:8px 12px}.welcome{min-height:236px;padding:24px 22px;background-position:64% center!important}.welcome h2{font-size:28px}.welcome p{font-size:12px}.welcome:after{background:linear-gradient(90deg,#183e33f0,#183e3377 72%,transparent)}.feature-label{font-size:8px;letter-spacing:1.5px}.cream-btn{font-size:11px;min-height:38px}.collection{margin-top:27px}.section-heading h2{font-size:22px}.section-heading p{font-size:12px;max-width:235px}.sample-note{font-size:9px;white-space:nowrap;padding:5px 7px}.search-row{margin-top:20px;gap:8px}.search-box{padding:0 11px}.search-box input{font-size:12px}.search-box kbd{display:none}.sort-box select{width:120px;padding-left:10px;padding-right:20px;font-size:11px}.filter-row{gap:7px;margin-top:13px}.filter{font-size:11px;padding:8px 11px;min-height:37px}.result-line{margin-top:20px;font-size:11px}.result-line>.muted{display:none}.books-grid{gap:24px 15px}.book-cover{padding:19px 15px 16px;aspect-ratio:3/4}.cover-title{font-size:clamp(23px,6.6vw,33px);margin:19px 0 10px;letter-spacing:-.7px}.cover-4 .cover-title{font-size:clamp(25px,7vw,35px)}.cover-series{font-size:7px;letter-spacing:1.3px}.cover-subtitle{font-size:8px}.cover-bottom{font-size:7px;letter-spacing:.5px}.cover-monogram{font-size:44px}.save-button{height:29px;width:29px;top:8px;right:8px}.book-category{font-size:9px}.book-card h3{font-size:14px}.book-author{font-size:11px}.book-bottom{font-size:10px}.book-bottom button{font-size:11px}.reading-note{margin-top:30px;padding:17px 15px;gap:10px}.reading-note p{font-size:12px}.page-footer{font-size:10px;flex-wrap:wrap}.page-footer button{font-size:10px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(12px);display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #dfe6d9;z-index:10;padding:8px 8px max(8px,env(safe-area-inset-bottom))}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;color:#83907a;min-height:46px}.mobile-nav .active{color:var(--green);font-weight:700}.mobile-nav .active svg{stroke-width:2.2}.toast{bottom:84px}.recent{padding:14px}.recent h3{font-size:12px}.recent .text-btn{font-size:11px}.recent .text-btn svg{display:none}.recent>div{gap:10px}.modal{padding:23px;max-height:86dvh}.modal h2{font-size:25px}.reader{width:100%;height:100dvh;max-width:100%;border-radius:0;margin:0}.reader-head{gap:8px;padding:9px}.reader-head h2{font-size:14px}.reader-head .outline-btn{padding:8px;min-height:40px}.reader-head .outline-btn>span:last-child{display:none}.reader-info{padding:8px 14px;font-size:11px}.reader-footer{padding:10px 14px;font-size:10px}.reader-footer .text-btn{font-size:11px;white-space:nowrap}.privacy-note{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(min-width:621px){.nav-item,.filter,.outline-btn,.search-box input,.sort-box select{font-size:14px}}
.welcome{background-image:url('./nagari-landscape.webp');background-size:cover;background-position:center}.welcome:after{background:linear-gradient(90deg,#183e33ef 0%,#183e33cb 27%,#183e331a 65%,transparent 100%)}
/* Readable interactive labels, including small screens. */
.filter,.search-box input,.sort-box select,.nav-item,.outline-btn,.help-link,.text-btn{font-size:14px}.page-title p:last-child,.section-heading p{font-size:14px}.book-card h3{font-size:16px}.book-author{font-size:12px}.book-bottom button{font-size:14px;min-height:34px}.filter{min-height:42px}.side-label{font-size:11px;letter-spacing:1.3px}.install-card p{font-size:13px}.install-card h3,.install-btn{font-size:14px}.feature-label{font-size:11px}.welcome p,.cream-btn{font-size:14px}.eyebrow{font-size:11px}.sample-note{font-size:12px}.book-category{font-size:12px}.book-bottom{font-size:12px}.cover-button:focus-visible{outline-offset:5px}.save-button{width:36px;height:36px}.cover-series{padding-right:12px}.modal>p,.help-section p,.accessibility-note p{font-size:14px}.reader-info{font-size:13px}.reader-footer{font-size:13px}
@media(max-width:620px){.search-row{flex-wrap:wrap}.search-box{flex-basis:100%}.sort-box{margin-left:auto}.sort-box select{width:auto;max-width:none;height:39px;font-size:13px}.filter{font-size:12px;min-height:40px}.section-heading{align-items:flex-start}.sample-note{font-size:10px}.welcome:after{background:linear-gradient(90deg,#183e33f2,#183e3390 60%,#183e3320)}.welcome p{font-size:13px}.cream-btn{font-size:13px}.eyebrow{font-size:10px}.book-category{font-size:10px}.book-bottom button{font-size:12px}.book-bottom{font-size:10px}.reader-footer>span{font-size:11px}.mobile-nav button{font-size:12px}.guest>span:last-child{font-size:12px}}

.dynamic-brand{font-size:25px;line-height:1.25;overflow-wrap:anywhere}.eyebrow{overflow-wrap:anywhere}.cover-bottom>span:first-child{max-width:100px;overflow-wrap:anywhere}.page-footer{flex-wrap:wrap}.offline-caption{font-size:12px;color:#687d56}

/* Identity header: intrinsic height keeps long names and text zoom readable. */
.identity-header{height:auto;min-height:88px;padding:16px 32px;gap:24px;position:relative;z-index:6}
.identity-header .brand{padding:0;gap:12px;min-width:0;max-width:48rem;letter-spacing:normal;flex:1}
.identity-header .brand-icon{flex:0 0 52px;width:52px;height:52px;border-radius:12px;background:#f0f4ee;color:var(--green);border:1px solid #dfe7dc}
.identity-header .brand-icon img{display:block;width:44px;height:44px;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.brand-kicker{font:600 .75rem/1.35 var(--sans);color:#66786b;letter-spacing:.06em}
.brand-name{font:600 1.4rem/1.3 var(--serif);overflow-wrap:anywhere;color:var(--green)}
.identity-header .top-actions{flex-shrink:0;gap:20px}
.identity-header .guest{min-width:44px;min-height:44px}
.app-shell{display:grid;grid-template-columns:242px minmax(0,1fr);align-items:start}
.app-shell .sidebar{position:sticky;inset:auto;top:0;width:auto;min-height:calc(100dvh - 88px);padding-top:22px}
.app-shell .side-label{margin-top:10px}
.app-shell .workspace{margin-left:0;min-width:0}
.section-context{display:flex;gap:12px;align-items:center;font-size:12px;color:#68786d;padding:22px 42px 0}
.section-context strong{font-weight:500;color:var(--green)}
@media(max-width:1000px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.identity-header{padding-inline:24px}.identity-header .online-status{display:none}}
@media(max-width:620px){.app-shell{display:block}.app-shell .sidebar{display:none}.identity-header{min-height:80px;padding:14px 24px}.section-context{padding-inline:28px}}
@media(max-width:620px){.identity-header{padding:12px 16px;min-height:76px;gap:12px}.identity-header .brand{gap:10px}.identity-header .brand-icon{flex-basis:44px;width:44px;height:44px;border-radius:10px}.identity-header .brand-icon img{width:38px;height:38px}.brand-kicker{font-size:.6875rem}.brand-name{font-size:1.0625rem;line-height:1.35}.identity-header .guest>span:last-child{display:none}.identity-header .top-actions{gap:0}.section-context{padding:16px 20px 0;font-size:11px}.app-shell main{padding-top:22px}}

/* Editable home content and optional real book covers. */
.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
#hero-title,#hero-description{white-space:pre-line;overflow-wrap:anywhere}
.welcome-content{max-width:min(100%,640px)}
#page-heading,#page-description,#hero-label,#hero-note,#hero-button-label,#drive-button-label{overflow-wrap:anywhere}
.welcome{padding-bottom:70px}.welcome .banner-note{display:block;max-width:calc(100% - 48px);white-space:normal;overflow-wrap:anywhere}
.cover-button{position:relative;isolation:isolate}
.book-cover-image{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;background:#f0f2e9}
.cream-btn{max-width:100%;text-align:left}.drive-open{white-space:normal;text-align:left;max-width:100%}
@media(max-width:620px){.welcome{padding-bottom:65px}.welcome .banner-note{font-size:12px;left:22px;right:22px;max-width:none}.welcome h2{font-size:27px}}

/* Fokus katalog: kategori tetap ringkas dan kartu konsisten saat koleksi tumbuh. */
.collection-page{margin-top:0}.section-heading{align-items:center}.collection-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.collection-tools{display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,220px) minmax(145px,180px);gap:12px;margin-top:22px}.control-select,.sort-box{display:block;min-width:0}.control-select select,.sort-box select{width:100%;height:47px;border:1px solid #dfe5dc;border-radius:7px;background:#fff;color:#5a695d;font-size:14px;padding:0 36px 0 14px}.collection-tools .search-box{height:47px}.filter-row{display:none}.cover-art{display:block;position:relative}.cover-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:2.32em;overflow-wrap:anywhere}.cover-subtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:4.5em;overflow-wrap:anywhere}.book-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:2.9em;overflow-wrap:anywhere}.book-author{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:26px 0 12px}.page-button{min-height:42px;padding:9px 15px;border:1px solid #d7dfd4;border-radius:7px;background:#fff;color:var(--green);font-size:14px;font-weight:600}.page-button:disabled{opacity:.45;cursor:default}.page-status{font-size:13px;color:#687864;text-align:center}.page-button:not(:disabled):hover{background:#eef3ea}.page-button:focus-visible{outline:3px solid #be8443;outline-offset:3px}
@media(max-width:850px){.collection-tools{grid-template-columns:minmax(0,1fr) minmax(155px,210px)}.collection-tools .search-box{grid-column:1/-1}.collection-heading-actions{gap:8px}}
@media(max-width:620px){.collection-page{margin-top:0}.section-heading{align-items:flex-start;flex-direction:column}.collection-heading-actions{width:100%;justify-content:space-between}.collection-heading-actions .drive-open{min-height:40px}.collection-tools{grid-template-columns:minmax(0,1fr) minmax(120px,42%);gap:9px;margin-top:17px}.collection-tools .search-box{grid-column:1/-1}.control-select select,.sort-box select{height:42px;font-size:12px;padding-left:10px;padding-right:26px}.books-grid{gap:22px 13px}.book-card h3{font-size:14px;min-height:2.9em}.cover-title{font-size:clamp(21px,6vw,30px)}.cover-subtitle{font-size:8px}.pagination{gap:8px;margin:22px 0 10px}.page-button{min-height:40px;padding:8px 11px;font-size:12px}.page-status{font-size:11px}.mobile-nav{grid-template-columns:repeat(4,1fr)}}
.read-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-height:44px;border-radius:7px;background:var(--green);color:#fff!important;font-size:12px;font-weight:650;box-shadow:0 2px 5px #214b3f1c;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.read-button:hover{background:#173e33;transform:translateY(-1px);box-shadow:0 4px 10px #214b3f27}.read-button:focus-visible{outline:3px solid #bc8842;outline-offset:3px}.read-button svg{width:15px;height:15px;margin:0}@media(max-width:620px){.read-button{min-height:44px;padding:7px 10px;font-size:12px}}
.book-bottom{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:8px}.book-bottom>span{font-size:11px;color:#7b8977;text-align:center}.book-bottom .read-button{width:100%}.guide-library{display:flex;align-items:center;gap:14px;margin:4px 0 22px;padding:14px;border:1px solid #dfe7d9;border-radius:10px;background:#f4f7ef}.guide-library-mark{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;overflow:hidden;border-radius:10px;background:var(--green);color:#f3e7c9}.guide-library-mark>svg{width:25px;height:25px}.guide-library-mark>img{width:100%;height:100%;padding:4px;object-fit:contain;background:#fff}.guide-library-copy{display:grid;gap:2px;min-width:0}.guide-library-copy small{font-size:9px;letter-spacing:1.25px;color:#829071}.guide-library-copy strong{font:600 15px/1.35 var(--serif);overflow-wrap:anywhere;color:var(--deep)}.guide-library-copy>span{font-size:12px;line-height:1.45;color:#6e7e6d;overflow-wrap:anywhere}.guide-credit{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid #e3e8dd;font-size:12px;color:#74816e}.guide-credit a{display:inline-flex;align-items:center;gap:5px;color:var(--green);font-weight:650}.guide-credit a svg{width:15px;height:15px}
.guide-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.guide-top .guide-library{flex:1;min-width:0;margin:0;padding:0;border:0;background:transparent}.guide-library-copy strong{font-size:17px}
.guide-top{position:relative;display:block}.guide-top .guide-library{padding-right:44px}.guide-top .close-dialog{position:absolute;top:-8px;right:-8px;z-index:2}

/* v2.5: a quiet, contemporary shelf with clearer controls and stronger contrast. */
:root{--muted:#5e7066;--line:#dce5df;--paper:#f4f7f4}
.identity-header{box-shadow:0 3px 18px #183c3205}
.online-status{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d8e9de;border-radius:99px;background:#f1f8f2;color:#315d46;font-weight:600}
.online-status:before{content:'';width:6px;height:6px;border-radius:50%;background:#357350}
.online-status.is-offline{color:#855d24;background:#fbf5e9;border-color:#eadbbd}
.online-status.is-offline:before{background:#996b26}
.nav-item{border-radius:12px;color:#56685e;min-height:48px}
.nav-item.active{background:#214b3f;color:#fff;box-shadow:0 4px 12px #214b3f14}
.nav-item.active .count{background:#ffffff26;color:#fff}
.install-card{border-radius:16px;background:#eef4ed;border-color:#dce6d8}
.side-label,.side-footer,.install-card p{color:#60735f}
.install-btn{min-height:44px}
.section-heading h1{font:650 clamp(27px,2.6vw,36px)/1.25 var(--sans);letter-spacing:-1.15px}
.section-heading p{font-size:14px;color:#5d7065}
.collection-tools{gap:12px;margin-top:25px}
.search-box,.control-select select,.sort-box select{border-color:#d7e2da;border-radius:12px;box-shadow:0 2px 4px #183c3203}
.search-box input,.control-select select,.sort-box select{font-size:14px;color:#344e40}
.search-box input::placeholder{color:#63756a}
.search-box{color:#567360}
.result-line{color:#4c6655;margin:22px 0 16px;font-size:13px}
.muted{color:#627369}
.books-grid{gap:22px 18px;align-items:stretch}
.book-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dfe7e1;border-radius:17px;padding:12px;box-shadow:0 4px 16px #23433605;transition:box-shadow .18s,border-color .18s}
.book-card:hover{border-color:#b5cabe;box-shadow:0 8px 25px #214b3f10}
.cover-button{border-radius:10px}
.book-cover{aspect-ratio:3/3.6}
.save-button{width:44px;height:44px;right:19px;top:19px;background:#ffffffed;border:1px solid #ffffff80;box-shadow:0 3px 9px #163a321a}
.save-button svg{width:18px;height:18px}
.book-category{font-size:10px;letter-spacing:.7px;color:#48664e;margin:15px 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-card h3{font-size:15px;line-height:1.5;min-height:3em;font-weight:700;color:#203e30}
.book-author{color:#617166;font-size:12px;margin:5px 0 13px}
.book-bottom{margin-top:auto;border-top:1px solid #e6ece7;padding-top:10px;gap:7px}
.book-bottom>span{color:#617166;min-height:16px}
.book-bottom .read-button{font-size:13px;font-weight:650;border-radius:10px;min-height:44px;padding:10px 8px;box-shadow:none}
.page-button{border-radius:10px;min-height:44px}
.page-footer{flex-wrap:wrap;color:#607064;margin-top:26px;row-gap:9px}
.page-footer a,.page-footer button{color:#45604e;min-height:44px;display:inline-flex;align-items:center}
.modal{border-radius:20px;box-shadow:0 24px 80px #15392f30}
.icon-button{min-width:44px;min-height:44px}
.guide-library-copy>span,.help-section p,.guide-credit{color:#5c7061}
.guide-credit a{min-height:44px}
.mobile-nav{border-top:1px solid #d9e4db;box-shadow:0 -4px 20px #163a3208;padding-bottom:env(safe-area-inset-bottom)}
.mobile-nav button{min-height:58px;color:#587060}
.mobile-nav button.active{color:#214b3f;background:#edf4ee;border-radius:12px}
@media(max-width:850px){.collection-tools{gap:10px}.books-grid{gap:17px 14px}}
@media(max-width:620px){
 main{padding-left:14px;padding-right:14px}
 .section-heading h1{font-size:27px;letter-spacing:-.8px}
 .section-heading p{font-size:13px}
 .collection-tools{margin-top:19px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .collection-tools .search-box{height:48px}
 .search-box input{font-size:16px}
 .control-select select,.sort-box select{height:44px;font-size:12px;padding-left:9px;padding-right:20px}
 .book-card{padding:9px;border-radius:14px}
 .books-grid{gap:15px 10px}
 .book-cover{padding:18px 12px 14px}
 .cover-series{max-width:65%;font-size:7px;letter-spacing:.8px;min-height:33px}
 .cover-title{font-size:clamp(18px,5.1vw,27px);margin-top:15px;margin-bottom:8px}
 .cover-bottom{font-size:6px;letter-spacing:.5px;padding-top:10px}
 .cover-monogram{font-size:35px}
 .save-button{top:14px;right:14px;width:44px;height:44px}
 .book-category{font-size:9px;margin-top:12px}
 .book-card h3{font-size:13px}
 .book-author{font-size:11px;margin-bottom:10px}
 .book-bottom .read-button{font-size:12px}
 .result-line{font-size:12px}.result-line .muted{display:none}
 .page-footer{margin-top:20px;font-size:11px}
 .page-footer>span{flex-basis:100%}
 .guest{min-width:44px;min-height:44px;justify-content:center}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:620px){.cover-bottom{display:none}}

/* Install is a contextual header action, not a persistent navigation destination. */
.install-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #d6e2d6;border-radius:11px;background:#eff5ed;color:#214b3f;font-size:13px;font-weight:700;white-space:nowrap}
.install-action[hidden]{display:none!important}
.install-action svg{width:18px;height:18px}
.install-action:hover{background:#e5efe3}
@media(max-width:850px){.identity-header .top-actions{gap:10px}.install-action{width:44px;padding:0}.install-action-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
@media(max-width:620px){.mobile-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.identity-header .top-actions{gap:4px}.install-action{width:44px;min-width:44px;height:44px;padding:0;border-radius:12px}.install-action svg{width:19px;height:19px}}
