.interface-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.interface-options label{display:flex;gap:10px;padding:16px;border:1px solid #cbd3db;border-radius:8px;cursor:pointer;background:#fff}.interface-options label:has(input:checked){border-color:#ad833b;background:#fff8e9;box-shadow:0 0 0 1px #ad833b}.interface-options input{width:auto;flex:none;align-self:flex-start;margin-top:4px}.interface-options small{display:block;font-weight:400;margin-top:8px;line-height:1.5}.notebook-book-shell{max-width:1340px;margin:auto;padding:12px 20px 24px}.book-interface{background:#d9dedb}.book-interface main{max-width:none}.notebook-book-toolbar,.notebook-book-shortcuts{display:flex;align-items:center;justify-content:center;gap:16px;margin:12px 0}.notebook-book-toolbar span{min-width:180px;text-align:center;font:18px Georgia,serif}.notebook-book-stage{padding:12px 0 24px;filter:drop-shadow(0 16px 16px #14283535)}#notebook-flipbook{margin:auto}.notebook-leaf{background:#faf6ec;overflow:hidden;border:1px solid #d6c9ac}.notebook-paper{position:absolute;inset:0 0 30px;padding:28px;overflow:auto;overscroll-behavior:contain;background:linear-gradient(90deg,#e4dbc333,transparent 6%,transparent 94%,#baa88530)}.notebook-folio{position:absolute;bottom:8px;left:0;right:0;text-align:center;font:11px Georgia,serif;color:#807863}.notebook-book-cover{background:#1b3441;color:#f8e9bf;border:7px double #ac915c}.notebook-book-cover .notebook-paper{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:repeating-linear-gradient(92deg,#ffffff03 0 1px,transparent 1px 4px)}.notebook-book-cover h1{font:italic 64px Georgia,serif;letter-spacing:-2px;color:#f8e9bf}.notebook-book-cover p{line-height:1.8;color:#f8e9bf}.book-cover-emblem{border:1px solid #baa576;border-radius:50%;width:110px;height:110px;display:grid;place-items:center;font:64px Georgia;margin:18px}.notebook-book-cover .eyebrow{font-size:11px}.notebook-book-cover small{font-size:10px;letter-spacing:2px}.book-scroll-note{text-align:center}.book-interface .notebook-paper>.page{padding:0;max-width:none;min-height:0}.book-interface .notebook-paper h1{font-size:38px}.book-interface .notebook-paper .hero{display:block}.book-interface .notebook-paper .hero-copy{padding:0;background:none}.book-interface .notebook-paper .hero-visual{min-height:380px;padding:25px}.book-interface .notebook-paper .hero-stamp,.book-interface .vertical-note{display:none}.book-interface .notebook-paper .benefits,.book-interface .notebook-paper .story-strip,.book-interface .notebook-paper .editorial,.book-interface .notebook-paper .process-grid{display:grid;grid-template-columns:1fr;gap:20px}.book-interface .notebook-paper .designer{display:block;overflow:visible;border:0}.book-interface .notebook-paper .control-panel{padding:14px;border:0}.book-interface .notebook-paper .section-heading{display:block;padding:0 0 16px}.book-interface .notebook-paper .section-heading h1{font-size:32px}.book-interface .notebook-paper .preview-panel{position:static;padding:10px;border-radius:8px}.book-interface .notebook-paper .preview-stage{min-height:300px;padding:20px 5px}.book-interface .notebook-paper .tile-preview{max-width:230px}.book-interface .notebook-paper .purchase-bar{flex-wrap:wrap}.book-interface .notebook-paper .budget-grid,.book-interface .notebook-paper .interface-options{grid-template-columns:1fr}.book-interface .notebook-paper .my-info-form fieldset{padding:14px}.book-interface .notebook-paper .steps{margin:10px -14px}.book-interface .notebook-paper #price-tiers{grid-template-columns:repeat(3,1fr)}.book-interface .notebook-paper .swatches{grid-template-columns:repeat(6,1fr)}.book-interface .notebook-paper blockquote{padding:24px;margin:0}.book-interface .notebook-paper .process-grid{margin-top:22px}.book-interface .notebook-paper .row{flex-wrap:wrap}@media(max-width:650px){.notebook-book-shell{padding:8px 8px 20px}.notebook-paper{padding:18px}.notebook-book-toolbar{gap:6px}.notebook-book-toolbar button{padding:10px;font-size:12px}.notebook-book-toolbar span{min-width:0;flex:1;font-size:15px}.notebook-book-shortcuts{flex-wrap:wrap;gap:8px}.notebook-book-shortcuts button{font-size:12px;padding:10px}.interface-options{grid-template-columns:1fr}}
.my-info-form .interface-options input[type=radio]{width:18px;height:18px;min-width:18px;padding:0;border:0;accent-color:#1b3441}.interface-options label>span{min-width:0;overflow-wrap:anywhere}
/* Tegelboek-style translucent index pockets, attached to the book's outer edges. */
.notebook-book-shell{padding-inline:42px}.notebook-book-stage{position:relative}.notebook-side-tabs{position:absolute;display:block;pointer-events:none;z-index:20;margin:0;padding:0}.notebook-side-tab{position:absolute;left:calc(100% - 5px);height:13%;width:34px;pointer-events:auto;border:1px solid rgba(var(--tab-color),.6);border-radius:0 6px 6px 0;padding:4px 4px 4px 7px;touch-action:none;background:linear-gradient(170deg,#ffffff85,#ffffff08 36%,rgba(var(--tab-color),.22) 55%,#ffffff50),rgba(var(--tab-color),.26);box-shadow:inset 0 1px #ffffffbd,1px 3px 4px #1a302230;cursor:grab}.notebook-tab-label{display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;white-space:nowrap;width:100%;height:100%;padding:3px;background:linear-gradient(110deg,#fffff4ed,#faf8eac9);border:1px solid #b3af9233;box-shadow:0 1px 2px #34452b22;font:12px/1.1 'Bradley Hand','Segoe Print',cursive;color:#334139}.notebook-side-tab.tab-reverse{left:-29px;border-radius:6px 0 0 6px;padding:4px 7px 4px 4px}.notebook-side-tab[aria-current],.notebook-side-tab.requested{background-color:rgba(var(--tab-color),.6);box-shadow:0 2px 7px #20342d66}.notebook-side-tab:focus-visible{outline:3px solid #294c47;outline-offset:2px}.notebook-page-corner{position:absolute;bottom:24px;z-index:21;border:0;background:#dbcba5b0;padding:4px 11px;font:28px Georgia;color:#62573e;cursor:pointer}.notebook-page-corner.previous{left:0;border-radius:0 20px 0 0}.notebook-page-corner.next{right:0;border-radius:20px 0 0 0}.book-interface header nav{display:none}.book-interface header .bag{margin-left:auto}.book-interface .notebook-leaf{touch-action:pan-y}.book-interface .notebook-book-cover{touch-action:none}@media(max-width:650px){.notebook-book-shell{padding-inline:32px}.notebook-side-tab{width:29px}.notebook-side-tab.tab-reverse{left:-24px}.notebook-tab-label{font-size:10px}.notebook-book-toolbar span{font-size:13px}.notebook-book-toolbar button{font-size:11px;padding:8px}}
/* Book mode is a viewport-filling reader; the traditional website keeps its normal flow. */
html:has(body.book-interface),body.book-interface{height:100%;overflow:hidden;overscroll-behavior:none}.book-interface{height:100dvh;display:flex;flex-direction:column}.book-interface>.preview-banner,.book-interface>footer{display:none}.book-interface>header{flex:none;min-height:0;padding:10px 32px;max-width:none;width:100%;height:54px}.book-interface>header .brand{font-size:25px}.book-interface>main{flex:1;min-height:0;width:100%;overflow:hidden}.book-interface .notebook-book-shell{height:100%;width:100%;max-width:none;margin:0;padding:0 38px 8px;display:flex;flex-direction:column}.book-interface .notebook-book-toolbar{flex:none;margin:0;height:40px}.book-interface .notebook-book-stage{flex:1;min-height:0;padding:0;filter:drop-shadow(0 5px 8px #14283525)}.book-interface #notebook-flipbook{height:100%;width:100%;margin:0}.book-interface .notebook-book-shortcuts{flex:none;height:36px;margin:6px 0 0;gap:12px}.book-interface .notebook-book-shortcuts button{padding:6px 12px;font-size:12px}.book-interface .book-scroll-note{display:none}.book-interface .notebook-paper{inset:0 0 42px;overflow:hidden;overscroll-behavior:none;padding:20px;touch-action:none}.book-interface .notebook-folio{bottom:3px;font-size:9px}.book-content-pages{position:absolute;bottom:14px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;height:26px}.book-content-pages[hidden]{display:none}.book-content-pages button{font-size:11px;padding:4px 8px;background:#faf6ec}.book-content-pages span{font-size:10px;color:#756957}.book-interface .notebook-paper .hero-visual{min-height:280px}.book-interface .notebook-paper .preview-stage{min-height:220px}.book-interface .notebook-paper .tile-preview{max-width:170px}.book-interface .notebook-paper .section-heading h1{font-size:28px}@media(max-width:650px){.book-interface>header{height:44px;padding:6px 18px;flex-wrap:nowrap}.book-interface .notebook-book-shell{padding:0 30px 5px}.book-interface .notebook-book-toolbar{height:36px}.book-interface .notebook-book-shortcuts{height:34px;flex-wrap:nowrap;gap:5px}.book-interface .notebook-book-shortcuts button,.book-interface .notebook-book-shortcuts a{font-size:10px;padding:5px}.book-interface .notebook-paper{padding:14px}.book-content-pages{left:5px;right:5px}.book-content-pages button{font-size:10px}}
.book-interface #notebook-flipbook{min-width:0!important;min-height:0!important;max-width:none!important}.book-interface #notebook-flipbook>.stf__wrapper{height:100%!important;padding-bottom:0!important}
.book-interface .notebook-side-tabs{overflow:visible!important;max-width:none;flex-wrap:nowrap}

/* Both hard covers stay complete within the reader, including short screens. */
.book-interface .notebook-book-cover .notebook-paper{inset:0;padding:clamp(12px,3vh,28px);gap:clamp(5px,1.5vh,14px)}
.book-interface .notebook-book-cover .notebook-paper>*{margin:0;flex-shrink:0}
.book-interface .notebook-book-cover .book-cover-emblem{width:clamp(42px,12vh,100px);height:clamp(42px,12vh,100px);font-size:clamp(26px,7vh,60px)}
.book-interface .notebook-book-cover h1{font-size:clamp(26px,5vh,48px)}
.book-interface .notebook-book-cover p{font-size:clamp(12px,2vh,16px);line-height:1.5}
.book-interface .notebook-book-cover .notebook-folio,.book-interface .notebook-book-cover .book-content-pages{display:none}
@media(max-width:650px){.book-interface .notebook-book-shortcuts{height:auto;min-height:50px;flex-wrap:wrap;gap:3px}.book-interface .notebook-book-shortcuts button{padding:4px 6px}}
/* Book-only presentation, matching Tegelboek: no website chrome around the book. */
body.book-interface{background:radial-gradient(ellipse at center,#fff 45%,#f4f6f7 100%)}
.book-interface>header,.book-interface>.preview-banner,.book-interface>footer,
.book-interface .notebook-book-toolbar,.book-interface .notebook-book-shortcuts,
.book-interface .book-scroll-note{display:none!important}
.book-interface>main{height:100dvh;flex:1;margin:0;padding:0}
.book-interface .notebook-book-shell{width:min(100%,calc((100dvh - 28px)*1.4 + 60px));height:100dvh;margin:0 auto;padding:24px 40px;}
.book-interface .notebook-book-stage{isolation:isolate;filter:drop-shadow(0 5px 6px #14283540)}
.book-interface .notebook-book-stage::before{content:"";position:absolute;inset:-12px -10px;z-index:-1;border:1px solid #ad9866;border-radius:3px;background:repeating-linear-gradient(0deg,#ffffff03 0 1px,transparent 1px 3px),#183344;box-shadow:inset 0 0 0 3px #102b38}
.book-interface .notebook-book-stage.book-closed::before{opacity:0}
.book-interface .notebook-page-corner{color:transparent;background:transparent;box-shadow:none;border:0}
.book-interface .notebook-page-corner:focus-visible{outline:2px solid #ac915c;outline-offset:-3px}
.book-interface .notebook-folio{display:none}
@media(max-width:679px){.book-interface .notebook-book-shell{width:100%;padding:14px 30px}.book-interface .notebook-book-stage::before{inset:-7px -5px}}
/* Continuations belong to the paper corners, never to a paging toolbar. */
.book-interface .book-content-pages{bottom:0;left:0;right:0;height:28px;pointer-events:none}
.book-interface .book-content-pages span{display:none}
.book-interface .book-content-pages button{pointer-events:auto;width:28px;height:28px;padding:0;font-size:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(135deg,transparent 48%,#d5c6a4 50%,#f5eedc 80%)}
.book-interface .book-content-pages button:first-child{transform:scaleX(-1)}
.book-interface .book-content-pages button:disabled{visibility:hidden}
.book-interface .notebook-paper{bottom:28px}
.book-interface .notebook-page-corner{width:28px;height:28px;padding:0;z-index:19}
/* Tegelboek’s six-page process story, adapted to notebooks. */
.notebook-making-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.notebook-making-section[hidden]{display:none}
.notebook-making-story{padding:28px;background:#faf6ec;border:1px solid #e2d8c3;color:#283b42}
.notebook-making-story .making-eyebrow{font-size:10px;letter-spacing:.14em;color:#8e7040;margin:0 0 8px}
.notebook-making-story h2{font:30px/1.08 Georgia,serif;margin:0 0 16px}
.notebook-making-story figure{margin:0 0 14px}
.notebook-making-story img{display:block;width:100%;height:auto;aspect-ratio:2.4;object-fit:cover}
.notebook-making-story figcaption{font-size:9px;color:#7c766a;text-align:right;margin-top:3px}
.notebook-making-story p{font:14px/1.5 Georgia,serif;margin:0 0 12px}
.notebook-making-story .making-lead{font-size:16px;font-weight:bold}
.notebook-making-story .making-note{padding:10px 0;margin:0;border-top:1px solid #d8ceb9;font-style:italic;background:none;border-radius:0}
.notebook-making-story .making-progress{font:10px Georgia,serif;color:#8a795c;text-align:center;margin-top:8px}
.book-interface .notebook-making-story{padding:8px 10px;border:0;background:none}
.notebook-story-ending{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
@media(max-width:679px){.notebook-making-section{grid-template-columns:1fr}.book-interface .notebook-making-story{padding:4px}.notebook-making-story h2{font-size:26px}.notebook-making-story p{font-size:13px}.notebook-making-story .making-lead{font-size:14px}}
@media(max-height:650px) and (min-width:680px){.book-interface .notebook-making-story h2{font-size:24px;margin-bottom:10px}.book-interface .notebook-making-story p{font-size:12px;margin-bottom:8px}.book-interface .notebook-making-story .making-lead{font-size:13px}.book-interface .notebook-making-story figure{margin-bottom:8px}}
.book-interface .notebook-illustrated-cover{background:#132334 url('assets/notebook-cover-personal.jpg') center/cover no-repeat;border:2px solid #a99667}
.book-interface .notebook-illustrated-cover .notebook-paper{display:block;background:none;padding:0}
.book-interface .notebook-illustrated-cover .illustrated-cover-title{position:absolute;top:10%;left:9%;right:8%;text-align:left;color:#f3f5f7;text-shadow:0 2px 8px #07212680}
.book-interface .notebook-illustrated-cover .illustrated-cover-title p{font:9px/1.5 Arial,sans-serif;letter-spacing:.18em;margin-bottom:16px}
.book-interface .notebook-illustrated-cover h1{font:600 clamp(34px,6vh,64px)/1.1 Arial,sans-serif;letter-spacing:-2px;margin:0 0 14px}
.book-interface .notebook-illustrated-cover .illustrated-cover-title span{font:14px/1.5 Arial,sans-serif;color:#d7e0e8}
.book-interface .notebook-illustrated-cover .notebook-cover-logo{position:absolute;left:6%;bottom:5%;width:76px;height:76px;object-fit:contain;background:#fffef3eb;border-radius:50%;padding:4px;box-shadow:0 2px 8px #09242950}
.book-interface .inside-front .notebook-paper{inset:0}

/* Only the exposed binding rim is clickable; paper and index tabs stay unobstructed. */
.notebook-cover-edge{position:absolute;top:-12px;bottom:-12px;width:calc(50% + 10px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;pointer-events:none;z-index:19;cursor:pointer}
.notebook-cover-edge.front{left:-10px}.notebook-cover-edge.back{right:-10px}
.notebook-cover-edge[hidden]{display:none}
.notebook-cover-edge span{position:absolute;display:block;pointer-events:auto;touch-action:manipulation}
.notebook-cover-edge .cover-rim-outer{top:0;bottom:0;width:10px}
.notebook-cover-edge.front .cover-rim-outer{left:0}.notebook-cover-edge.back .cover-rim-outer{right:0}
.notebook-cover-edge .cover-rim-top,.notebook-cover-edge .cover-rim-bottom{left:0;right:0;height:12px}
.notebook-cover-edge .cover-rim-top{top:0}.notebook-cover-edge .cover-rim-bottom{bottom:0}
.notebook-cover-edge:hover,.notebook-cover-edge:active{background:transparent;transform:none;box-shadow:none}
.notebook-cover-edge:focus-visible{outline:none}.notebook-cover-edge:focus-visible span{background:#c8ad6b80}
@media(max-width:679px){.notebook-cover-edge{top:-7px;bottom:-7px;width:calc(50% + 5px)}.notebook-cover-edge.front{left:-5px}.notebook-cover-edge.back{right:-5px}.notebook-cover-edge .cover-rim-outer{width:5px}.notebook-cover-edge .cover-rim-top,.notebook-cover-edge .cover-rim-bottom{height:7px}}

.book-cover-elastic{position:absolute;inset:0;pointer-events:none;z-index:5}
.book-cover-elastic .tile-surface{position:absolute;inset:0;width:100%;height:100%;transform:none;overflow:visible;pointer-events:none;border:0;border-radius:0;box-shadow:none;background:none}
.book-cover-elastic .tile-template,.book-cover-elastic .tile-print{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.book-cover-elastic .cover-elastic-grip{position:absolute;left:calc(89.7% - 18px);top:0;width:36px;height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;pointer-events:auto;touch-action:none;cursor:ew-resize;z-index:3}
.book-cover-elastic .cover-elastic-grip:hover,.book-cover-elastic .cover-elastic-grip:active{background:transparent;transform:none}
.book-cover-elastic .cover-elastic-grip:focus-visible{outline:2px solid #d8bb7e;outline-offset:2px}

/* Separate cover lettering from the photographed pen highlight. */
.book-interface .notebook-illustrated-cover .illustrated-cover-title h1,.book-interface .notebook-illustrated-cover .illustrated-cover-title span{position:relative;left:5%}

/* Tegelboek's paper form: details first, compact two-column fields. */
.notebook-reader-profile .interface-choice{display:flex;flex-direction:column;gap:5px;margin:12px 0;font-weight:600}
.notebook-reader-profile .interface-choice select{padding:7px 9px;border:1px solid #c4caba;border-radius:3px;background:#fffdf4;color:#263b34;font:inherit}
.notebook-reader-profile #interface-status:empty,.notebook-reader-profile #my-info-save:empty,.notebook-reader-profile #my-info-sharing-status:empty{display:none}
.book-interface .notebook-reader-profile{color:#283b35;font:14px/1.4 Georgia,serif;padding:4px 12px!important}
.book-interface .notebook-reader-profile h1{font:normal 30px/1.18 Georgia,serif;letter-spacing:0;margin:6px 0 10px}
.book-interface .notebook-reader-profile .eyebrow{font:9px/1.3 Arial,sans-serif;letter-spacing:1.6px;color:#0645bf;margin:0 0 6px}
.book-interface .notebook-reader-profile p,.book-interface .notebook-reader-profile .intro{font:inherit;margin:0 0 9px}
.book-interface .notebook-reader-profile .my-info-form{display:flex;flex-direction:column;gap:6px;margin:0}
.book-interface .notebook-reader-profile #my-info-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;margin:4px 0}
.book-interface .notebook-reader-profile #my-info-fields label{display:flex;flex-direction:column;gap:4px;min-width:0;font:inherit}
.book-interface .notebook-reader-profile #my-info-fields input{width:100%;min-width:0;min-height:32px;padding:6px 7px;border:1px solid #c4caba;background:#fffdf4c9;color:#263b34;font:inherit;border-radius:3px}
.book-interface .notebook-reader-profile .interface-choice{font:inherit;margin:0;gap:4px}
.book-interface .notebook-reader-profile #interface-status{font-size:10px;color:#566359}
.book-interface .notebook-reader-profile fieldset{border:0;padding:0;margin:4px 0}
.book-interface .notebook-reader-profile legend{font-weight:normal;margin-bottom:4px}
.book-interface .notebook-reader-profile .my-info-consent{gap:8px;font:12px/1.4 Georgia,serif}
.book-interface .notebook-reader-profile .my-info-consent input{accent-color:#0645bf;width:15px;height:15px;padding:0}
.book-interface .notebook-reader-profile .small{font-size:11px;color:#566359}
.book-interface .notebook-reader-profile .row{display:flex;justify-content:space-between;gap:8px;margin:4px 0}
.book-interface .notebook-reader-profile .row button,.book-interface .notebook-reader-profile .row a{min-height:34px;padding:8px 10px;border-radius:5px;font:12px/1.3 Arial,sans-serif}
.book-interface .notebook-reader-profile .primary{background:#0645bf;border-color:#0645bf;color:white}
@media(max-height:700px){.book-interface .notebook-reader-profile{font-size:12px}.book-interface .notebook-reader-profile h1{font-size:25px}.book-interface .notebook-reader-profile p{margin-bottom:6px}.book-interface .notebook-reader-profile #my-info-fields{gap:6px 10px}}
.book-interface .notebook-reader-profile #my-info-fields label,.book-interface .notebook-reader-profile #my-info-fields input{margin:0}
.book-interface .notebook-reader-profile .my-info-consent{margin:4px 0}
.book-interface .notebook-reader-profile #my-info-save{font-size:10px;margin:0}
.book-interface .notebook-reader-profile{font-size:12px;line-height:1.35}
.book-interface .notebook-reader-profile h1{font-size:28px;margin-bottom:8px}
.book-interface .notebook-reader-profile #my-info-fields input{min-height:30px;padding:5px 7px}
.book-interface .notebook-reader-profile .my-info-form{gap:4px}
.book-interface .notebook-reader-profile .my-info-form fieldset{padding:0;margin:2px 0}

/* Flat fabric band folds over the hardcover rather than ending at its border. */
.book-interface .notebook-illustrated-cover{overflow:visible}
.book-cover-elastic{top:-3px;bottom:-3px}
.book-cover-elastic::before,.book-cover-elastic::after{content:"";position:absolute;left:87.4286%;width:4.5714%;height:5px;z-index:2;pointer-events:none;background:linear-gradient(to bottom,#192833,#3b4c58);border-inline:1px solid #263541}
.book-cover-elastic::before{top:0;border-radius:2px 2px 0 0}
.book-cover-elastic::after{bottom:0;background:linear-gradient(to bottom,#3b4c58,#192833);border-radius:0 0 2px 2px}

/* Local page keeps, adapted from Tegelboek's folded paper corners. */
.notebook-side-tab{height:11.5%}
.notebook-dogear{position:absolute;top:0;right:0;width:32px;height:32px;z-index:6;padding:0;border:0;border-radius:0;background:linear-gradient(45deg,transparent 48%,#d7cbb288 50%,#f6eedc 85%);box-shadow:none;cursor:pointer;touch-action:none;transition:none}
.notebook-leaf.--left .notebook-dogear{right:auto;left:0;transform:scaleX(-1)}
.notebook-dogear:hover,.notebook-dogear:active{background:linear-gradient(45deg,transparent 48%,#bba783 50%,#eee2c6 85%);transform:none}
.notebook-leaf.--left .notebook-dogear:hover,.notebook-leaf.--left .notebook-dogear:active{transform:scaleX(-1)}
.dog-eared .notebook-dogear,.dogear-preview .notebook-dogear{width:40px;height:40px;background:linear-gradient(45deg,#e3d6b9 45%,#a99773 49%,#fcf7eb 53%,#d8cdb6 100%);clip-path:polygon(0 0,100% 100%,100% 0);filter:drop-shadow(-1px 2px 2px #58472f66)}
.was-folded:not(.dog-eared) .notebook-dogear{background:linear-gradient(45deg,transparent 48%,#bbaa8666 50%,transparent 53%)}
.notebook-dogear:focus-visible{outline:2px solid #0645bf;outline-offset:-2px;clip-path:none}
.book-interface .notebook-contents{color:#34463f;font:14px/1.4 Georgia,serif;padding:5px 10px}
.notebook-contents h2{font:30px/1.1 Georgia,serif;margin:6px 0 15px}.notebook-contents h3{font:20px Georgia,serif;margin:22px 0 10px}
.contents-sections{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.notebook-contents button{font:inherit;padding:8px 10px;background:#fffdf480;border:1px solid #c4caba;color:#34463f;text-align:left;justify-content:flex-start}
.saved-page-row{display:flex;gap:5px;margin:5px 0}.saved-page{flex:1;min-width:0;touch-action:none;cursor:grab}.saved-page-row .saved-remove{flex:none;justify-content:center;width:30px;padding:3px}
.saved-pages-hint,.saved-empty,.bookmark-status{font-size:12px;color:#6c7269}.notebook-contents .eyebrow{font:9px Arial,sans-serif;color:#0645bf;letter-spacing:1.2px}
/* Keep the whole corner target usable even along the diagonal crease. */
.dog-eared .notebook-dogear,.dogear-preview .notebook-dogear{clip-path:none;background:linear-gradient(45deg,transparent 44%,#a99773 48%,#fcf7eb 52%,#d8cdb6 100%)}

.book-interface .notebook-leaf:not(.notebook-book-cover){background-color:var(--reader-paper,#f7f2e6)}
.book-interface .notebook-making-story,.book-interface .book-content-pages button{background-color:var(--reader-paper,#f7f2e6)}
.profile-paper-choice{display:flex;flex-direction:column;gap:5px;font:inherit}.profile-paper-options{display:flex;gap:5px;flex-wrap:wrap}
.profile-paper-options button{width:25px;height:30px;padding:0;background:var(--swatch);border:1px solid #abb5a5;border-radius:3px;box-shadow:inset 0 0 0 2px #ffffff80}
.profile-paper-options button[aria-pressed=true]{outline:2px solid #0645bf;outline-offset:1px}
.book-interface .notebook-reader-profile #my-info-fields select{min-width:0;width:100%;height:30px;padding:4px 6px;background:#fffdf4c9;border:1px solid #c4caba;border-radius:3px;font:inherit;color:#263b34}
.book-interface .notebook-reader-profile #interface-status{display:none}
.book-interface .notebook-reader-profile #notebook-rate-status{font-size:10px;margin:0}

/* Fit short pages naturally; keep longer pages reachable using native scrolling. */
.book-interface .notebook-leaf:not(.notebook-book-cover) .notebook-paper{inset:0;padding:20px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#9eaa9a transparent;scroll-padding:20px}
.book-interface .notebook-paper>*{min-width:0;max-width:100%}
.book-interface .notebook-paper .page,.book-interface .notebook-paper .preview-panel{width:100%;min-width:0;overflow-wrap:anywhere}
.book-interface .notebook-paper .row{flex-wrap:wrap;min-width:0}
.book-interface .notebook-paper input,.book-interface .notebook-paper select,.book-interface .notebook-paper textarea{min-width:0;max-width:100%}
.book-interface .notebook-paper img:not(.mini-pinch){max-width:100%}
.book-interface .notebook-paper .notebook-story-ending{height:auto;min-height:100%;padding-block:20px}
.book-interface .notebook-book-cover:not(.notebook-illustrated-cover) .notebook-paper{overflow:auto;justify-content:flex-start;padding-top:clamp(18px,8vh,70px);touch-action:pan-y}
.book-interface .notebook-paper .notebook-making-story{padding:4px 8px}
.book-interface .book-content-pages{display:none}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
body:not(.book-interface) main,body:not(.book-interface) .page{min-width:0;overflow-wrap:anywhere}
@media(max-width:679px){.book-interface .notebook-leaf:not(.notebook-book-cover) .notebook-paper{padding:14px;scroll-padding:14px}.book-interface .notebook-paper .purchase-bar>*{min-width:0}.book-interface .notebook-paper .notebook-contents{padding:4px}}

.book-interface .cover-personal-name{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}

.book-interface .notebook-cover-logo-link{position:absolute;left:6%;bottom:5%;width:84px;height:84px;border-radius:50%;z-index:2;display:block}
.book-interface .notebook-cover-logo-link .notebook-cover-logo{position:static;display:block}
.book-interface .notebook-cover-logo-link:focus-visible{outline:3px solid #d5aa59;outline-offset:5px}

/* Blank spread leaves and reader chrome belong exclusively to the book view. */
body:not(.book-interface) .notebook-book-shell,
body:not(.book-interface) .notebook-leaf,
body:not(.book-interface) .notebook-side-tabs,
body:not(.book-interface) .notebook-page-corner{display:none!important}
body:not(.book-interface) main{min-height:0}
body:not(.book-interface) main>.page[hidden]{display:none!important}
body:not(.book-interface) main>.page:empty{display:none}

/* Chapter list follows the traditional book contents style; Kept pages is unchanged. */
.notebook-contents .contents-sections{display:flex;flex-direction:column;gap:0;margin-top:20px}
.notebook-contents .contents-sections button{display:flex;align-items:baseline;gap:10px;min-height:45px;width:100%;padding:12px 2px;border:0;border-radius:0;background:transparent;box-shadow:none;font:16px/1.35 Georgia,serif}
.contents-sections .contents-dot{width:7px;height:7px;flex:none;border-radius:50%;background:var(--contents-colour);align-self:center}
.contents-sections .contents-subject{flex:0 1 auto}
.contents-sections .contents-leader{flex:1;min-width:12px;border-bottom:1px dotted #a3ac9f;opacity:.8}
.contents-sections .contents-number{font-variant-numeric:tabular-nums;font-size:13px;color:#758070}
.notebook-contents .contents-sections button:hover{color:#0645bf;background:#ffffff35}
.notebook-contents .contents-sections button:focus-visible{outline:2px solid #b18c43;outline-offset:3px}

.book-interface .notebook-side-tabs[hidden],.book-interface .book-closed .notebook-side-tabs{display:none!important}
.book-interface .notebook-page-corner{width:34px;height:36px;touch-action:manipulation}

/* The welcome example sits directly on the paper, without a rectangular backdrop. */
.book-interface #welcome .hero,.book-interface #welcome .hero-copy,.book-interface #welcome .hero-visual{background:transparent}
.book-interface #welcome .hero{min-height:0;overflow:visible}
.book-interface #welcome .hero-visual{min-height:0;padding:28px 32px 30px}
.book-interface #hero-notebook .tile-surface{background:transparent}
#hero-notebook .tile-template,#hero-notebook .notebook-clean-cover{border-radius:3px 14px 14px 3px}
.book-interface #hero-notebook .tile-template{pointer-events:none;-webkit-user-drag:none;user-select:none}

/* Generous page-turn strips above artwork, with corners reserved for bookmarks. */
.book-interface .notebook-page-corner{z-index:24;touch-action:none;cursor:grab;border-radius:0}
.book-interface .notebook-page-corner:active{cursor:grabbing}
.book-interface .notebook-page-corner[hidden]{display:none!important}

/* Clear the stationary binding before either cover begins to turn. */
.book-interface .notebook-book-stage.cover-turning::before{opacity:0;visibility:hidden;transition:none}
.book-interface .notebook-book-stage.cover-turning .notebook-cover-edge{visibility:hidden}

.book-interface .notebook-back-logo-link .notebook-cover-logo{width:76px;height:76px;object-fit:contain;background:#fffef3eb;border-radius:50%;padding:4px;box-shadow:0 2px 8px #09242950}
.book-interface .notebook-back-logo-link{flex:none}

/* Keep both top corners easy to grab; folding never falls through to a page turn. */
.book-interface .notebook-dogear,.book-interface .dog-eared .notebook-dogear,.book-interface .dogear-preview .notebook-dogear{width:48px;height:48px}

/* A compact editorial layout keeps the complete About story on one book leaf. */
.book-interface #about{font-size:clamp(11px,1.85vh,16px);line-height:1.4}
.book-interface #about>.eyebrow{font-size:.72em;margin:0 0 .6em;letter-spacing:.16em}
.book-interface #about>h1{font-size:clamp(24px,4vh,38px);line-height:1.08;margin:0 0 .4em;letter-spacing:-.035em}
.book-interface #about .editorial{display:block;margin:0;}
.book-interface #about blockquote{font-size:1.3em;line-height:1.25;padding:.65em .8em;margin:0 0 .7em;border-left:2px solid #b49660;background:#dfe8eb66}
.book-interface #about blockquote br{display:initial}
.book-interface #about cite{display:block;font:normal .63em/1.25 Arial,sans-serif;margin-top:.45em}
.book-interface #about .editorial h2{font-size:1.5em;line-height:1.15;margin:.6em 0 .35em}
.book-interface #about .editorial p{font-size:inherit;line-height:1.4;margin:0 0 .6em}
.book-interface #about .button{font-size:.95em;padding:.7em 1em;min-height:0;margin-top:.25em}

/* Welcome and the client story each have room to breathe on separate leaves. */
.notebook-client-story{margin-top:32px}.notebook-client-story p{line-height:1.65}.story-signature{font-weight:700;color:#846632}
.book-interface .notebook-welcome-leaf .notebook-paper{display:flex;flex-direction:column;justify-content:center}
.book-interface .notebook-welcome-leaf .hero-visual{background:none;min-height:0;padding:20px 32px;flex:none}
.book-interface .notebook-welcome-leaf #hero-notebook{max-width:min(280px,39vh);margin:auto}
.book-interface .notebook-welcome-leaf .benefits{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;margin-top:20px}
.book-interface .notebook-welcome-leaf .story-strip{display:block;margin:0;padding:0;background:none}
.book-interface .notebook-welcome-leaf .story-strip h2,.book-interface .notebook-client-story h2{font-size:clamp(24px,4.5vh,34px);line-height:1.12;margin:0 0 22px}
.book-interface .notebook-welcome-leaf p{font-size:clamp(13px,2.1vh,16px);line-height:1.55;margin-bottom:16px}
.book-interface .notebook-welcome-leaf .eyebrow{font-size:10px;letter-spacing:.14em}
.book-interface .notebook-client-story{margin:0}
.book-interface .notebook-story-belief blockquote{font:italic clamp(26px,4.8vh,38px)/1.2 Georgia,serif;padding:0 0 26px;color:#846632}
.book-interface .notebook-welcome-leaf .hero-note{font-size:13px}
@media(max-height:600px){.book-interface .notebook-welcome-leaf .notebook-paper{justify-content:flex-start}.book-interface .notebook-welcome-leaf p{margin-bottom:10px}}
.book-interface .notebook-welcome-leaf .pull-note{position:static;margin:28px 0 0;text-align:center;transform:none}

/* Destination links sit at the foot of the final inside page. */
.book-interface .notebook-paper .notebook-story-ending{display:grid;grid-template-rows:1fr auto;gap:24px;min-height:100%;padding:20px 0 8px;box-sizing:border-box}
.ending-message{align-self:center}.ending-links{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap}
.ending-links a{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;font-size:13px;font-weight:600;color:#283b42;padding:8px;border-radius:10px}
.ending-links img{width:56px;height:56px;object-fit:contain}.ending-links a:hover{background:#b496601a}.ending-links a:focus-visible{outline:2px solid #a17e3f;outline-offset:3px}
/* Content is printed on the chosen paper, rather than mounted on coloured cards. */
.book-interface .notebook-paper :is(.hero,.hero-copy,.hero-visual,.story-strip,.editorial,.designer,.control-panel,.preview-panel,.notebook-making-story,.making-note,.making-aside,.series-note,.notice,.frame-sample,.budget-calculator,blockquote,fieldset),
.book-interface .notebook-paper #series-browser,
.book-interface #about blockquote{background:transparent;box-shadow:none}
.book-interface .notebook-paper :is(.preview-panel,.series-note,.notebook-making-story){border-radius:0}
.book-interface .notebook-paper .steps button{background:transparent}
.book-interface .notebook-paper .notebook-contents button{background:transparent}
.book-interface .notebook-paper input:not([type=checkbox]):not([type=range]):not([type=color]),
.book-interface .notebook-paper select,.book-interface .notebook-paper textarea,
.book-interface .notebook-reader-profile #my-info-fields :is(input,select),
.book-interface .notebook-reader-profile .interface-choice select{background-color:transparent}
/* One bounded calculator, with matching inputs and results in each column. */
.budget-calculator{border:1.5px solid #9b8a68;border-radius:8px;padding:20px;text-align:left;min-width:0}
.budget-calculator h3{font-size:20px;line-height:1.25;margin:0 0 10px}
.budget-calculator>.small{font-size:12px;line-height:1.5;margin:0 0 18px}
.budget-calculator .budget-grid,.book-interface .notebook-paper .budget-calculator .budget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;align-items:stretch}
.budget-calculator .budget-grid>div{min-width:0;padding:0 16px 0 0}
.budget-calculator .budget-grid>div+div{border-left:1px solid #9b8a6860;padding:0 0 0 16px}
.budget-calculator .budget-grid label{display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:84px;margin:0;font-size:13px;line-height:1.4}
.budget-calculator .budget-grid input{display:block;width:100%;min-width:0;height:44px;margin:0;padding:10px;font-size:16px}
.budget-calculator .budget-result{font-size:12px;line-height:1.5;margin:12px 0 0;overflow-wrap:anywhere}
@media(max-width:679px){.budget-calculator{padding:16px}.budget-calculator .budget-grid,.book-interface .notebook-paper .budget-calculator .budget-grid{grid-template-columns:1fr}.budget-calculator .budget-grid>div{padding:0 0 16px}.budget-calculator .budget-grid>div+div{border-left:0;border-top:1px solid #9b8a6860;padding:16px 0 0}.budget-calculator .budget-grid label{min-height:0}}

/* The personal story continues directly after the About introduction. */
.book-interface #about .notebook-client-story{margin-top:20px;padding-top:16px;border-top:1px solid #b4966060}
.book-interface #about .notebook-client-story h2{font-size:1.5em;line-height:1.15;margin:0 0 .6em}
.book-interface #about .notebook-client-story p{font-size:inherit;line-height:1.5;margin-bottom:.8em}

/* Compact the combined About story into one leaf without cutting its text. */
.book-interface #about{font-size:clamp(11px,1.7vh,14px);line-height:1.35}
.book-interface #about>h1{font-size:clamp(22px,3.5vh,30px);margin-bottom:10px}
.book-interface #about blockquote{font-size:1.25em;line-height:1.2;padding:6px 10px;margin-bottom:8px}
.book-interface #about blockquote br{display:initial}
.book-interface #about .editorial h2{font-size:1.45em;margin:8px 0 6px}
.book-interface #about .editorial p{line-height:1.35;margin-bottom:7px}
.book-interface #about .notebook-client-story{margin-top:10px;padding-top:8px}
.book-interface #about .notebook-client-story .eyebrow{font-size:.8em;letter-spacing:.1em;margin-bottom:6px}
.book-interface #about .notebook-client-story h2{margin:0 0 8px}
.book-interface #about .notebook-client-story p{line-height:1.35;margin-bottom:7px}

/* Consistent My info controls in website and book layouts. */
.my-info-form{--profile-control-height:44px;--profile-field-gap:7px}
.my-info-form #my-info-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;align-items:start}
.my-info-form #my-info-fields>label,.my-info-form #my-info-fields>.profile-paper-choice{display:flex;flex-direction:column;gap:var(--profile-field-gap);margin:0;min-width:0;font:600 13px/1.4 system-ui,sans-serif;color:#243c4e}
.my-info-form #my-info-fields :is(input:not([type=checkbox]):not([type=radio]),select){box-sizing:border-box;width:100%;min-width:0;height:var(--profile-control-height);min-height:var(--profile-control-height);margin:0;padding:10px 12px;border:1px solid #b7c6ca;border-radius:8px;background-color:#fffefa;color:#243c4e;font:400 15px/1.3 system-ui,sans-serif;box-shadow:0 1px 2px #17394b06}
.my-info-form #my-info-fields input[hidden]{display:none!important}
.my-info-form #my-info-fields select{appearance:none;-webkit-appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23586e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.my-info-form #my-info-fields input[type=date]{appearance:none;-webkit-appearance:none;display:block}
.my-info-form #my-info-fields input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.3em}
.my-info-form #my-info-fields :is(input,select):focus-visible{outline:3px solid #ab874955;outline-offset:2px;border-color:#94743e}
.my-info-form .profile-paper-options{box-sizing:border-box;min-height:var(--profile-control-height);display:flex;align-items:center;gap:8px;padding:5px 0;flex-wrap:wrap}
.my-info-form .profile-paper-options button{box-sizing:border-box;width:32px;height:32px;min-width:32px;border-radius:6px;border:1px solid #aabbbd;box-shadow:inset 0 0 0 2px #ffffffa0}
.my-info-form .profile-paper-options button[aria-pressed=true]{outline:2px solid #234b63;outline-offset:2px}
.my-info-form :is(#interface-status,#my-info-save,#notebook-rate-status){font:400 12px/1.45 system-ui,sans-serif;color:#61767d;margin:0}
.my-info-form :is(#interface-status,#my-info-save):empty{display:none}
.my-info-form>.row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:6px}
.my-info-form>.row :is(button,.button){box-sizing:border-box;min-height:44px;display:flex;align-items:center;justify-content:center;margin:0;padding:11px 15px;border-radius:8px;text-align:center;font:600 13px/1.35 system-ui,sans-serif}
body:not(.book-interface) #my-info{max-width:920px;margin:24px auto;padding:32px;background:#fafcf9e8;border:1px solid #ffffffaa;border-radius:20px;box-shadow:0 12px 35px #17394b0c}
body:not(.book-interface) .my-info-form{display:flex;flex-direction:column;gap:16px;margin-top:24px}
.book-interface .notebook-reader-profile .my-info-form{--profile-control-height:32px;--profile-field-gap:3px;gap:5px}
.book-interface .notebook-reader-profile #my-info-fields{gap:8px 12px;margin:4px 0}
.book-interface .notebook-reader-profile #my-info-fields>label,.book-interface .notebook-reader-profile #my-info-fields>.profile-paper-choice{font:inherit;line-height:1.3}
.book-interface .notebook-reader-profile #my-info-fields :is(input,select){height:32px;min-height:32px;padding:5px 8px;font:inherit;border-radius:5px}
.book-interface .notebook-reader-profile #my-info-fields select{padding-right:28px;background-position:right 8px center}
.book-interface .notebook-reader-profile .profile-paper-options{gap:6px;padding:2px 0}
.book-interface .notebook-reader-profile .profile-paper-options button{width:24px;min-width:24px;height:26px;border-radius:4px}
.book-interface .notebook-reader-profile .my-info-form>.row :is(button,.button){min-height:34px;padding:6px 8px;font-size:11px}
.book-interface .notebook-reader-profile .my-info-form :is(#interface-status,#my-info-save,#notebook-rate-status){font-size:10px}
@media(max-width:600px){body:not(.book-interface) #my-info{margin:12px;padding:22px 18px;border-radius:14px}.my-info-form #my-info-fields{grid-template-columns:1fr;gap:16px}.my-info-form #my-info-fields :is(input,select){font-size:16px}.my-info-form>.row{grid-template-columns:1fr}}

/* Book profile: one control height; keep native select text inside the field. */
.book-interface .notebook-reader-profile .my-info-form #my-info-fields :is(input:not([type=checkbox]):not([type=radio]),select){box-sizing:border-box;width:100%;min-width:0;height:34px;min-height:34px;max-height:none;margin:0;padding:0 10px;font:400 13px/normal system-ui,sans-serif;border:1px solid #b7c6ca;border-radius:6px;color:#243c4e;background-color:#fffefa;vertical-align:middle}
.book-interface .notebook-reader-profile .my-info-form #my-info-fields select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23586e73' stroke-width='1.6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat}
.book-interface .notebook-reader-profile .my-info-form #my-info-fields input[type=date]::-webkit-date-and-time-value{min-height:0;line-height:32px;text-align:left}
.book-interface .notebook-reader-profile .my-info-form #my-info-fields input[type=date]::-webkit-datetime-edit{padding:0;line-height:normal}
.book-interface .notebook-reader-profile .my-info-form #my-info-fields{align-items:start;gap:9px 12px}
.book-interface .notebook-reader-profile .my-info-form .profile-paper-options{min-height:34px;align-items:center;padding:2px 0}
