/* Shared adaptive paper shell. Tab styling lives only in book-tabs.css. */
.reading-project.exact-book,#project-one.reading-project.exact-book{box-sizing:border-box;height:calc(100dvh - var(--header-height));min-height:0;padding:24px 64px 16px 34px;background:#dcf5ff url('/assets/art/folio-sky-reference.png') center/100% 100% no-repeat;overflow:hidden;isolation:isolate}
.reading-project.exact-book:before,.reading-project.exact-book:after{display:none}
.reading-project.exact-book>.section-inner{position:relative;display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center;max-width:1720px;width:100%;height:100%;min-height:0;margin:auto;padding:0;box-sizing:border-box}
.exact-book>.section-inner>.chapter-heading,.exact-book>.section-inner>.case-switcher{display:none}
.reading-project.exact-book .case-deck,#project-one.reading-project.exact-book .case-deck{display:block;flex:1 1 0;width:100%;height:auto;min-height:0;min-width:0;border:0;border-radius:0;padding:0;box-shadow:none;background:none;overflow:visible}
.exact-book>.section-inner>.chapter-next{display:flex;flex:none;position:static;margin:0 auto;padding:7px 20px;min-height:34px;align-items:center;justify-content:center;gap:12px;color:#382b96;background:#f7fcffe8;border:1px solid #b7d7ed;border-radius:22px;box-shadow:0 2px 0 #acc8e8;font-size:14px}
.exact-book .chapter-next span{font-size:14px;letter-spacing:0}
.exact-book .chapter-next b{font-size:18px}
.book-layout{display:grid;grid-template-columns:clamp(145px,13vw,214px) minmax(0,1fr);align-items:stretch;width:100%;height:100%;min-height:0;padding:0 14px 10px 0;box-sizing:border-box;isolation:isolate}
.book-pagination button:focus-visible,.book-expand:focus-visible{outline:3px solid #9568ff;outline-offset:5px}
.book-paper{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;height:100%;box-sizing:border-box;padding:0 24px;background:#fffef7;border:2px solid #19186f;border-radius:32px 24px 28px 20px;box-shadow:-9px 6px 0 #dcfcf3,-11px 7px 0 #32328b,7px 8px 0 #c7e7ff,9px 10px 0 #6064b0,13px 13px 0 #b4daf1}
.book-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;padding:10px 8px;border-bottom:1px solid #b8e1f8;box-sizing:border-box;color:#151466}
.book-heading>div{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:0}
.book-heading b{font-size:20px;font-weight:850}
.book-heading span{font-size:14px;color:#5267a0;border-left:1px solid #a8cbe9;padding-left:18px}
.book-expand{flex:none;padding:7px 13px;border:1px solid #b1d6ff;border-radius:9px;color:#3b4bd9;background:#f2f9ff;font:inherit;font-size:14px;cursor:pointer}
.book-scroll{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b7c9ef transparent;scrollbar-gutter:stable;padding:20px 8px 24px 12px;outline-offset:-3px}
.book-scroll>.case-study{padding:0;min-height:0;height:auto;overflow:visible;background:transparent}
.book-scroll .study-header{padding-bottom:14px;margin-bottom:18px}
.book-scroll .study-header h4{font-size:clamp(28px,2.6vw,43px)}
.book-scroll .study-birds{display:block}
.book-scroll .study-page-number{align-self:flex-start;font-size:23px;padding:9px 13px}
.book-scroll .study-body{gap:22px}
.book-scroll .study-section-title{font-size:21px}
.book-scroll .study-picture-flow img{aspect-ratio:1.55}
.book-scroll .study-image img{max-height:none}
.book-scroll .study-note{margin-top:3px}
.book-pagination{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid #c3dff7;padding:13px 0 16px;min-width:0;background:#fffef7;border-radius:0 0 18px 18px}
.book-page-list{display:flex;gap:6px;min-width:0;overflow-x:auto;padding:3px 2px 4px;scrollbar-width:thin}
.book-page-list>button{flex:1 0 106px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 10px;color:#344690;border:1px solid transparent;border-radius:10px;background:#edf3fa;font:inherit;font-size:14px;line-height:1.35;cursor:pointer}
.book-page-list small{flex:none;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff;color:#2837c6;font-size:13px;font-weight:800}
.book-page-list>button[aria-current]{background:linear-gradient(120deg,#b3eaff,#d5d7ff);color:#3124d6;border-color:#aecaff;font-weight:800}
.book-page-list>button[aria-current] small{background:#67d4ff}
.book-turn{padding:10px 16px;border:2px solid #27217a;border-radius:10px 14px 10px 12px;background:#f4fbff;box-shadow:inset 0 0 0 2px #fff,2px 3px 0 #adc6ed;color:#252079;font:inherit;font-size:15px;font-weight:800;cursor:pointer;white-space:nowrap}
.book-turn-next{background:linear-gradient(145deg,#9a7dff,#6740ff);color:white;box-shadow:inset 0 0 0 2px #b8a5ff,2px 3px 0 #33217e}
.book-turn:disabled{opacity:.38;cursor:default;box-shadow:none}
.book-support-footer{padding:14px;border-top:1px solid #c3dff7;text-align:center;color:#7183ae;font-size:14px}
.book-support-body{min-width:0;color:#151669}
.book-support-body>h3{font-size:clamp(28px,2.6vw,43px);margin:0 0 24px;font-weight:900;line-height:1.25}
.book-support-body>.ds-overview,.book-support-body>.project-background,.book-support-body>.showcase{padding:0;margin:0;min-height:0;height:auto;max-height:none;overflow:visible;background:none;border:0}
.book-support-body .ds-overview-header,.book-support-body .background-intro,.book-support-body .showcase-heading h3{display:none}
.book-support-body .ds-role-strip{margin-top:0}
.book-support-body .ds-overview-grid{min-height:0;max-height:none;overflow:visible}
.book-support-body .background-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.book-support-body .background-fields>div{min-width:0}
.book-support-body .showcase-heading{display:flex;justify-content:flex-end}
.book-support-body .showcase-track{height:auto;max-height:none;grid-template-rows:repeat(2,230px);overflow-x:auto;overflow-y:hidden;padding:10px 6px 20px}
.book-support-body .showcase-placeholder{border:1px solid #a9ccef;background:linear-gradient(135deg,#e9f8ff,#eeeaff);border-radius:12px}
.book-support-body .empty-case{min-height:360px;height:auto}
#detail-dialog.folio-reading{width:min(1440px,calc(100vw - 40px));max-height:94dvh;padding:18px 24px;box-sizing:border-box;background:#fffef7;border:2px solid #343086;border-radius:20px;overflow:hidden}
#detail-dialog.folio-reading #detail-body{display:flex;flex-direction:column;max-height:calc(94dvh - 40px);min-height:0}
.folio-reading .lightbox-top{flex:none;padding:0 0 12px;margin:0;border-bottom:1px solid #c7dff1;background:none}
.folio-reading .lightbox-top h2{font-size:23px}
.folio-reading .lightbox-top>div>span{font-size:14px}
.book-reader-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b4c8e5 transparent;padding:20px 8px}
.book-reader-body>.case-study{padding:0;min-height:0;background:none}
.book-reader-body .study-header{display:none}
.folio-reader-footer{flex:none;display:flex;justify-content:center;align-items:center;gap:25px;padding:14px 0 0;border-top:1px solid #c7dff1;font-size:14px;color:#485997}
.folio-reader-footer button{padding:8px 16px;border:1px solid #b3c9ee;border-radius:9px;background:#edf5ff;color:#34329b;cursor:pointer}
.folio-reader-footer button:disabled{opacity:.35}
@media(max-width:1100px){.reading-project.exact-book,#project-one.reading-project.exact-book{padding:22px 54px 14px 20px}
.book-layout{grid-template-columns:150px minmax(0,1fr)}
.book-paper{padding:0 18px}
.book-scroll .study-feature,.book-scroll .study-tutorial-final{grid-template-columns:1fr}
.book-scroll .study-phone-layout{grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr)}
.book-turn{padding:9px 10px}
.book-page-list>button{flex-basis:100px}
}
@media(max-width:700px){.reading-project.exact-book,#project-one.reading-project.exact-book{height:calc(100dvh - var(--header-height));padding:16px 16px 14px 12px}
.reading-project.exact-book>.section-inner{gap:14px}
.book-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);padding:0 6px 7px;gap:13px}
.book-paper{padding:0 12px;border-radius:20px 15px 20px 15px;box-shadow:-4px 3px 0 #cdf8ee,-6px 4px 0 #35357f,4px 5px 0 #b7d7f1}
.book-heading{min-height:50px;padding:9px 2px;gap:10px}
.book-heading>div{gap:5px}
.book-heading b{font-size:16px}
.book-heading span{font-size:12px;padding-left:7px}
.book-expand{font-size:13px;padding:5px 8px}
.book-scroll{padding:18px 6px 22px}
.book-scroll .study-header h4{font-size:27px}
.book-scroll .study-page-number{font-size:18px;padding:6px}
.book-scroll .study-page-number small{font-size:12px}
.book-pagination{gap:7px;padding:11px 0 13px}
.book-turn{padding:8px;font-size:13px}
.book-page-list>button{flex-basis:34px;padding:7px 5px}
.book-page-list>button span{display:none}
.book-page-list small{width:23px;height:23px}
.book-support-body .background-fields{grid-template-columns:1fr}
.book-support-body .showcase-track{grid-template-rows:repeat(2,180px)}
.book-scroll .study-phone-layout,.book-scroll .study-three-zone,.book-scroll .study-columns,.book-scroll .study-grid{grid-template-columns:1fr}
.book-scroll .study-picture-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
.book-scroll .study-requirements>div{grid-template-columns:1fr;gap:5px;padding:12px}
.book-scroll .study-requirements dt{border:0}
.book-scroll .study-note{display:block}
.book-scroll .study-note strong{display:block;border:0;margin-bottom:8px}
.book-scroll .study-flow{flex-wrap:wrap}
.book-scroll .study-flow li{flex-basis:40%}
#detail-dialog.folio-reading{width:calc(100vw - 16px);padding:14px}
.folio-reading .lightbox-top h2{font-size:20px}
}
@media(max-height:650px) and (min-width:701px){.book-heading{min-height:48px}
.book-pagination{padding:8px 0 11px}
}
.book-support-body .showcase-card figcaption{font-size:14px;padding:8px 12px;color:#536b9f}
.book-scroll .study-header{min-height:100px}
@media(max-width:700px){.book-scroll .study-birds{display:none}
.book-scroll .study-header{min-height:0}
}
.book-paper{border:0;border-radius:0;box-shadow:none;background:transparent url('/assets/art/book-frame-curved.png') center/100% 100% no-repeat;padding:clamp(24px,4vh,42px) 8.6% clamp(28px,4.5vh,46px) 8.2%;isolation:isolate}
.book-layout{grid-template-columns:clamp(148px,12vw,200px) minmax(0,1fr);padding-right:0}
.book-heading,.book-pagination,.book-support-footer{background:transparent}
.book-heading{padding-inline:0;min-height:54px}
.book-scroll{padding-left:6px;padding-right:8px}
.book-pagination{padding:11px 0 3px;gap:10px}
.book-support-footer{padding-bottom:3px}
.book-turn{--sprite-x:2.941176%;--sprite-y:20.809899%;position:relative;isolation:isolate;min-height:47px;padding:12px 18px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#21177d}
.book-turn:before{content:'';position:absolute;inset:-3px -4px;z-index:-1;background-image:url('/assets/art/book-tab-atlas.png');background-repeat:no-repeat;background-size:206.25% 343.561644%;background-position:var(--sprite-x) var(--sprite-y);pointer-events:none}
.book-turn-next{--sprite-x:99.226006%;color:#fff;background:none;box-shadow:none;padding-right:25px}
.book-turn:disabled{opacity:.4}
.book-turn:hover:not(:disabled){filter:brightness(1.08)}
#life .site-footer{flex:none;width:100%;box-sizing:border-box;min-height:60px;margin:16px 0 0;padding:12px 22px;background:#e9e2f3b3;border:1px solid #c9bade;border-radius:13px;gap:18px;color:#5b4776}
#life .site-footer>span{font-size:11px;letter-spacing:.08em}
#life .footer-sign{font-size:17px}
#life .footer-sign>span{font-size:11px}
#life .back-top{width:33px;height:36px}
@media(max-width:1100px){.book-layout{grid-template-columns:145px minmax(0,1fr)}
.book-paper{padding-left:8.2%;padding-right:8.6%}
.book-turn{padding:10px 12px;font-size:14px}
.book-turn-next{padding-right:21px}
}
@media(max-width:700px){.book-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);padding:0;gap:9px}
.book-paper{padding:24px 8.8% 28px 8.2%;background-size:100% 100%}
.book-heading{min-height:45px;padding-block:6px}
.book-heading>div{gap:3px}
.book-heading span{border-left:0;padding-left:0}
.book-heading b{font-size:15px}
.book-scroll{padding-inline:3px}
.book-pagination{gap:7px;padding-top:9px}
.book-turn{font-size:12px;padding:9px 7px;min-height:38px}
.book-turn-next{padding-right:13px}
.book-page-list{gap:2px}
.book-page-list>button{flex-basis:27px;padding:4px 2px}
.book-page-list small{width:21px;height:21px;font-size:12px}
#life .site-footer{padding:12px 15px;gap:12px;margin-top:18px}
#life .site-footer>span{font-size:10px;order:3;flex-basis:100%}
#life .site-footer>div{margin-left:auto}
}
@media(max-height:650px) and (min-width:701px){.book-paper{padding-top:24px;padding-bottom:28px}
}
.book-layout{position:relative;--rail-width:clamp(95px,8vw,135px);--tab-width:clamp(176px,14vw,230px);grid-template-columns:var(--rail-width) minmax(0,1fr)}
.book-paper{grid-column:2;padding-top:clamp(38px,5.5vh,58px);padding-left:calc(8.2% + clamp(24px,2.5vw,42px));padding-right:calc(8.6% + clamp(22px,2.2vw,38px))}
.book-heading{padding-right:6px}
.book-scroll{padding-right:12px;padding-left:6px;scrollbar-gutter:stable}
.book-pagination{margin-inline:-18px;padding-inline:2px}
@media(max-width:1100px) and (min-width:701px){.book-layout{--rail-width:95px;--tab-width:160px}
.book-paper{padding-left:calc(8.2% + 40px);padding-right:calc(8.6% + 24px)}
}
@media(max-width:700px){.book-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
.book-paper{grid-column:1;padding-top:30px;padding-left:calc(8.2% + 12px);padding-right:calc(8.6% + 12px)}
.book-pagination{margin-inline:-8px}
.book-scroll{padding-inline:2px}
}
@media(max-height:650px) and (min-width:701px){.book-paper{padding-top:34px}
}
.book-paper{padding-bottom:clamp(23px,3.2vh,32px)}
.book-pagination{min-height:72px;padding:15px 0 6px;margin-inline:calc(-1 * clamp(24px,2.5vw,42px));gap:20px;border-top:0;box-sizing:border-box}
.book-page-list{justify-content:center;gap:10px;padding-block:6px}
.book-page-list>button{flex:0 1 144px;min-width:96px;padding:8px 10px;font-size:14px;white-space:nowrap}
.book-page-list small{width:25px;height:25px}
.book-turn{--turn-fill:#f8fdff;--turn-edge:#c3e4fc;--turn-shine:#fff;min-width:132px;min-height:51px;padding:10px 17px;display:flex;align-items:center;justify-content:center;gap:10px;color:#21177d;font-size:17px;font-weight:800;filter:drop-shadow(1px 3px 0 #a9c9e5);background:transparent;box-shadow:none}
.book-turn:before{inset:0;background:#21177d;clip-path:polygon(6% 0,94% 0,100% 17%,99% 78%,93% 100%,5% 97%,0 79%,1% 20%);z-index:-2}
.book-turn:after{content:'';position:absolute;inset:2px 3px 5px 2px;background:linear-gradient(160deg,var(--turn-fill) 65%,var(--turn-edge));border:2px solid var(--turn-shine);clip-path:polygon(6% 0,94% 0,100% 17%,99% 78%,93% 100%,5% 97%,0 79%,1% 20%);z-index:-1;pointer-events:none}
.book-turn-next{--turn-fill:#7752ff;--turn-edge:#4c23cc;--turn-shine:#b7a3ff;color:#fff;padding-right:17px;filter:drop-shadow(1px 3px 0 #4c3b9a)}
.book-turn:disabled{opacity:.5}
.book-turn>span{font-size:23px;font-weight:500}
@media(max-width:1100px) and (min-width:701px){.book-pagination{gap:12px;margin-inline:-16px}
.book-turn{min-width:103px;padding:8px 11px;font-size:15px}
.book-page-list{justify-content:flex-start;gap:6px}
.book-page-list>button{min-width:99px}
}
@media(max-width:700px){.book-paper{padding-bottom:30px}
.book-pagination{margin-inline:-9px;min-height:64px;gap:7px;padding:11px 0 7px}
.book-turn{min-width:62px;min-height:39px;padding:7px;font-size:12px;gap:0}
.book-turn>span{display:none}
.book-page-list{gap:3px;justify-content:flex-start}
.book-page-list>button{flex:0 0 27px;min-width:27px;padding:5px 2px}
.book-page-list small{width:21px;height:21px}
}
@media(max-height:650px) and (min-width:701px){.book-pagination{min-height:66px;padding-top:11px;padding-bottom:7px}
.book-paper{padding-bottom:30px}
}
.book-scroll{padding-bottom:12px}
.book-paper{background:transparent url('/assets/art/book-frame-fill.svg') center/100% 100% no-repeat;padding-top:clamp(32px,4.5vh,48px);padding-left:calc(7.2% + 30px);padding-right:calc(8.5% + 25px);padding-bottom:clamp(35px,4.6vh,49px)}
.book-paper:before,.book-paper:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-position:center;background-size:100% 100%;background-repeat:no-repeat}
.book-paper:before{inset:5% 0 1% auto;width:12%;background-image:url('/assets/art/book-right-decoration.png');background-size:100% 100%;clip-path:none;transform:none}
.book-paper:after{background-image:url('/assets/art/book-frame-reference.svg');mask-image:var(--book-frame-mask,none);mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-image:var(--book-frame-mask,none);-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}
.book-pagination{min-height:73px;padding:14px 0 0;margin-inline:-24px;gap:16px;align-items:center}
.book-turn{min-width:150px;min-height:55px;font-size:18px}
.book-page-list{gap:8px}
.book-page-list>button{flex:0 1 130px;min-width:92px}
.book-scroll .study-birds{display:none}
@media(max-width:1100px) and (min-width:701px){.book-layout{--rail-width:90px;--tab-width:170px}
.book-paper{padding-left:calc(7.2% + 28px);padding-right:calc(8.5% + 18px)}
.book-turn{min-width:104px;min-height:48px;font-size:14px}
.book-pagination{margin-inline:-14px;gap:10px}
}
@media(max-width:700px){.book-paper{padding:28px calc(8.5% + 9px) 34px calc(7.2% + 11px)}
.book-pagination{margin-inline:-6px;gap:6px;min-height:58px;padding-top:10px}
.book-turn{min-width:60px;min-height:38px;font-size:12px}
.book-page-list>button{flex:0 0 27px;min-width:27px}
}
@media(max-height:650px) and (min-width:701px){.book-paper{padding-top:28px;padding-bottom:32px}
.book-pagination{min-height:58px;padding-top:9px}
.book-turn{min-height:43px}
}

.book-turn{filter:none;min-height:59px}
.book-turn:before{inset:-2px -4px;background:transparent url('/assets/art/book-turn-prev.svg') center/100% 100% no-repeat;clip-path:none;z-index:-1}
.book-turn-next:before{background-image:url('/assets/art/book-turn-next.svg')}
.book-turn:after{display:none}
.book-turn-next{filter:none}
@media(max-width:700px){.book-turn{min-height:40px}
}
@media(max-height:650px) and (min-width:701px){.book-turn{min-height:45px}
}
@media(min-width:1101px){.book-layout{--tab-width:clamp(174px,12.5vw,210px)}
}
