.ebook-theme-surface {
  --ink:#17235c;
  --muted:#596583;
  --line:#dbe4f5;
  --paper:#fff;
  --surface:#f4f6fb;
  --brand:#1268c4;
  --brand-dark:#0b2a6b;
  --accent:#dc286d;
  --focus:#ffad00;
  --panel:#fff;
  --panel-alt:#eef3ff;
  --ybag-indigo:#17235c;
  --ybag-blue:#1268c4;
  --ybag-coral:#dc286d;
  --ybag-gold:#ffad00;
  --ybag-green:#62a916;
  --ybag-violet:#8246b4;
  color:var(--ink);
}
.ebook-library-hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 240px; align-items: center; overflow: hidden; min-height: 440px; padding: clamp(64px,9vw,120px) clamp(24px,9vw,140px); background: radial-gradient(circle at 82% 26%,#fff0b9 0 10%,transparent 28%),linear-gradient(135deg,#f7f8ff,#fff 58%,#fff1f7); }
.ebook-library-hero > div { max-width: 850px; }
.ebook-library-hero h1 { max-width: 780px; margin: 0; color: var(--ybag-indigo); font-size: clamp(54px,7vw,92px); line-height: .95; letter-spacing: -.05em; }
.ebook-library-hero p:last-child { max-width: 720px; color: var(--muted); font-size: 20px; line-height: 1.7; }
.ebook-orbit { position: relative; display: grid; width: 210px; height: 210px; place-items: center; border: 18px solid var(--ybag-blue); border-right-color: transparent; border-radius: 50%; color: var(--ybag-gold); font-size: 70px; transform: rotate(-10deg); }
.ebook-orbit::before,.ebook-orbit::after { position:absolute; border-radius:50%; content:''; }
.ebook-orbit::before { right:-24px; top:12px; width:28px; height:28px; background:var(--ybag-coral); }
.ebook-orbit::after { right:-5px; bottom:2px; width:20px; height:20px; background:var(--ybag-green); }
.ebook-orbit b { transform:rotate(10deg); }
.ebook-library-grid { display:grid; gap:28px; padding:clamp(52px,7vw,96px) clamp(24px,9vw,140px); background:#f7f8ff; }
.ebook-library-card { display:grid; grid-template-columns:minmax(230px,.65fr) minmax(0,1.35fr); gap:clamp(30px,6vw,80px); align-items:center; overflow:hidden; max-width:1100px; border:1px solid var(--line); border-radius:32px; background:#fff; box-shadow:0 24px 70px rgba(23,35,92,.1); }
.ebook-cover-wrap { display:grid; min-height:360px; place-items:center; padding:28px; background:radial-gradient(circle at 70% 20%,#fff2b9,transparent 28%),#eef3ff; }
.ebook-cover-wrap img { width:100%; }
.ebook-library-card > div:last-child { padding:38px 48px 38px 0; }
.ebook-edition { display:inline-flex; border-radius:999px; padding:7px 12px; color:var(--ybag-indigo); background:#eef0ff; font-size:12px; font-weight:900; text-transform:uppercase; }
.ebook-library-card h2 { margin:18px 0 10px; color:var(--ybag-indigo); font-size:clamp(36px,5vw,62px); line-height:1; letter-spacing:-.04em; }
.ebook-library-card p { max-width:680px; color:var(--muted); font-size:18px; line-height:1.7; }
.ebook-empty { max-width:760px; padding:48px; border:1px solid var(--line); border-radius:28px; background:#fff; }
.ebook-reader-hero { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr); gap:clamp(40px,7vw,100px); align-items:center; padding:clamp(62px,8vw,110px) clamp(24px,9vw,140px); background:radial-gradient(circle at 80% 18%,#fff2bd 0 11%,transparent 32%),linear-gradient(135deg,#f7f8ff,#fff 58%,#f8efff); }
.ebook-back { display:inline-block; margin-bottom:35px; color:var(--ybag-indigo); font-weight:900; text-decoration:none; }
.ebook-reader-copy h1 { max-width:780px; margin:0; color:var(--ybag-indigo); font-size:clamp(58px,7vw,96px); line-height:.94; letter-spacing:-.055em; }
.ebook-reader-copy > p:last-child { max-width:760px; color:var(--muted); font-size:19px; line-height:1.7; }
.ebook-subtitle { margin:22px 0 0; color:var(--ybag-coral); font-size:clamp(23px,3vw,34px); font-weight:900; }
.ebook-reader-art { overflow:hidden; border:1px solid var(--line); border-radius:34px; background:#fff; box-shadow:0 30px 80px rgba(23,35,92,.14); }
.ebook-reader-art img { display:block; width:100%; }
.ebook-reader-layout { display:grid; grid-template-columns:260px minmax(0,820px); gap:clamp(42px,7vw,100px); justify-content:center; padding:clamp(60px,8vw,110px) clamp(24px,8vw,120px); }
.ebook-contents { position:sticky; top:28px; display:flex; height:max-content; flex-direction:column; gap:12px; padding:24px; border:1px solid var(--line); border-radius:20px; background:#f7f8ff; }
.ebook-contents strong { margin-bottom:8px; color:var(--ybag-indigo); }
.ebook-contents a { color:var(--muted); font-size:14px; font-weight:800; text-decoration:none; }
.ebook-manuscript article { padding:0 0 64px; scroll-margin-top:30px; }
.ebook-manuscript article + article { padding-top:56px; border-top:1px solid var(--line); }
.ebook-manuscript h2 { margin:0 0 25px; color:var(--ybag-indigo); font-size:clamp(38px,5vw,58px); line-height:1.04; letter-spacing:-.04em; }
.ebook-chapter-body { color:#414968; font-size:19px; line-height:1.9; }
.ebook-formats { padding:clamp(64px,8vw,110px) clamp(24px,9vw,140px); background:#17235c; }
.ebook-formats-heading { max-width:880px; }
.ebook-formats-heading .ybag-kicker { color:#ffcf3f; }
.ebook-formats-heading h2 { margin:0; color:#fff; font-size:clamp(40px,5vw,64px); line-height:1.02; letter-spacing:-.04em; }
.ebook-formats-heading > p:last-child { color:#d7dbef; font-size:18px; line-height:1.7; }
.ebook-format-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:42px; }
.ebook-format-card { min-width:0; padding:26px; border-radius:22px; background:#fff; box-shadow:inset 0 6px var(--format-accent,var(--ybag-blue)); }
.ebook-format-card.accent-text { --format-accent:var(--ybag-green); }.ebook-format-card.accent-audio { --format-accent:var(--ybag-coral); }.ebook-format-card.accent-video { --format-accent:var(--ybag-violet); }
.ebook-format-card > span { color:var(--format-accent,var(--ybag-blue)); font-size:12px; font-weight:900; letter-spacing:.13em; }
.ebook-format-card h3 { color:var(--ybag-indigo); }
.ebook-format-card p { color:var(--muted); min-height:76px; }
.ebook-format-card a,.ebook-format-card strong { color:var(--ybag-indigo); font-size:14px; font-weight:900; }
.ebook-downloads-link { display:inline-block; margin-top:32px; color:#fff; font-weight:900; }
.ebook-box-link { display:block; color:inherit; text-decoration:none; }
.ebook-box-art { display:block; width:100%; aspect-ratio:1; border-radius:24px; background-color:transparent; background-image:var(--ebook-box); background-position:center; background-repeat:no-repeat; background-size:contain; filter:drop-shadow(0 22px 24px rgba(23,35,92,.18)); }
.ebook-public-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,460px); gap:clamp(42px,7vw,100px); align-items:center; min-height:560px; padding:clamp(68px,9vw,125px) clamp(24px,9vw,140px); background:radial-gradient(circle at 83% 21%,#fff0b9 0 10%,transparent 29%),linear-gradient(135deg,#f7f8ff,#fff 56%,#fff0f7); }
.ebook-public-hero>div:first-child { max-width:850px; }
.ebook-public-hero h1 { max-width:820px; margin:0; color:var(--ybag-indigo); font-size:clamp(42px,5vw,64px); line-height:1; letter-spacing:-.045em; }
.ebook-public-hero p:not(.ybag-kicker) { max-width:760px; color:var(--muted); font-size:20px; line-height:1.7; }
.ebook-public-actions,.ebook-detail-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.ebook-hero-collage { display:block; width:min(100%,460px); height:auto; justify-self:center; object-fit:contain; filter:drop-shadow(0 30px 34px rgba(23,35,92,.2)); transform:rotate(1deg); }
.ebook-public-intro { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr); gap:clamp(36px,7vw,90px); padding:clamp(54px,7vw,86px) clamp(24px,9vw,140px); color:#fff; background:#17235c; }
.ebook-public-intro h2 { margin:0; font-size:clamp(34px,4vw,50px); line-height:1.05; }
.ebook-public-intro>p { margin-top:25px; color:#d7dbef; font-size:18px; line-height:1.75; }
.ebook-public-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; padding:clamp(54px,8vw,100px) clamp(24px,8vw,120px); background:#f7f8ff; }
.ebook-public-card { display:grid; grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr); gap:26px; align-items:center; min-width:0; padding:26px; border:1px solid var(--line); border-radius:28px; background:#fff; box-shadow:0 18px 50px rgba(23,35,92,.07); }
.ebook-public-card.is-coming-soon { background:linear-gradient(145deg,#fff,#fbf9ff); }
.ebook-public-card-copy { min-width:0; }
.ebook-public-card h2 { margin:8px 0 8px; color:var(--ybag-indigo); font-size:clamp(27px,3vw,38px); line-height:1.02; letter-spacing:-.035em; }
.ebook-public-card-subtitle { margin:0 0 10px; color:var(--ybag-coral); font-size:17px; font-weight:900; line-height:1.32; }
.ebook-public-card-summary { margin:0; color:var(--muted); line-height:1.65; }
.ebook-public-card-offer,.ebook-detail-offer { display:grid; gap:6px; margin:20px 0; padding:17px 18px; border:1px solid #dfe5f5; border-radius:18px; background:#f8faff; }
.ebook-public-card-offer small,.ebook-detail-offer small { display:block; color:var(--muted); line-height:1.45; }
.ebook-public-card-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:18px; }
.ebook-offer-price { display:flex; flex-wrap:wrap; gap:10px; align-items:baseline; }
.ebook-offer-price strong { color:var(--ybag-indigo); font-size:clamp(27px,3vw,38px); line-height:1; }
.ebook-offer-price del { color:#7e849b; font-size:17px; font-weight:800; }
.ebook-availability { display:inline-flex; width:max-content; border-radius:999px; padding:7px 11px; color:#155c47; background:#e3f6ee; font-size:11px; font-weight:900; letter-spacing:.035em; text-transform:uppercase; }
.ebook-availability.coming_soon { color:#7d4c00; background:#fff0d5; }
.ebook-author-button { color:#fff; background:var(--ybag-violet,#6c3ac7); border-color:transparent; }
.ebook-manage-link,.ebook-section-heading>a { display:inline-flex; width:max-content; color:var(--ybag-blue,#1268c4); font-size:14px; font-weight:900; text-decoration:none; }
.ebook-section-heading { display:flex; gap:22px; align-items:flex-start; justify-content:space-between; }
.ebook-section-heading>div { min-width:0; }
.ebook-section-visual { margin:0 0 28px; overflow:hidden; border-radius:24px; background:#eef3ff; }
.ebook-section-visual img { display:block; width:100%; aspect-ratio:1; object-fit:cover; }
.ebook-reading-cover { width:min(100%,620px); margin:38px auto 55px; }
.ebook-reading-cover img { display:block; width:100%; aspect-ratio:1; border-radius:28px; object-fit:cover; box-shadow:0 24px 70px rgba(23,35,92,.16); }
.ebook-media-collection { margin-top:46px; padding-top:42px; border-top:1px solid var(--line); }
.ebook-media-collection>header { max-width:760px; }
.ebook-media-collection h3,.ebook-media-collection h2 { margin:4px 0 24px; color:var(--ybag-indigo); font-size:clamp(28px,4vw,42px); }
.ebook-callout-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.ebook-resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.ebook-callout-grid figure,.ebook-resource-grid figure { margin:0; padding:14px; border:1px solid var(--line); border-radius:22px; background:#fff; }
.ebook-callout-grid img,.ebook-resource-grid img { display:block; width:100%; aspect-ratio:1; border-radius:15px; object-fit:cover; }
.ebook-callout-grid figcaption,.ebook-resource-grid figcaption { padding:13px 4px 3px; color:var(--ybag-indigo); font-size:14px; font-weight:900; }
.ebook-reader-resources { padding:0 clamp(24px,7vw,100px) 80px; }
.studio-section-image { margin:0 0 24px; }
.studio-section-image img { display:block; width:min(100%,620px); aspect-ratio:1; border-radius:22px; object-fit:cover; }
.studio-section-image figcaption { margin-top:8px; color:var(--muted); font-size:13px; }
.studio-inline-edit { display:inline-block; margin-top:22px; font-weight:900; }
.ebook-learning-paths { display:grid; gap:16px; margin-top:30px; padding-top:26px; border-top:1px solid var(--line); }
.ebook-parent-note,.ebook-path-grid section { display:flex; gap:15px; align-items:flex-start; border-radius:20px; }
.ebook-parent-note { padding:19px; color:#182555; background:linear-gradient(135deg,#fff4f8,#fff); border:1px solid #f4d8e5; }
.ebook-parent-note img,.ebook-path-grid img { flex:0 0 48px; width:48px; height:48px; border-radius:13px; object-fit:contain; background:#fff; }
.ebook-learning-paths strong { display:block; margin-bottom:6px; color:var(--ybag-indigo); font-size:14px; font-weight:950; letter-spacing:.02em; text-transform:uppercase; }
.ebook-learning-paths p { margin:0; color:var(--muted); line-height:1.65; }
.ebook-learning-note-copy { color:var(--muted); font-size:13px; line-height:1.55; }
.ebook-learning-note-copy p { margin:0 0 0.85rem; }
.ebook-learning-note-copy p:last-child { margin-bottom:0; }
.ebook-path-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.ebook-path-grid section { padding:17px; border:1px solid var(--line); background:#f8faff; }
.ebook-path-grid section:nth-child(2) { background:#f4fbf3; }
.ebook-path-grid section:nth-child(3) { background:#fffaf0; }
.studio-guidance-editor { display:grid; gap:15px; margin:26px 0; padding:22px; border:1px solid #dce4f5; border-radius:22px; background:#f7f9ff; }
.studio-guidance-editor header { display:grid; gap:3px; }
.studio-guidance-editor header span { color:var(--ybag-indigo); font-size:18px; font-weight:900; }
.studio-guidance-editor header small { color:var(--muted); }
.ebook-series-tag { margin:15px 0 0; color:var(--ybag-violet); font-size:12px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.ebook-text-link { color:var(--ybag-indigo); font-weight:900; text-decoration:none; }
.ebook-text-link:hover { color:var(--ybag-violet); }
.ebook-public-detail { display:grid; grid-template-columns:minmax(320px,430px) minmax(0,760px); gap:clamp(46px,7vw,100px); justify-content:center; align-items:center; padding:clamp(60px,8vw,110px) clamp(24px,8vw,120px); background:radial-gradient(circle at 18% 17%,#fff0b9,transparent 23%),linear-gradient(145deg,#f7f8ff,#fff); }
.ebook-detail-art { width:100%; }
.ebook-detail-copy h1 { margin:15px 0 12px; color:var(--ybag-indigo); font-size:clamp(42px,5vw,64px); line-height:1; letter-spacing:-.045em; }
.ebook-detail-subtitle { margin:0; color:var(--ybag-coral); font-size:clamp(23px,2.4vw,31px); font-weight:900; line-height:1.15; }
.ebook-detail-summary { color:var(--muted); font-size:19px; line-height:1.75; }
.ebook-detail-offer { max-width:580px; background:#fff; box-shadow:0 12px 32px rgba(23,35,92,.07); }
.ebook-detail-offer p { margin:0; color:var(--ybag-violet); font-weight:900; }
.ebook-disabled-button { color:#69708a; border-color:#dde0eb; background:#eef0f6; box-shadow:none; }
.ebook-public-toc { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:clamp(42px,7vw,90px); padding:clamp(58px,8vw,100px) clamp(24px,9vw,140px); background:#fff; }
.ebook-public-toc h2,.ebook-current-version>header h2,.ebook-gate-message h2,.ebook-signed-in-lock h2 { margin:0; color:var(--ybag-indigo); font-size:clamp(36px,4.2vw,54px); line-height:1.04; letter-spacing:-.04em; }
.ebook-public-toc>div>p:last-child,.ebook-current-version>header>p:last-child,.ebook-signed-in-lock p { color:var(--muted); font-size:17px; line-height:1.7; }
.ebook-public-toc ol { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.ebook-public-toc li { display:grid; grid-template-columns:48px 1fr; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.ebook-public-toc li>span { color:var(--ybag-coral); font-size:12px; font-weight:900; }
.ebook-public-toc li div { display:grid; gap:4px; }
.ebook-public-toc li strong { color:var(--ybag-indigo); font-size:18px; }
.ebook-public-toc li small { color:var(--muted); }
.ebook-current-version { padding:clamp(58px,8vw,105px) clamp(24px,9vw,140px); background:#f7f8ff; }
.ebook-current-version>header { max-width:850px; margin-bottom:42px; }
.ebook-public-manuscript { display:grid; gap:24px; max-width:980px; }
.ebook-public-manuscript article { padding:clamp(28px,4vw,48px); border:1px solid var(--line); border-radius:24px; background:#fff; }
.ebook-public-manuscript h3 { margin:0 0 18px; color:var(--ybag-indigo); font-size:clamp(29px,3.5vw,42px); line-height:1.05; }
.ebook-public-manuscript article>div { color:#414968; font-size:18px; line-height:1.85; }
.ebook-preview-gate { position:relative; overflow:hidden; min-height:570px; max-width:1100px; border:1px solid var(--line); border-radius:30px; background:#fff; box-shadow:0 24px 70px rgba(23,35,92,.1); }
.ebook-blurred-pages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; padding:36px; filter:blur(8px); opacity:.55; transform:scale(1.02); }
.ebook-blurred-pages article { min-height:470px; padding:34px; border:1px solid #d9ddef; border-radius:20px; background:#fff; }
.ebook-blurred-pages span,.ebook-blurred-pages h3,.ebook-blurred-pages p { display:block; border-radius:999px; background:#bfc5da; }
.ebook-blurred-pages span { width:25%; height:11px; }.ebook-blurred-pages h3 { width:76%; height:34px; margin:25px 0; }.ebook-blurred-pages p { width:100%; height:13px; margin:17px 0; }.ebook-blurred-pages p:last-child { width:72%; }
.ebook-gate-message { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:38px; text-align:center; background:linear-gradient(180deg,rgba(247,248,255,.24),rgba(247,248,255,.93) 35%,#f7f8ff 70%); }
.ebook-gate-message h2 { max-width:760px; }
.ebook-gate-message>div { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:28px; }
.ebook-gate-message small { max-width:650px; margin-top:18px; color:var(--muted); }
.ebook-signed-in-lock { max-width:860px; padding:45px; border:1px solid var(--line); border-radius:26px; background:#fff; }
.ebook-publication-credit { display:flex; flex-wrap:wrap; gap:9px 13px; align-items:center; margin:16px 0 0; color:var(--muted); font-size:13px; line-height:1.45; }
.ebook-publication-credit strong { color:var(--ybag-indigo); }
.ebook-publication-credit > i { width:5px; height:5px; border-radius:50%; background:var(--ybag-coral); }
.ebook-publisher-credit { display:inline-flex; gap:8px; align-items:center; }
.ebook-publisher-credit img { width:32px; height:32px; object-fit:contain; }
.ebook-series-page { width:min(100%,1180px); margin:clamp(58px,8vw,92px) auto 0; border:1px solid var(--line); border-radius:30px; padding:clamp(28px,4vw,50px); background:#fff; box-shadow:0 22px 60px rgba(23,35,92,.08); break-before:page; }
.ebook-series-page > header { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,430px); gap:36px; align-items:end; margin-bottom:30px; }
.ebook-series-page > header h2 { max-width:720px; margin:4px 0 0; color:var(--ybag-indigo); font-size:clamp(31px,3.5vw,46px); line-height:1.03; letter-spacing:-.035em; }
.ebook-series-page > header > p { margin:0; color:var(--muted); line-height:1.62; }
.ebook-series-nine { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(3,minmax(0,1fr)); gap:14px; }
.ebook-series-nine article { display:grid; grid-template-columns:92px minmax(0,1fr); gap:15px; min-width:0; min-height:215px; border:1px solid var(--line); border-top:4px solid var(--ybag-blue); border-radius:18px; padding:15px; background:#fbfcff; break-inside:avoid; }
.ebook-series-nine article:nth-child(3n + 2) { border-top-color:var(--ybag-green); }
.ebook-series-nine article:nth-child(3n + 3) { border-top-color:var(--ybag-coral); }
.ebook-series-thumb { align-self:start; }
.ebook-series-thumb img { display:block; width:92px; aspect-ratio:1; border-radius:13px; object-fit:contain; background:#eef3ff; }
.ebook-series-card-copy { display:flex; min-width:0; flex-direction:column; }
.ebook-series-card-copy > span { color:var(--ybag-coral); font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.ebook-series-card-copy h3 { margin:5px 0 6px; color:var(--ybag-indigo); font-size:19px; line-height:1.05; }
.ebook-series-card-subtitle { margin:0 0 7px; color:var(--ybag-coral); font-size:13px; font-weight:900; line-height:1.32; }
.ebook-series-card-summary { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-size:12px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.ebook-series-actions { display:flex; gap:7px; margin-top:auto; padding-top:11px; }
.ebook-series-actions a { display:inline-flex; min-height:31px; align-items:center; justify-content:center; border:1px solid var(--ybag-blue); border-radius:9px; padding:5px 9px; color:#fff; background:var(--ybag-blue); font-size:11px; font-weight:900; text-decoration:none; }
.ebook-series-actions a:last-child { color:var(--ybag-indigo); background:#fff; }
.ebook-series-page > .ebook-publication-credit { margin-top:25px; border-top:1px solid var(--line); padding-top:18px; justify-content:center; }
.ebook-flipbook-section { position:relative; padding:clamp(36px,6vw,72px) clamp(14px,4vw,54px) clamp(48px,6.5vw,86px); background:radial-gradient(circle at 8% 10%,rgba(255,207,63,.2),transparent 24%),linear-gradient(180deg,#f4f6fb,#e9edf6); }
.ebook-flipbook-heading { display:flex; width:min(100%,1240px); align-items:end; justify-content:space-between; gap:40px; margin:0 auto 34px; }
.ebook-flipbook-heading>div { max-width:850px; }
.ebook-flipbook-heading h2 { max-width:780px; margin:0; color:var(--ybag-indigo); font-size:clamp(36px,4.5vw,58px); line-height:1.02; letter-spacing:-.04em; }
.ebook-flipbook-heading>div>p:last-child { max-width:800px; color:var(--muted); font-size:17px; line-height:1.7; }
.ebook-book-shell { --book-paper:#fffdf8; position:relative; width:min(100%,1340px); margin:auto; overflow:hidden; border:1px solid #17235c; border-radius:26px; color:#202946; background:#111a43; box-shadow:0 35px 90px rgba(23,35,92,.24); }
.ebook-book-toolbar { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:18px; align-items:center; min-height:66px; padding:10px 16px; color:#fff; background:linear-gradient(90deg,#111a43,#17235c 48%,#111a43); }
.ebook-book-toolbar>span { overflow:hidden; color:#d7dbef; font-size:13px; font-weight:800; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
.ebook-book-toolbar>div { display:flex; gap:9px; }
.ebook-book-toolbar button { display:inline-flex; min-height:42px; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.24); border-radius:12px; padding:8px 13px; color:#fff; background:rgba(255,255,255,.08); font:800 13px/1.1 inherit; cursor:pointer; }
.ebook-book-toolbar button:hover,.ebook-book-toolbar button:focus-visible { border-color:#ffcf3f; background:rgba(255,207,63,.13); }
.ebook-book-toolbar button:disabled { opacity:.38; cursor:not-allowed; }
.ebook-layout-switcher { display:flex; gap:5px; align-items:center; padding:3px; border:1px solid rgba(255,255,255,.16); border-radius:14px; background:rgba(4,10,39,.28); }
.ebook-layout-switcher button { width:38px; min-height:34px; padding:5px; border-radius:9px; }
.ebook-layout-switcher button[aria-pressed=true] { border-color:#ffcf3f; color:#ffcf3f; background:rgba(255,207,63,.16); box-shadow:inset 0 0 0 1px rgba(255,207,63,.2); }
.ebook-layout-icon { position:relative; display:block; box-sizing:border-box; border:2px solid currentColor; border-radius:3px; }
.ebook-layout-icon::after { position:absolute; bottom:1px; left:50%; width:3px; height:2px; border-radius:999px; content:''; background:currentColor; transform:translateX(-50%); }
.ebook-layout-icon-phone { width:12px; height:21px; }
.ebook-layout-icon-tablet { width:17px; height:22px; }
.ebook-layout-icon-desktop { width:24px; height:15px; border-radius:2px; }
.ebook-layout-icon-desktop::after { bottom:-6px; width:10px; height:2px; border-radius:0; box-shadow:0 3px 0 -1px currentColor; }
.ebook-book-stage { position:relative; min-height:620px; padding:clamp(1px,0.2vw,3px); perspective:2200px; background:radial-gradient(circle at 50% 115%,rgba(255,207,63,.18),transparent 34%),#202a58; }
.ebook-book-spread { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100%,1280px); min-height:600px; margin:auto; transform-style:preserve-3d; filter:drop-shadow(0 22px 24px rgba(3,8,32,.3)); }
.ebook-book-spread::after { position:absolute; z-index:5; top:0; bottom:0; left:50%; width:28px; content:''; pointer-events:none; transform:translateX(-50%); background:linear-gradient(90deg,transparent,rgba(30,29,39,.16) 30%,rgba(0,0,0,.24) 50%,rgba(255,255,255,.16) 72%,transparent); }
.ebook-page { position:relative; display:flex; min-width:0; height:clamp(600px,72vw,780px); max-height:90vh; flex-direction:column; overflow:hidden; border:1px solid #ded9cf; color:#28304c; background:linear-gradient(90deg,#f9f5ec,var(--book-paper) 8%,var(--book-paper)); transform-style:preserve-3d; backface-visibility:hidden; }
.ebook-page:nth-child(even) { border-radius:0 18px 18px 0; background:linear-gradient(270deg,#f7f2e8,var(--book-paper) 8%,var(--book-paper)); transform-origin:left center; }
.ebook-page:nth-child(odd) { border-radius:18px 0 0 18px; transform-origin:right center; }
.ebook-page[hidden] { display:none; }
.ebook-page-content { box-sizing:border-box; min-height:0; flex:1; overflow:hidden; padding:clamp(24px,2.7vw,38px) clamp(27px,3.2vw,46px) clamp(18px,2.2vw,30px); }
.ebook-page:nth-child(odd) .ebook-page-content { padding-right:clamp(34px,4vw,56px); }
.ebook-page:nth-child(even) .ebook-page-content { padding-left:clamp(34px,4vw,56px); }
.ebook-page footer { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:30px; margin:0 clamp(4px,0.5vw,8px); border-top:1px solid #ddd8ce; color:#7a7f91; font:700 11.5px/1.2 inherit; }
.ebook-page footer span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ebook-page footer b { color:var(--ybag-indigo); }
.ebook-page h2 { margin:0; color:var(--ybag-indigo); font-size:clamp(23px,2.25vw,33px); line-height:1.08; letter-spacing:-.025em; text-wrap:balance; }
.ebook-book-kicker { margin:0 0 13px; color:var(--ybag-coral); font-size:11.5px; font-weight:950; letter-spacing:.105em; text-transform:uppercase; }
.ebook-page-cover .ebook-page-content { display:grid; padding:0; place-items:center; background:radial-gradient(circle at 68% 18%,#fff1b7,transparent 26%),#eef3ff; }
.ebook-page-cover img { display:block; width:100%; height:100%; object-fit:contain; }
.ebook-page-cover-hero .ebook-page-content { background:#17235c; }
.ebook-page.ebook-page-cover-hero .ebook-page-content { padding:0; }
.ebook-page-cover-hero img { object-fit:cover; object-position:center; }
.ebook-page-cover .ebook-box-art { width:100%; height:100%; border-radius:0; }
.ebook-page-title .ebook-page-content { display:flex; flex-direction:column; justify-content:center; }
.ebook-page-title h2 { max-width:520px; font-size:clamp(32px,3.5vw,49px); }
.ebook-book-subtitle { max-width:520px; margin:18px 0 0; color:var(--ybag-coral); font-size:clamp(17px,1.7vw,23px); font-weight:900; line-height:1.25; }
.ebook-book-rule { width:72px; height:6px; margin:30px 0 12px; border-radius:999px; background:linear-gradient(90deg,var(--ybag-blue),var(--ybag-green),var(--ybag-gold),var(--ybag-coral)); }
.ebook-book-edition { margin-top:22px; color:var(--muted); font-size:12px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.ebook-page-title .ebook-publication-credit { align-items:flex-start; flex-direction:column; }
.ebook-page-title .ebook-publication-credit>i { display:none; }
.ebook-page-toc ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; margin:24px 0 0; padding:0; list-style:none; }
.ebook-page-toc li { display:grid; grid-template-columns:32px 1fr; gap:9px; padding:11px 0; border-bottom:1px solid #e2ded5; }
.ebook-page-toc li>span { color:var(--ybag-coral); font-size:10px; font-weight:950; }
.ebook-page-toc li div { display:grid; gap:2px; }
.ebook-page-toc li strong { color:var(--ybag-indigo); font-size:14px; line-height:1.22; }
.ebook-page-toc li small { color:var(--muted); font-size:10.8px; line-height:1.3; }
.ebook-page-toc h2 { font-size:clamp(24px,2.4vw,34px); }
.ebook-page-toc-note .ebook-page-content>p:not(.ebook-book-kicker) { color:var(--muted); font-size:15.3px; line-height:1.58; }
.ebook-page-toc-note ul { display:grid; gap:8px; margin:20px 0 0; padding:0; list-style:none; }
.ebook-page-toc-note li { display:grid; gap:3px; border-left:4px solid var(--ybag-blue); border-radius:0 13px 13px 0; padding:10px 13px; background:#f1f5ff; }
.ebook-page-toc-note li:nth-child(2) { border-left-color:var(--ybag-green); background:#f3faef; }
.ebook-page-toc-note li:nth-child(3) { border-left-color:var(--ybag-coral); background:#fff2f7; }
.ebook-page-toc-note li strong { color:var(--ybag-indigo); }
.ebook-page-toc-note li span { color:var(--muted); font-size:13px; line-height:1.5; }
.ebook-page-visual { display:grid; margin:20px 0 22px; overflow:hidden; border:1px solid #dfe5f4; border-radius:18px; padding:9px; place-items:center; background:linear-gradient(145deg,#f8faff,#eef3ff); }
.ebook-page-visual img { display:block; width:100%; height:clamp(190px,25vw,275px); object-fit:contain; }
.ebook-page-visual-illustration img { border-radius:11px; }
.ebook-page-visual-infographic { background:#fff; }
.ebook-page-chapter .ebook-section-heading { margin-bottom:20px; }
.ebook-page-chapter .ebook-section-heading h2 { font-size:clamp(23px,2.25vw,32px); }
.ebook-page.ebook-page-body>.ebook-page-content>h2 { font-size:clamp(20px,1.9vw,27px); line-height:1.1; }
.ebook-page-body { color:#414968; font-size:clamp(14.25px,1.22vw,16px); line-height:1.56; text-wrap:pretty; text-rendering:optimizeLegibility; }
.ebook-page-body p:first-child { margin-top:0; }
.ebook-page-body p { margin:0 0 .34rem; }
.ebook-page-body p:last-child { margin-bottom:0; }
.ebook-page-body strong { color:var(--ybag-indigo); font-weight:900; }
.ebook-page-body em { color:#1f315e; font-style:italic; }
.ebook-page-body p { orphans: 3; widows: 3; }
.ebook-page-body p:has(>strong:only-child) { margin:.78rem 0 .3rem; color:var(--ybag-indigo); font-size:1.08em; line-height:1.25; }
.ebook-page-body ul,.ebook-page-body ol { margin:.42rem 0 .65rem; padding-left:1.25rem; }
.ebook-page-body li { margin:0 0 .2rem; padding-left:.18rem; break-inside:avoid; }
.ebook-page-body ul:has(>li:nth-child(6)),.ebook-page-body ol:has(>li:nth-child(6)) { columns:2; column-gap:clamp(22px,3vw,38px); column-rule:1px solid #e3e7f1; }
.ebook-page.is-text-roomy .ebook-page-body { font-size:clamp(15.1px,1.3vw,17px); line-height:1.6; }
.ebook-page.is-text-extra-roomy .ebook-page-body { font-size:clamp(16px,1.42vw,18px); line-height:1.64; }
.ebook-page.is-text-max-roomy .ebook-page-body { font-size:clamp(16.8px,1.52vw,19px); line-height:1.68; }
.ebook-page.is-text-tight .ebook-page-body { font-size:clamp(13.8px,1.16vw,15.25px); line-height:1.48; }
.ebook-page.is-flow-balanced .ebook-page-content { display:flex; flex-direction:column; }
.ebook-page.is-flow-balanced .ebook-page-body { display:flex; min-height:0; flex:1; flex-direction:column; justify-content:flex-start; font-size:clamp(15px,1.28vw,16.75px); line-height:1.58; }
.ebook-page.is-flow-balanced .ebook-page-body>p,.ebook-page.is-flow-balanced .ebook-page-body>ul,.ebook-page.is-flow-balanced .ebook-page-body>ol { margin-top:0; margin-bottom:.3rem; }
.ebook-page-opener .ebook-page-visual { width:calc(100% + 76px); min-height:48%; margin:20px -38px -30px; border:0; border-radius:0; padding:0; background:transparent; }
.ebook-page-opener .ebook-page-visual img { width:100%; height:340px; min-height:0; border-radius:0; object-fit:cover; }
.ebook-page-opener .ebook-page-content { background:radial-gradient(circle at 90% 7%,rgba(255,207,63,.16),transparent 24%); }
.ebook-page-front-section .ebook-page-visual { float:right; width:min(46%,245px); margin:4px 0 15px 22px; }
.ebook-page-front-section .ebook-page-visual img { height:160px; }
.ebook-page-part-divider .ebook-page-content { display:flex; flex-direction:column; justify-content:center; background:radial-gradient(circle at 88% 8%,rgba(255,207,63,.25),transparent 25%),linear-gradient(145deg,#fffdf8,#f1f5ff); }
.ebook-page-part-divider h2 { max-width:520px; font-size:clamp(28px,3vw,42px); }
.ebook-part-summary { max-width:520px; margin:14px 0 0; color:var(--muted); font-size:16px; line-height:1.62; }
.ebook-part-visual { width:calc(100% + 76px); margin:24px -38px -30px; border:0; border-radius:0; padding:0; background:transparent; }
.ebook-part-visual img { width:100%; height:clamp(280px,34vw,390px); border-radius:0; object-fit:cover; }
.ebook-opener-note { display:grid; gap:6px; margin:22px 0 0; border-left:5px solid var(--ybag-coral); border-radius:0 14px 14px 0; padding:15px 17px; color:#414968; background:#fff2f7; font-size:13px; line-height:1.5; }
.ebook-opener-note strong { color:var(--ybag-indigo); }
.ebook-opener-note-body { font-size:14.75px; }
.ebook-opener-note-body p { margin:0 0 0.85rem; }
.ebook-opener-note-body p:last-child { margin-bottom:0; }
.ebook-page-guidance .ebook-learning-paths { margin-top:22px; }
.ebook-page-guidance .ebook-parent-note { padding:13px; font-size:13px; line-height:1.45; }
.ebook-page-guidance .ebook-path-grid { gap:10px; }
.ebook-page-guidance .ebook-path-grid section { padding:12px; }
.ebook-page-guidance .ebook-learning-note-copy { font-size:12px; line-height:1.45; }
.ebook-page-chapter .ebook-learning-paths { margin-top:24px; }
.ebook-page-chapter .ebook-parent-note { padding:15px; }
.ebook-page-chapter .ebook-path-grid { grid-template-columns:1fr; }
.ebook-page-chapter .ebook-path-grid section { padding:14px; }
.ebook-page-series .ebook-page-content { padding:clamp(14px,2vw,24px); background:radial-gradient(circle at 90% 8%,rgba(255,207,63,.2),transparent 25%),linear-gradient(145deg,#fffdf8,#f3f6ff); }
.ebook-page-series h2 { max-width:650px; font-size:clamp(28px,2.7vw,38px); }
.ebook-page-series-intro { max-width:650px; margin:7px 0 12px; color:var(--muted); font-size:10.5px; line-height:1.38; }
.ebook-page-series-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.ebook-page-series-grid>a,.ebook-page-series-grid>div { display:grid; min-width:0; grid-template-columns:46px minmax(0,1fr); grid-template-rows:auto auto 1fr; gap:2px 7px; align-items:start; min-height:102px; border:1px solid #dfe4f1; border-top:3px solid var(--ybag-blue); border-radius:12px; padding:7px 8px; color:inherit; background:rgba(255,255,255,.92); text-decoration:none; }
.ebook-page-series-grid>:nth-child(3n + 2) { border-top-color:var(--ybag-green); }
.ebook-page-series-grid>:nth-child(3n + 3) { border-top-color:var(--ybag-coral); }
.ebook-page-series-grid img { grid-row:1/4; width:46px; height:64px; object-fit:contain; }
.ebook-page-series-grid span { overflow:hidden; color:var(--ybag-coral); font-size:7px; font-weight:950; letter-spacing:.06em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
.ebook-page-series-grid strong { display:-webkit-box; overflow:hidden; color:var(--ybag-indigo); font-size:10.3px; line-height:1.12; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.ebook-page-series-grid em { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-style:normal; font-size:7.9px; line-height:1.2; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.ebook-page-series-grid>a:hover,.ebook-page-series-grid>a:focus-visible { border-color:var(--ybag-gold); box-shadow:0 7px 18px rgba(23,35,92,.12); transform:translateY(-1px); }
.ebook-page-series-cta { display:inline-flex; margin-top:14px; color:var(--ybag-indigo); font-size:11px; font-weight:950; text-decoration:none; }
.ebook-page-series-cta span { margin-left:6px; color:var(--ybag-coral); }
.ebook-page-locked .ebook-page-content { overflow:hidden; }
.ebook-page-blur { filter:blur(7px); opacity:.54; transform:scale(1.025); }
.ebook-page-blur span,.ebook-page-blur h2,.ebook-page-blur p,.ebook-page-blur aside { display:block; border-radius:999px; background:#aeb5c9; }
.ebook-page-blur span { width:24%; height:11px; }
.ebook-page-blur h2 { width:78%; height:42px; margin:28px 0; }
.ebook-page-blur p { width:100%; height:13px; margin:18px 0; }
.ebook-page-blur p:nth-of-type(3),.ebook-page-blur p:last-child { width:72%; }
.ebook-page-blur aside { width:100%; height:150px; margin:35px 0; border-radius:20px; }
.ebook-book-gate { position:absolute; z-index:12; top:50%; left:50%; display:flex; width:min(calc(100% - 48px),680px); box-sizing:border-box; flex-direction:column; align-items:center; padding:clamp(28px,4vw,46px); border:1px solid rgba(255,255,255,.76); border-radius:24px; text-align:center; background:rgba(255,255,255,.94); box-shadow:0 28px 75px rgba(8,15,54,.34); transform:translate(-50%,-50%); backdrop-filter:blur(10px); }
.ebook-book-gate[hidden] { display:none; }
.ebook-book-gate h2 { max-width:610px; margin:0; color:var(--ybag-indigo); font-size:clamp(30px,4vw,45px); line-height:1.05; letter-spacing:-.035em; }
.ebook-book-gate>p:not(.ybag-kicker) { max-width:580px; color:var(--muted); line-height:1.65; }
.ebook-book-gate>div { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:16px; }
.ebook-page.is-turning-forward { z-index:8; animation:ebook-turn-forward .43s ease-in both; }
.ebook-page.is-turning-back { z-index:8; animation:ebook-turn-back .43s ease-out both; }
@keyframes ebook-turn-forward { from { transform:rotateY(0); } to { transform:rotateY(-178deg); box-shadow:-32px 5px 45px rgba(8,15,54,.26); } }
@keyframes ebook-turn-back { from { transform:rotateY(-178deg); } to { transform:rotateY(0); box-shadow:32px 5px 45px rgba(8,15,54,.22); } }
.ebook-book-mobile-controls { display:none; padding:9px 16px 14px; color:#bfc5da; background:#111a43; font-size:11px; font-weight:800; text-align:center; }
body.ebook-reader-fullscreen-open { overflow:hidden; }
.ebook-book-shell:fullscreen,.ebook-book-shell.is-pseudo-fullscreen { width:100vw; height:100vh; border:0; border-radius:0; background:#111a43; }
.ebook-book-shell.is-pseudo-fullscreen { position:fixed; z-index:9999; inset:0; max-width:none; margin:0; }
.ebook-book-shell:fullscreen .ebook-book-stage,.ebook-book-shell.is-pseudo-fullscreen .ebook-book-stage { display:grid; height:calc(100vh - 66px); min-height:0; place-items:center; }
.ebook-book-shell:fullscreen .ebook-book-spread,.ebook-book-shell.is-pseudo-fullscreen .ebook-book-spread { width:min(94vw,1320px); min-height:0; }
.ebook-book-shell:fullscreen .ebook-page,.ebook-book-shell.is-pseudo-fullscreen .ebook-page { height:calc(100vh - 105px); max-height:none; }
.ebook-reader-extras { padding:clamp(55px,8vw,100px) clamp(24px,8vw,120px); background:#f7f8ff; }
.ebook-reader-extras>.ebook-media-collection:first-child { margin-top:0; padding-top:0; border-top:0; }
@media(max-width:900px){.ebook-flipbook-heading{align-items:flex-start;flex-direction:column;gap:14px}.ebook-book-toolbar{grid-template-columns:auto 1fr}.ebook-book-toolbar>span{grid-column:1/-1;grid-row:2}.ebook-book-toolbar>div{justify-self:end}}
@media(max-width:760px){.ebook-book-spread{grid-template-columns:1fr}.ebook-book-spread::after{display:none}.ebook-page,.ebook-page:nth-child(odd),.ebook-page:nth-child(even){width:100%;height:auto;min-height:600px;max-height:none;border-radius:16px;transform-origin:center}.ebook-page-content{overflow:visible;padding:22px 20px 17px}.ebook-page:nth-child(odd) .ebook-page-content,.ebook-page:nth-child(even) .ebook-page-content{padding-right:20px;padding-left:20px}.ebook-page footer{margin:0 14px}.ebook-page-toc ol{grid-template-columns:1fr}.ebook-page-title h2{font-size:30px}.ebook-page.ebook-page-body>.ebook-page-content>h2{font-size:22px}.ebook-page-body ul:has(>li:nth-child(6)),.ebook-page-body ol:has(>li:nth-child(6)){columns:1}.ebook-page-front-section .ebook-page-visual{float:none;width:auto;margin:15px 0}.ebook-page-front-section .ebook-page-visual img{height:150px}.ebook-page-part-divider h2{font-size:30px}.ebook-part-summary{font-size:14px}.ebook-part-visual img{height:255px}.ebook-book-mobile-controls{display:block}.ebook-book-gate{width:min(calc(100% - 30px),560px);padding:27px 20px}.ebook-book-toolbar button{padding:8px 10px}.ebook-book-toolbar>div{gap:6px}.ebook-book-shell:fullscreen .ebook-book-stage,.ebook-book-shell.is-pseudo-fullscreen .ebook-book-stage{height:calc(100vh - 111px)}.ebook-book-shell:fullscreen .ebook-page,.ebook-book-shell.is-pseudo-fullscreen .ebook-page{height:calc(100vh - 131px);min-height:0}.ebook-book-shell:fullscreen .ebook-page-content,.ebook-book-shell.is-pseudo-fullscreen .ebook-page-content{overflow-y:auto}.ebook-page.is-turning-forward{animation-name:ebook-turn-mobile}}
.ebook-book-shell[data-reader-layout=phone] .ebook-page-opener .ebook-page-visual,.ebook-book-shell[data-reader-layout=phone] .ebook-part-visual { width:calc(100% + 40px); margin-right:-20px; margin-left:-20px; }
.ebook-book-shell[data-reader-layout=phone] .ebook-book-spread,.ebook-book-shell[data-reader-layout=tablet] .ebook-book-spread { grid-template-columns:1fr; }
.ebook-book-shell[data-reader-layout=phone] .ebook-book-spread { width:min(100%,560px); }
.ebook-book-shell[data-reader-layout=tablet] .ebook-book-spread { width:min(100%,820px); }
.ebook-book-shell[data-reader-layout=phone] .ebook-book-spread::after,.ebook-book-shell[data-reader-layout=tablet] .ebook-book-spread::after { display:none; }
.ebook-book-shell[data-reader-layout=phone] .ebook-page,.ebook-book-shell[data-reader-layout=phone] .ebook-page:nth-child(odd),.ebook-book-shell[data-reader-layout=phone] .ebook-page:nth-child(even),.ebook-book-shell[data-reader-layout=tablet] .ebook-page,.ebook-book-shell[data-reader-layout=tablet] .ebook-page:nth-child(odd),.ebook-book-shell[data-reader-layout=tablet] .ebook-page:nth-child(even) { width:100%; height:auto; max-height:none; border-radius:16px; transform-origin:center; }
.ebook-book-shell[data-reader-layout=phone] .ebook-page { min-height:clamp(640px,150vw,900px); }
.ebook-book-shell[data-reader-layout=tablet] .ebook-page { min-height:720px; aspect-ratio:3/4; }
.ebook-book-shell[data-reader-layout=desktop] .ebook-book-spread { grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100%,1280px); }
.ebook-book-shell[data-reader-layout=desktop] .ebook-book-spread::after { display:block; }
.ebook-book-shell[data-reader-layout=desktop] .ebook-page:nth-child(odd) { border-radius:18px 0 0 18px; }
.ebook-book-shell[data-reader-layout=desktop] .ebook-page:nth-child(even) { border-radius:0 18px 18px 0; }
@keyframes ebook-turn-mobile { from { transform:rotateY(0); } to { transform:rotateY(-178deg); } }
@media(prefers-reduced-motion:reduce){.ebook-page.is-turning-forward,.ebook-page.is-turning-back{animation-duration:.01ms}}
@media(max-width:1100px){.ebook-public-grid{grid-template-columns:1fr}}
@media(max-width:980px){.ebook-library-hero,.ebook-public-hero{grid-template-columns:1fr}.ebook-orbit{display:none}.ebook-hero-collage{width:min(100%,430px);margin-top:-12px}.ebook-library-card,.ebook-reader-hero,.ebook-public-detail,.ebook-public-toc,.ebook-public-intro{grid-template-columns:1fr}.ebook-library-card>div:last-child{padding:0 30px 38px}.ebook-reader-art{max-width:520px}.ebook-reader-layout{grid-template-columns:1fr}.ebook-contents{position:static}.ebook-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ebook-detail-art{max-width:480px}.ebook-series-nine{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}}
@media(max-width:680px){.ebook-public-card{grid-template-columns:1fr}.ebook-public-card .ebook-box-link{max-width:330px}.ebook-blurred-pages{grid-template-columns:1fr}.ebook-blurred-pages article:nth-child(2){display:none}}
@media(max-width:780px){.ebook-callout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ebook-resource-grid,.ebook-path-grid{grid-template-columns:1fr}.ebook-section-heading{display:block}.ebook-section-heading>a{margin:8px 0 14px}.ebook-series-page>header{grid-template-columns:1fr;gap:15px}}
@media(max-width:680px){.ebook-series-nine{grid-template-columns:1fr}.ebook-series-nine article{min-height:190px}}
@media(max-width:560px){.ebook-library-card{border-radius:22px}.ebook-cover-wrap{min-height:260px}.ebook-reader-hero{padding-top:48px}.ebook-hero-collage{width:min(100%,340px);margin-top:-4px}.ebook-format-grid{grid-template-columns:1fr}.ebook-format-card p{min-height:0}.ebook-public-grid{padding-right:18px;padding-left:18px}.ebook-gate-message{padding:24px}.ebook-gate-message h2{font-size:31px}.ebook-signed-in-lock{padding:30px 22px}.ebook-series-page{border-radius:22px;padding:22px 16px}.ebook-series-nine article{grid-template-columns:78px minmax(0,1fr)}.ebook-series-thumb img{width:78px}.ebook-publication-credit>i{display:none}.ebook-publication-credit{align-items:flex-start;flex-direction:column}}
@media print{.ebook-series-page{width:100%;min-height:0;margin:0;padding:8mm;border:0;border-radius:0;box-shadow:none;break-before:page;break-after:page}.ebook-series-page>header{grid-template-columns:1fr 1fr;gap:8mm;margin-bottom:5mm}.ebook-series-page>header h2{font-size:22pt}.ebook-series-page>header>p{font-size:9pt}.ebook-series-nine{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:3mm}.ebook-series-nine article{grid-template-columns:19mm minmax(0,1fr);gap:3mm;min-height:42mm;padding:3mm;border-radius:3mm}.ebook-series-thumb img{width:19mm;border-radius:2mm}.ebook-series-card-copy h3{font-size:10pt}.ebook-series-card-copy p{font-size:7.5pt;line-height:1.3;-webkit-line-clamp:3}.ebook-series-actions a{min-height:6mm;padding:1mm 2mm;font-size:7pt}.ebook-series-page>.ebook-publication-credit{margin-top:4mm;padding-top:3mm;font-size:8pt}}

.ebook-page-toc li > a {
  color: inherit;
  display: contents;
  text-decoration: none;
}

.ebook-page-toc li > a:focus-visible strong {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.ebook-book-shell .ebook-page-toc ol {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.34rem 0.72rem !important;
}

.ebook-book-shell .ebook-page-toc li {
  gap: 5px !important;
  min-width: 0;
  padding: 4px 0 !important;
}

.ebook-book-shell .ebook-toc-visual,
.ebook-book-shell .ebook-overview-visual {
  border: 1px solid rgba(23, 49, 101, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(23, 49, 101, 0.09);
  margin: 0.55rem 0 0.75rem;
  overflow: hidden;
}

.ebook-book-shell .ebook-toc-visual {
  height: 140px;
}

.ebook-book-shell .ebook-toc-visual-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.ebook-book-shell .ebook-toc-visual-pair .ebook-toc-visual {
  height: 94px;
  margin-bottom: 0;
}

.ebook-book-shell .ebook-overview-visual {
  height: 110px;
}

.ebook-book-shell .ebook-toc-visual img,
.ebook-book-shell .ebook-overview-visual img {
  display: block;
  height: 100% !important;
  object-fit: cover;
  width: 100% !important;
}

.ebook-book-shell[data-reader-layout="tablet"] .ebook-toc-visual {
  height: 210px;
}

.ebook-book-shell[data-reader-layout="tablet"] .ebook-toc-visual-pair .ebook-toc-visual {
  height: 132px;
}

.ebook-book-shell[data-reader-layout="tablet"] .ebook-overview-visual {
  height: 290px;
}

.ebook-book-shell[data-reader-layout="phone"] .ebook-page-toc ol {
  grid-template-columns: 1fr;
}

.ebook-book-shell[data-reader-layout="phone"] .ebook-toc-visual {
  height: 225px;
}

.ebook-book-shell[data-reader-layout="phone"] .ebook-toc-visual-pair .ebook-toc-visual {
  height: 140px;
}

.ebook-book-shell[data-reader-layout="phone"] .ebook-overview-visual {
  height: 315px;
}

.ebook-book-shell .ebook-page-body p,
.ebook-book-shell .ebook-page-body li {
  text-wrap: pretty;
}

.ebook-book-shell .ebook-page-body h3,
.ebook-book-shell .ebook-page-body h4 {
  text-wrap: balance;
}

.ebook-book-shell .ebook-page-body .ebook-list-two-column {
  column-gap: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 0.18rem;
}

.ebook-book-shell .ebook-page-body .ebook-list-two-column > li {
  break-inside: avoid;
  margin: 0;
  min-width: 0;
  orphans: 2;
  widows: 2;
}

.ebook-book-shell[data-reader-layout="phone"] .ebook-page-body .ebook-list-two-column {
  display: block;
}

.ebook-book-shell[data-reader-layout="phone"] .ebook-page-body .ebook-list-two-column > li + li {
  margin-top: 0.18rem;
}
