/* book pages ("Read it in the book", Release E) — scoped stylesheet, loaded only on /books/** pages.
   Moved here from src/site.css (P16 scope fix: site.css is not on P16's May-touch list in DESIGN_E.md 7.3;
   src/books/** is). Served as a separate content-hashed asset (assets/books.<hash>.css), linked by page()'s
   extra_css param, so no shared file outside this pass's card is edited. */
.bookhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.booktitle{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px}
.bookportrait{border-radius:999px;object-fit:cover;background:var(--panel-2)}
.bookpages{gap:22px}
.bookpage{margin:0;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;gap:8px;max-width:860px}
.bookpage img{display:block;width:100%;height:auto;border-radius:8px;background:var(--panel-2)}
.bookpage figcaption{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;font-size:14px;color:var(--muted)}
.bookpage figcaption a{color:var(--ember);white-space:nowrap}
.bookfoot{font-size:14px;margin-top:26px}
.bigidea{grid-template-columns:none;gap:4px;max-width:860px}
.disclosure summary{cursor:pointer;font:700 17px var(--display);letter-spacing:.01em;list-style:none}
.disclosure summary::-webkit-details-marker{display:none}
.disclosure summary::before{content:"+ ";color:var(--ember)}
.disclosure[open] summary::before{content:"\2212 "}
.disclosure p,.disclosure ul,.disclosure ol{margin-top:10px}
.disclosure[open]{padding-bottom:16px}
/* Q4 patch: an idea card's 'Read it in the book' link lands on the page that explains the idea */
.bookpage img:target{outline:3px solid #BF3F16;outline-offset:4px;border-radius:6px}
.ideaanchor{display:block;height:0;overflow:hidden}
