/* The quiet, physical book shared by the LuneVue family. */
:root{--paper:#fdfcf7;--wash:#fafbf8;--ink:#343d31;--sage:#edf0e7}
body{background:var(--wash)}
.app-header{height:48px;padding:0 17px 0 26px;background:var(--wash)}
.brand{font:400 23px/1 Georgia,'Times New Roman',serif;letter-spacing:-.65px;padding:0;color:#202c22}
.toolbar{top:5px;padding:3px 5px;gap:1px;border-color:#eceee7;border-radius:11px;box-shadow:0 2px 10px #303a2810}
.toolbar button{width:35px;height:29px;border-radius:7px;color:#7a8275}
.toolbar svg{width:18px;height:18px;stroke-width:1.45}
.toolbar .divider{height:24px;margin:0 3px;background:#e5e8df}
.toolbar button.active{background:#eef1e8;color:#4c5944}
.toolbar button:disabled{opacity:.18}
.header-actions{gap:9px}.header-actions>span svg{width:17px}.profile-button{width:34px;height:34px;border-color:#e1e4da;box-shadow:0 2px 5px #29352905}.profile-button svg{width:17px}.profile-button #profile-dot{width:7px;height:7px}.save-button{height:35px;border-radius:8px;padding:0 11px;gap:8px;font-size:12px;border-color:#e0e3d9;box-shadow:0 2px 5px #29352908}.save-button svg{width:15px}.save-button .chevron{width:12px}.save-menu{top:43px}
.workspace{height:calc(100dvh - 48px);padding:0 51px 12px 24px}
.book-shell{max-width:none;isolation:isolate}
.book-shell:before{content:'';position:absolute;inset:0 -3px -4px;border-radius:13px 13px 11px 11px;background:#50564a;box-shadow:0 3px 7px #333a322e;z-index:-1}
.book-shell:after{left:1%;right:1%;bottom:-5px;height:8px;filter:blur(5px);background:#41473729}
.book{border:1px solid #deded2;border-radius:12px 12px 9px 9px;box-shadow:0 1px 0 #f4f1e5,0 2px 0 #a5a695,0 3px 0 #ece9da;inset:0;overflow:hidden}
.page{background-color:var(--paper)}
.left-page{border-radius:11px 0 0 8px;background-image:linear-gradient(90deg,#d4d0bc20 0%,#fffefa80 6%,transparent 35%,#d2cebf13 80%,#b9b6a050 100%);box-shadow:inset 4px 0 8px -5px #474c363d}
.right-page{border-radius:0 11px 8px 0;background-image:linear-gradient(90deg,#bab7a350 0%,#d2cebf13 20%,transparent 65%,#fffefa80 94%,#d4d0bc20 100%);box-shadow:inset -4px 0 8px -5px #474c363d}
.page:before{inset:0;z-index:29;opacity:.8;border-bottom:1px solid #f7f5e9;background:radial-gradient(ellipse at 50% 50%,transparent 65%,#c5bd9e0c 100%)}
.left-page:before{background:linear-gradient(45deg,#efede3 0 31px,#f8f6ed 31px 34px,transparent 35px) bottom left/68px 68px no-repeat,radial-gradient(ellipse at 50% 50%,transparent 65%,#c5bd9e0c 100%)}
.right-page:before{background:linear-gradient(-45deg,#e5e1d4 0 31px,#f8f6ed 31px 35px,transparent 36px) bottom right/68px 68px no-repeat,radial-gradient(ellipse at 50% 50%,transparent 65%,#c5bd9e0c 100%)}
.page:after{opacity:.12}
.gutter{width:5px;background:linear-gradient(90deg,#817d6212,#8a866c26 42%,#fffef1b5 57%,#a39d8010);box-shadow:-12px 0 25px 7px #81765b0c,12px 0 25px 7px #81765b0b}
.gutter:after{inset:9% 1px;background:repeating-linear-gradient(to bottom,transparent 0 64px,#81775b35 65px,transparent 66px 132px)}
.page-number{font:9px/1 var(--sans);bottom:4%;color:#a5a794;text-align:left}.left-page>.page-number{left:19%}.right-page>.page-number{left:auto;right:19%}
.page-canvas{inset:4% 5% 8%}
.page-actions{position:absolute;right:-31px;top:10px;z-index:60;display:grid;width:29px;border:1px solid #e1e3d9;border-radius:0 5px 5px 0;background:#fffefa;box-shadow:1px 2px 5px #343d2b0b}
.page-actions button{width:28px;height:31px;display:grid;place-items:center;color:#747d6b}.page-actions button+button{border-top:1px solid #eeeee6}.page-actions svg{width:16px;height:16px}.page-actions button:hover{background:#f0f2e9}.page-actions button:disabled{opacity:.3;cursor:default}
.edge-tabs{right:-31px;top:82px;gap:7px;align-items:flex-start}
.edge-tabs button{width:32px;height:35px;border:0;border-radius:0 4px 4px 0;box-shadow:1px 2px 4px #434a3312;color:#64725c;position:relative;transition:width .15s,background .15s}
.edge-tabs button:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#7f80521a}
.edge-tabs button svg{width:16px;height:16px;stroke-width:1.4}.edge-tabs button:first-child{background:#f1f0e8}.edge-tabs button:nth-child(2){background:#e8dc8d}.edge-tabs button:nth-child(3){background:#e9bfd1}.edge-tabs button:nth-child(4){background:#c6d8a5}.edge-tabs button:nth-child(5){background:#fffefa;border:1px dashed #a1aa96;height:33px}.edge-tabs button.active{width:36px;transform:none;box-shadow:1px 2px 4px #434a3320}
.corner-nav{top:auto;bottom:0;transform:none;width:65px;height:65px;border:0;box-shadow:none;background:transparent;border-radius:0;opacity:0;transition:opacity .2s}.corner-nav.prev{left:0}.corner-nav.next{right:0}.corner-nav:hover,.corner-nav:focus-visible{opacity:1;background:#ffffff35}.corner-nav svg{width:16px;color:#8a907c}
.panel{right:56px;top:10px;bottom:auto;max-height:calc(100% - 24px);overflow:auto;width:292px;padding:22px;border-radius:8px;background:#fffefbf7;border-color:#dbddd1;box-shadow:0 9px 30px #3e443320}.panel-head small{display:none}.panel-head h2{font-size:25px;margin:0}.panel-head{margin-bottom:21px}
@media(min-width:1700px){.app-header{height:56px;padding-left:30px}.brand{font-size:28px}.workspace{height:calc(100dvh - 56px);padding-right:62px;padding-left:27px}.toolbar{padding:5px 7px;top:4px}.toolbar button{width:40px;height:33px}.toolbar svg{width:20px;height:20px}.profile-button{width:41px;height:41px}.save-button{height:43px;font-size:14px}.page-actions,.edge-tabs{right:-39px;width:37px}.page-actions button{width:36px;height:39px}.edge-tabs{top:102px;gap:9px}.edge-tabs button{width:39px;height:43px}.edge-tabs button.active{width:43px}.edge-tabs button svg{width:19px;height:19px}.edge-tabs button:nth-child(5){height:39px}}
@media(max-width:900px) and (min-width:651px){.app-header{padding-left:19px;padding-right:12px}.brand{font-size:22px}.header-actions>span{display:none}.save-button{width:auto}.save-button span{display:inline}.toolbar button{width:30px}.workspace{padding-left:18px;padding-right:45px}}
@media(max-width:650px){.app-header{height:96px;padding:8px 12px 0 16px}.brand{font-size:23px;margin-top:8px}.header-actions>span{display:none}.profile-button{width:35px;height:35px}.save-button{height:35px}.toolbar{top:53px;padding:3px 5px}.toolbar button{width:35px;height:29px}.workspace{height:calc(100dvh - 96px);padding:0 37px 10px 10px}.book{border-radius:10px;border:1px solid #deded2}.book-shell:before{border-radius:12px}.edge-tabs,.page-actions{right:-28px}.edge-tabs button{width:29px}.page-actions{width:26px}.page-actions button{width:25px}.edge-tabs button.active{width:32px}.page-canvas{inset:4% 5% 8%}.panel{left:14px;right:42px;top:10px;width:auto}.left-page:before,.right-page:before{background-size:42px 42px}.save-menu{top:43px}.page-number{font-size:8px}}
