/* Sculpted ivory cover with live navy lettering, shared with Innerward's ocean palette. */
.ij-library,.ij-reader,.ij-compose,.ij-choose{--ij-mobile-leaf-height:600px;--ij-ink:#00243c;--ij-paper:#faf7f1;--ij-muted:#596b78;--ij-line:#00243c24;--teal:var(--ij-ink);color:var(--ij-ink)}
.ij-library,.ij-reader{max-width:1240px}
.ij-library>.page-top{margin-bottom:20px}
.ij-library .journey-views{margin-bottom:32px}
.ij-library .journey-views button[aria-current=page]{border-bottom-color:var(--ij-ink)}
.ij-shelf{display:grid;grid-template-columns:minmax(250px,380px) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:start;padding:0 0 36px}
.ij-cover-wrap{min-width:0}
/* The artwork is decorative; all cover copy and controls remain selectable HTML. */
.ij-book-cover{background:#f2ede5 url('/images/journal-sculpted-ivory.png') center/100% 100% no-repeat;color:var(--ij-ink);aspect-ratio:2/3;min-height:max-content;border-radius:3px 5px 5px 3px;border:1px solid #d8d0c3;box-shadow:0 16px 26px -13px #55432f40,0 3px 7px #55432f18,inset 0 1px 2px #fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;padding:38px 32px 30px 52px;position:relative;isolation:isolate}
.ij-book-cover:before{content:'';position:absolute;inset:0 auto 0 0;width:17px;background:repeating-linear-gradient(0deg,#b9a98d20 0 1px,#fcf6e920 1px 3px),repeating-linear-gradient(90deg,#bcac9233 0 1px,#f8f1e13d 1px 3px),linear-gradient(90deg,#c3b297,#e5d9c5 45%,#cfc0a8 80%,#b5a58c);border-radius:2px 0 0 2px;border-right:1px solid #ac9c8047;box-shadow:3px 0 5px #68553d12;pointer-events:none;z-index:-1}
.ij-book-cover:after{content:'';position:absolute;inset:0 auto 0 24px;width:3px;background:linear-gradient(90deg,#8c775916,#fff9);pointer-events:none;z-index:-1}
.ij-cover-brand{letter-spacing:.28em;font:500 .875rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0 0 28px;max-width:100%;overflow-wrap:anywhere}
.ij-book-cover .ij-cover-title{font:500 clamp(2.5rem,4.7vw,3.75rem)/.94 'Cormorant Garamond',Georgia,serif;letter-spacing:-.035em;margin:0 0 16px;overflow-wrap:normal}
.ij-cover-title span{display:block}
.ij-cover-description{font:400 1rem/1.45 'Cormorant Garamond',Georgia,serif;max-width:250px;margin:0 0 72px;color:#40596b;text-wrap:pretty}
.ij-cover-open{background:#f8f3e93d;border:1px solid #00243cb3;color:var(--ij-ink);border-radius:30px;min-height:46px;max-width:100%;padding:10px 19px;font:500 1.125rem/1.3 'Cormorant Garamond',Georgia,serif;margin-top:auto;text-align:center;position:relative}
.ij-cover-open:hover{background:#fffcf4a6;border-color:var(--ij-ink)}
.ij-shelf-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 20px;margin:12px 0 0}
.ij-shelf-actions .quiet{font-size:.875rem;min-height:44px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#00243c4d}
.ij-index{padding-top:8px;min-width:0}
.ij-index h3,.ij-review-list h3{font:400 1rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;margin:0 0 14px}
.ij-index-row{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;gap:6px;padding:22px 0;border:0;border-bottom:1px solid var(--ij-line);border-radius:0;background:transparent;color:inherit}
.ij-index-row:hover{background:#ffffff65}
.ij-index-row strong{font:400 1.5rem/1.3 Georgia,serif;overflow-wrap:anywhere}
.ij-index-row time,.ij-index-row>span{font-size:.875rem;color:var(--ij-muted)}
.ij-index-row time{text-transform:uppercase;letter-spacing:.065em;font-size:.75rem;line-height:1.8}
.ij-index p{font-size:1rem;line-height:1.7;max-width:420px}
.ij-empty{border-top:1px solid var(--ij-line);padding-top:24px}
.ij-reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 28px;font-size:.875rem;color:var(--ij-muted)}
.ij-reader-toolbar>span{overflow-wrap:anywhere;text-transform:capitalize}
.ij-reader-toolbar label{margin:0;display:flex;align-items:center;gap:10px;font-size:.875rem}
.ij-reader-toolbar select{width:auto;min-width:120px;padding:10px;margin:0}
.ij-spread{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e0d9ce;border-radius:6px 10px 10px 6px;background:var(--ij-paper);box-shadow:0 12px 34px #00243c0d;overflow:hidden;transform-origin:left center}
.ij-left{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(24px,4vw,54px);background:linear-gradient(90deg,#fcf9f3 94%,#e8e1d6);min-width:0}
.ij-left .eyebrow{font-size:.75rem;letter-spacing:.12em;line-height:1.8}
.ij-left h1{font:400 clamp(28px,4vw,48px)/1.15 Georgia,serif;margin:35px 0 24px;overflow-wrap:anywhere}
.ij-left blockquote{font:italic 400 clamp(22px,2.5vw,31px)/1.5 Georgia,serif;border:0;padding:0;margin:0 0 36px;overflow-wrap:anywhere;white-space:pre-wrap}
.ij-page-note{margin-top:auto;font-size:1rem;line-height:1.6;color:var(--ij-muted)}
.ij-page-note .quiet{padding-left:0;font-size:.875rem}
.ij-art{background:#fffcf7;padding:18px;min-width:0}
.ij-art img{display:block;width:100%;height:auto;border-radius:3px}
.ij-art>a{display:block}
.ij-folio{display:flex;justify-content:space-between;gap:12px;font-size:.75rem;color:var(--ij-muted);margin:12px 0 0}
.ij-simple{display:block;max-width:760px;margin:auto}
.ij-simple .ij-left{background:#fcf9f3;padding:24px 30px}
.ij-simple .ij-left h1{font-size:28px;margin:12px 0}
.ij-simple .ij-left blockquote,.ij-simple .ij-page-note{display:none}
.ij-page-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0;font-size:.875rem}
.ij-page-nav button{min-width:105px}
.ij-reader button:disabled{opacity:.4;cursor:default}
.ij-reader-actions,.ij-review-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.ij-captions{border-top:1px solid var(--ij-line);border-bottom:1px solid var(--ij-line);padding:18px 0;margin-top:24px}
.ij-captions summary,.ij-options summary,.ij-upload summary,.ij-attempts summary{cursor:pointer;font-size:1rem;padding:5px 0;min-height:34px}
.ij-captions ol{padding-left:24px;line-height:1.8}
.ij-captions li{padding:8px 0;font-size:1rem;white-space:pre-wrap;overflow-wrap:anywhere}
.ij-compose{max-width:850px}
.ij-compose h1{font-size:clamp(30px,4vw,44px)}
.ij-compose form{margin-top:32px}
.ij-compose textarea{min-height:150px;font-size:1rem;line-height:1.6}
.ij-compose #ij-notes{min-height:220px}
.ij-compose #ij-captions{min-height:100px}
.ij-options,.ij-upload{margin:24px 0;padding:20px 0;border-top:1px solid var(--ij-line);border-bottom:1px solid var(--ij-line)}
.ij-options label{margin-top:20px}
.ij-permission{margin-top:30px}
.ij-permission input{width:20px;min-width:20px;height:20px}
.ij-permission label{align-items:flex-start;font-size:1rem;line-height:1.5}
.ij-permission p{font-size:.875rem;line-height:1.6}
.ij-entry-link{border-top:1px solid #00243c24;display:flex;gap:24px;align-items:center;justify-content:space-between;margin:32px 0;padding:24px 0}
.ij-entry-link h2{font:400 24px Georgia,serif;margin:0 0 9px}
.ij-entry-link p{font-size:1rem;color:#596b78;margin:0}
.ij-source-pages{margin-top:40px}
.ij-source-pages h2{font:400 26px Georgia,serif}
.ij-attempt{padding:12px 0;border-bottom:1px solid var(--ij-line)}
.ij-attempts{margin-top:30px}
.ij-review-list{margin:36px 0 0}
.ij-example{max-width:760px}
.ij-example-heading{text-align:center;margin:6px auto 24px}
.ij-example-label{display:inline-block;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ij-muted);margin-bottom:12px}
.ij-example-heading h1{font:400 clamp(32px,5vw,46px)/1.2 Georgia,serif;letter-spacing:-.025em;margin:0 0 14px}
.ij-example-heading p{max-width:30rem;margin:0 auto;font-size:1rem;line-height:1.6;color:var(--ij-muted);text-wrap:balance}
.ij-example-art{background:var(--ij-paper);border:1px solid #fff;border-radius:5px;overflow:hidden;box-shadow:0 10px 26px #00243c0c}
.ij-example-art a{display:block}
.ij-example-art img{display:block;width:100%;height:auto}
.ij-example-footer{padding:24px 0 0;text-align:center}
.ij-example-footer p{font-size:.875rem;color:var(--ij-muted);margin-bottom:18px}
.ij-library button:focus-visible,.ij-reader button:focus-visible,.ij-compose button:focus-visible{outline:3px solid #a77349;outline-offset:4px}
.ij-cover-open:focus-visible{outline-color:var(--ij-ink)!important}
@media(max-width:740px){
 .ij-library>.page-top{align-items:center;margin-bottom:18px}
 .ij-library .journey-views{justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:24px}
 .ij-shelf{grid-template-columns:1fr;gap:24px;padding-top:0}
 .ij-cover-wrap{width:min(100%,360px);justify-self:center}
 .ij-book-cover{padding:30px 25px 26px 42px}
 .ij-book-cover .ij-cover-title{font-size:clamp(2.5rem,12vw,3.25rem);margin:0 0 12px}
 .ij-cover-description{margin-bottom:66px;font-size:1rem}
 .ij-cover-brand{font-size:.75rem;margin-bottom:24px}
 .ij-shelf-actions{margin-top:10px}
 .ij-index{padding-top:0}
 .ij-index h3{margin-bottom:4px}
 .ij-spread{display:flex;flex-direction:column;border:0;box-shadow:none;background:transparent}
 .ij-left{padding:12px 0 20px;background:transparent;text-align:center;align-items:center}
 .ij-left h1{font-size:32px;margin:8px 0 0}
 .ij-left .eyebrow{margin:0}
 .ij-left blockquote,.ij-page-note{display:none}
 .ij-art{padding:0;background:transparent}
 .ij-reader-toolbar{gap:12px;align-items:center;margin:0 0 12px}
 .ij-reader-toolbar>span{max-width:55%;line-height:1.5}
 .ij-reader-toolbar label{gap:8px}
 .ij-reader-toolbar select{min-width:104px}
 .ij-folio{padding:0 4px}
 .ij-entry-link{align-items:flex-start;flex-direction:column;gap:18px}
 .ij-page-nav{gap:8px}
 .ij-page-nav button{min-width:0;padding:12px 16px}
 .ij-reader-actions{gap:4px 16px}
 .ij-reader .back{margin-bottom:20px}
 .ij-compose #ij-notes{min-height:180px}
 .ij-example-heading{margin:4px auto 20px}
 .ij-example-heading p{font-size:.9375rem}
}

/* The entry chooser is a reading page, with no dropdown or confirmation step. */
.ij-choose{max-width:800px}
.ij-choose>.page-top{margin:4px 0 16px}
.ij-choose h1{max-width:32rem;font:400 clamp(30px,4vw,42px)/1.2 Georgia,serif;letter-spacing:-.025em}
.ij-choose-intro{font-size:1rem;line-height:1.6;color:var(--ij-muted);margin:0 0 30px}
.ij-source-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--ij-line)}
.ij-source-row{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;width:100%;min-height:88px;padding:24px 0;border:0;border-bottom:1px solid var(--ij-line);border-radius:0;background:transparent;color:var(--ij-ink)}
.ij-source-row:hover{background:#ffffff80}
.ij-source-row:active{background:#ebe7df}
.ij-source-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:.875rem;line-height:1.6;color:var(--ij-muted)}
.ij-source-row strong{font:400 1.5rem/1.35 Georgia,serif;letter-spacing:-.015em;overflow-wrap:anywhere;max-width:100%}
.ij-source-row:focus-visible{outline:2px solid var(--ij-ink);outline-offset:4px;border-radius:3px}
.ij-choose-empty{border-top:1px solid var(--ij-line);padding:28px 0}
.ij-choose-empty p{color:var(--ij-muted);font-size:1rem}
@media(max-width:740px){.ij-choose>.page-top{align-items:flex-start}.ij-choose h1{font-size:32px}.ij-choose-intro{margin-bottom:26px}.ij-source-row{padding:22px 0}}

/* A single quiet length choice; caption editing stays folded away until requested. */
.ij-length{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px;background:#f8f5ef;border:1px solid #fff;border-radius:14px;margin:8px 0 30px}
.ij-length .eyebrow{font-size:.65rem;letter-spacing:.14em;color:var(--ij-muted)}
.ij-length p{font-size:1.1rem;margin:9px 0;line-height:1.5}
.ij-length strong{font-weight:500}
.ij-length small{font-size:.875rem;line-height:1.6;display:block;color:var(--ij-muted);max-width:28rem}
.ij-length details{flex:0 0 auto;max-width:225px}
.ij-length summary{min-height:44px;cursor:pointer;font-size:.9rem;text-decoration:underline;text-underline-offset:5px;padding:12px 0}
.ij-length details[open]{flex-basis:225px}
.ij-length label{font-size:.8rem;margin-top:10px}
.ij-caption-review{border-top:1px solid var(--ij-line);border-bottom:1px solid var(--ij-line);margin:28px 0;padding:18px 0}
.ij-caption-review summary{cursor:pointer;padding:10px 0;min-height:44px;font-size:1rem}
.ij-caption-review summary span{color:var(--ij-muted);font-size:.9rem}
.ij-caption-review fieldset{min-width:0;padding:24px 0 0;margin:20px 0;border:0;border-top:1px solid var(--ij-line)}
.ij-caption-review legend{font:400 1.5rem/1.4 Georgia,serif;padding-right:14px}
.ij-caption-review label{font-size:.8rem;letter-spacing:.035em;color:var(--ij-muted)}
.ij-caption-review textarea{min-height:110px;margin-bottom:20px;background:#faf7f1}
.ij-incomplete{padding:22px 24px;background:var(--ij-paper);border:1px solid #fff;border-radius:12px;margin:24px 0}
.ij-incomplete p{font-size:.95rem;line-height:1.6;margin:0 0 16px}
.ij-spread{touch-action:pan-y pinch-zoom}
@media(max-width:600px){.ij-length{gap:12px;padding:20px}.ij-length details[open]{flex-basis:auto;width:100%;max-width:none}.ij-length:has(details[open]){flex-wrap:wrap}.ij-length .eyebrow{font-size:.6rem}.ij-compose .actions{align-items:stretch}.ij-compose .actions .primary{width:100%}.ij-caption-review textarea{font-size:16px;line-height:1.6}}

/* Permission is explained once; the creation surface stays quiet. */
.ij-ai-note{font-size:.875rem;line-height:1.6;color:var(--ij-muted);margin:16px 0 8px}
.ij-ai-note a,.ij-consent-dialog a{color:inherit;text-underline-offset:4px}
.ij-beta-limits{margin:12px 0;color:var(--ij-muted);font-size:.875rem;line-height:1.6}
.ij-beta-limits summary{cursor:pointer;min-height:44px;padding:10px 0}
.ij-beta-limits p{font-size:.875rem;max-width:36rem;margin:4px 0 16px}
.ij-consent-dialog{max-width:520px;color:#00243c}
.ij-consent-dialog>p{font-size:1.0625rem;line-height:1.65;margin:0 0 18px}
.ij-consent-dialog>p.small{font-size:.9375rem;color:#596b78}
.ij-consent-dialog>a{font-size:.875rem;display:inline-block;min-height:44px;padding:8px 0}
.ij-consent-dialog .actions{margin-top:16px;gap:12px}
.ij-consent-dialog #ij-permission-error{font-size:.9375rem;margin-top:16px}
.ij-permission-settings{border-bottom:1px solid #00243c24;margin:20px 0;padding-bottom:20px}
.ij-permission-settings h3{font-size:1.125rem;margin:0 0 12px}
.ij-permission-settings p{font-size:.9375rem;line-height:1.6}
.ij-permission-settings .quiet{padding-left:0;text-decoration:underline;text-underline-offset:4px;min-height:44px}
@media(max-width:600px){.ij-consent-dialog .actions{align-items:stretch;flex-direction:column}.ij-consent-dialog .primary{width:100%}}

/* A single book with three quiet chapters and month-by-month contents. */
.ij-contents{min-width:0;padding-top:12px}.ij-contents>.eyebrow{font-size:.75rem;letter-spacing:.15em;color:var(--ij-muted)}
.ij-contents>h2{font:400 clamp(28px,3vw,36px)/1.2 'Cormorant Garamond',Georgia,serif;margin:14px 0 30px}
.ij-chapter-row{display:flex;align-items:center;width:100%;gap:20px;text-align:left;padding:24px 0;border:0;border-top:1px solid var(--ij-line);border-radius:0;background:none;color:inherit;min-height:112px}
.ij-chapter-row:last-child{border-bottom:1px solid var(--ij-line)}
.ij-chapter-row:hover,.ij-illustrated-entry:hover{background:#ffffff70}
.ij-chapter-number{font-size:.875rem;color:var(--ij-muted);font-variant-numeric:tabular-nums;align-self:flex-start;padding-top:8px}
.ij-chapter-copy{flex:1;min-width:0}.ij-chapter-copy strong{display:block;font:400 1.9rem/1.15 'Cormorant Garamond',Georgia,serif}.ij-chapter-copy>span{display:block;font-size:.9375rem;line-height:1.5;color:var(--ij-muted);margin-top:7px}.ij-chapter-copy small{display:block;font-size:.875rem;line-height:1.4;color:var(--ij-muted);margin-top:8px}
.ij-chapter-row>img{width:58px;height:78px;object-fit:cover;border-radius:4px;box-shadow:0 2px 5px #00243c14}.ij-chapter-chevron{font-size:1.5rem;font-weight:300}
.ij-chapter-page{max-width:820px}.ij-chapter-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.ij-chapter-heading .eyebrow{font-size:.75rem;letter-spacing:.14em;color:var(--ij-muted)}.ij-chapter-heading h1{font:400 clamp(36px,5vw,50px)/1.1 'Cormorant Garamond',Georgia,serif;margin:10px 0}.ij-chapter-heading button{min-height:44px;font-size:.9375rem}
.ij-chapter-description{font-size:1rem;line-height:1.5;color:var(--ij-muted);margin:10px 0 28px}.ij-month-heading h2 button{gap:10px}.ij-month-heading h2 button span{font:400 1rem/1 sans-serif}.ij-month-count{font-size:.875rem;color:var(--ij-muted);margin:0 0 14px}
.ij-chapter-entries{border-top:1px solid var(--ij-line)}
.ij-illustrated-entry{display:flex;align-items:center;gap:22px;text-align:left;width:100%;padding:20px 0;min-height:128px;border:0;border-bottom:1px solid var(--ij-line);border-radius:0;background:none;color:inherit}
.ij-illustrated-entry>img{flex:none;width:72px;height:96px;object-fit:contain;background:#fdfaf5;border:1px solid #00243c12;border-radius:4px;box-shadow:1px 2px 4px #00243c0a}.ij-illustrated-entry>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.ij-illustrated-entry time,.ij-illustrated-entry small{font-size:.875rem;line-height:1.5;color:var(--ij-muted)}.ij-illustrated-entry strong{font:400 1.7rem/1.18 'Cormorant Garamond',Georgia,serif;overflow-wrap:anywhere}.ij-illustrated-entry>span:last-child{font-size:1.5rem}
.ij-chapter-empty{padding:30px 0;font-size:1rem;line-height:1.5;color:var(--ij-muted)}.ij-review-list summary{font-size:1rem;line-height:1.5;min-height:44px;padding:10px 0;cursor:pointer}
.ij-reader .ij-spread{perspective:1400px}.ij-reader .ij-art{position:relative;backface-visibility:hidden;transform-style:preserve-3d;box-shadow:-5px 0 15px #00243c08}
.ij-reader .ij-art:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:3px;background:linear-gradient(90deg,#00243c0c,transparent 7%,transparent 96%,#00243c06)}
.ij-keep-reader .ij-art img{max-height:75vh;object-fit:contain}.ij-keep-reader .ij-captions p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
@media(max-width:740px){.ij-contents-shelf{gap:30px}.ij-contents-shelf .ij-cover-wrap{width:min(100%,320px)}.ij-contents{padding-top:0}.ij-contents>h2{font-size:28px;margin-bottom:24px}.ij-chapter-row{gap:14px;padding:22px 0}.ij-chapter-copy strong{font-size:1.75rem}.ij-chapter-row>img{width:46px;height:62px}.ij-chapter-page>.back{margin-bottom:24px}.ij-chapter-heading{flex-wrap:wrap}.ij-illustrated-entry{gap:16px;padding:18px 0}.ij-illustrated-entry>img{width:64px;height:85px}.ij-illustrated-entry strong{font-size:1.5rem}.ij-reader .ij-art{padding:8px;background:var(--ij-paper);border:1px solid #e6dfd4;border-radius:5px;box-shadow:0 5px 15px #00243c0b}.ij-reader .ij-folio{padding-bottom:4px}.ij-reader .ij-spread{overflow:visible}}
@media(max-width:360px){.ij-chapter-row{gap:10px}.ij-chapter-copy>span{font-size:.875rem}.ij-chapter-row>img{width:38px;height:52px}.ij-illustrated-entry{gap:12px}}

/* Opening the cover reveals a paper contents page, then visual chapter pages. */
.ij-book-library .ij-volume{width:min(100%,380px);margin:0 auto 28px}
.ij-book-path{display:flex;align-items:center;min-height:44px;margin-bottom:12px}
.ij-book-path .back{margin:0;padding:8px 0;font-size:.9375rem}
.ij-resume{display:block;width:100%;margin-top:10px;font-size:.9375rem;text-decoration:underline;text-underline-offset:4px}
.ij-paper-page{position:relative;isolation:isolate;min-width:0;background:linear-gradient(90deg,#d9d1c3 0,#ede7da 1.5%,#faf7ef 7%,#fffcf5 95%,#f0ebdf 100%);border:1px solid #dcd4c6;border-radius:3px 7px 7px 3px;padding:34px 28px 22px 34px;box-shadow:3px 3px 0 -1px #f5f0e5,4px 4px 0 -1px #d7cfbf,6px 6px 0 -2px #f7f2e8,7px 7px 0 -2px #d7cfbf,0 12px 24px -12px #51432d35}
.ij-toc-page{min-height:510px;display:flex;flex-direction:column}
.ij-book-running{font-size:.75rem;line-height:1.5;letter-spacing:.13em;color:var(--ij-muted)}
.ij-toc-page>h2{font:400 2.75rem/1.1 'Cormorant Garamond',Georgia,serif;margin:24px 0 9px}
.ij-toc-intro{font-size:.9375rem;line-height:1.5;color:var(--ij-muted);margin:0 0 22px}
.ij-toc-page .ij-chapter-row{gap:15px;min-height:94px;padding:16px 0}
.ij-toc-page .ij-chapter-number{font-size:.75rem;padding-top:5px}
.ij-toc-page .ij-chapter-copy strong{font-size:1.875rem}
.ij-toc-page .ij-chapter-copy>span{font-size:.875rem;line-height:1.45;margin-top:5px}
.ij-toc-page .ij-chapter-copy small{font-size:.75rem;margin-top:6px}
.ij-paper-folio{font-size:.6875rem;letter-spacing:.13em;color:var(--ij-muted);text-align:center;margin:34px 0 0;padding-top:12px}
.ij-toc-page .ij-paper-folio{margin-top:auto;padding-top:26px}
.ij-chapter-volume{max-width:640px;margin:0 auto 28px}
.ij-chapter-page .ij-chapter-heading{gap:10px;align-items:center}
.ij-chapter-page .ij-chapter-heading h1{font-size:2.625rem;margin:8px 0}
.ij-chapter-page .ij-chapter-heading .compact-new{padding:8px 0;font-size:.875rem;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.ij-chapter-page .ij-chapter-description{font-size:.9375rem;margin:4px 0 20px}
.ij-chapter-page .ij-month-heading{gap:8px;margin:18px 0 8px}
.ij-chapter-page .ij-month-heading h2{font-size:1.75rem}
.ij-chapter-page .ij-month-heading h2 button{padding:6px 0;font-size:inherit}
.ij-chapter-page .sessions-icon-button{width:36px;min-width:36px;min-height:44px}
.ij-chapter-page .ij-month-count{font-size:.8125rem;margin:0 0 18px}
.ij-chapter-page .ij-chapter-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;border:0}
.ij-chapter-page .ij-illustrated-entry{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;min-height:0;padding:0 0 12px;border:0;border-radius:0;box-shadow:none;background:none;text-align:left}
.ij-chapter-page .ij-illustrated-entry>img{width:100%;height:auto;max-height:none;object-fit:contain;border:1px solid #d7d0c350;border-radius:3px;box-shadow:2px 4px 7px #48382314;background:#fffcf7}
.ij-chapter-page .ij-illustrated-entry>span:nth-child(2){gap:4px}
.ij-chapter-page .ij-illustrated-entry strong{font-size:1.5rem}
.ij-chapter-page .ij-illustrated-entry small,.ij-chapter-page .ij-illustrated-entry time{font-size:.8125rem}
.ij-chapter-page .ij-illustrated-entry>span:last-child{display:none}
.ij-chapter-page .ij-illustrated-entry:only-child{grid-column:1/-1;width:100%;justify-self:stretch}
.ij-chapter-page .ij-chapter-empty{grid-column:1/-1}
.ij-chapter-page .sessions-month-footer{font-size:.875rem;margin-top:20px;padding:14px 0}
.ij-chapter-page .ij-review-list,.ij-chapter-page .ij-attempts{margin-top:18px}
.ij-chapter-page .ij-review-list summary,.ij-chapter-page .ij-attempts summary{font-size:.875rem}
.ij-chapter-page .ij-index-row strong{font-size:1.35rem}

/* A two-sided leaf hinges over the already visible next page. */
.ij-book-transition{position:fixed;z-index:8;pointer-events:none;perspective:1600px;perspective-origin:50% 50%;clip-path:inset(-30px -28px -30px -28px);margin:0;padding:0;max-width:none;--ij-ink:#00243c;--ij-paper:#faf7f1;--ij-muted:#596b78;--ij-line:#00243c24;color:var(--ij-ink)}
.ij-turn-under,.ij-turn-shade,.ij-turn-sheet,.ij-turn-front,.ij-turn-back{position:absolute;inset:0;margin:0}
.ij-turn-under{overflow:hidden;border-radius:3px 7px 7px 3px;background:#faf7ef}
.ij-turn-under>*,.ij-turn-front>*{box-sizing:border-box;width:100%!important;min-height:100%;height:100%;margin:0!important}
.ij-turn-under>.ij-art,.ij-turn-front>.ij-art{padding:8px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:var(--ij-paper)}
.ij-turn-under .ij-art>img,.ij-turn-front .ij-art>a{min-height:0;max-height:calc(100% - 22px);object-fit:contain}
.ij-turn-front .ij-art img{max-height:100%;object-fit:contain}
.ij-turn-sheet{transform-style:preserve-3d;will-change:transform}
.ij-turn-front,.ij-turn-back{backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden;border-radius:3px 7px 7px 3px;box-shadow:4px 2px 12px #382d2533;background:#faf7ef}
.ij-turn-front{transform:translateZ(.5px)}
.ij-turn-back{transform:rotateY(180deg);background:linear-gradient(90deg,#ece4d6 0%,#f8f3e9 5%,#fffaf1 50%,#e1d7c4 100%)}
.ij-turn-front:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#1a1d2118,transparent 9%,transparent 83%,#1a1d2124)}
.ij-turn-shade{background:linear-gradient(90deg,#352b1d80,transparent 90%);opacity:0}
.ij-cover-transition .ij-turn-front{box-shadow:6px 2px 12px #372d243b}
.app-is-locked .ij-book-transition{display:none!important}
@media(max-width:740px){
 .ij-book-library{padding-left:22px;padding-right:22px}
 .ij-book-library .ij-volume,.ij-chapter-page .ij-chapter-volume{width:min(100%,340px)}
 .ij-chapter-page:not(.ij-book-transition),.ij-reader:not(.ij-example):not(.ij-book-transition){max-width:384px;padding:12px 22px 24px}
 .ij-book-path{min-height:44px;margin-bottom:10px}
 .ij-paper-page{padding:25px 20px 19px 26px}
 .ij-toc-page{min-height:var(--ij-mobile-leaf-height)}
 .ij-toc-page>h2{font-size:2.5rem;margin-top:20px}
 .ij-toc-page .ij-chapter-row{gap:12px;min-height:88px;padding:14px 0}
 .ij-toc-page .ij-chapter-copy strong{font-size:1.75rem}
 .ij-chapter-page .ij-chapter-volume{margin-bottom:0}
 .ij-chapter-page .ij-book-path{margin-bottom:8px}
 .ij-chapter-page .ij-chapter-heading .eyebrow{display:none}
 .ij-chapter-page .ij-chapter-heading h1{font-size:2rem;margin:2px 0}
 .ij-chapter-page .ij-chapter-description{display:none}
 .ij-chapter-page .ij-month-heading{margin:8px 0 4px}
 .ij-chapter-page .ij-month-heading h2{font-size:1.5rem}
 .ij-chapter-page .ij-month-count{margin-bottom:8px}
 .ij-chapter-page .ij-paper-page:has(.ij-illustrated-entry:only-child) .ij-month-count{display:none}
 /* Controls sit outside the leaves, so the full illustration can fill a Contents-sized page. */
 .ij-chapter-page .ij-chapter-sheet{padding:0;background:none;border:0;box-shadow:none;border-radius:0}
 .ij-chapter-controls{margin-bottom:12px}
 .ij-chapter-page .ij-illustrated-entry,.ij-reader .ij-art{
  min-height:var(--ij-mobile-leaf-height);padding:12px;
  background:linear-gradient(90deg,#d9d1c3 0,#ede7da 1.5%,#faf7ef 7%,#fffcf5 95%,#f0ebdf 100%);
  border:1px solid #dcd4c6;border-radius:3px 7px 7px 3px;
  box-shadow:3px 3px 0 -1px #f5f0e5,4px 4px 0 -1px #d7cfbf,6px 6px 0 -2px #f7f2e8,7px 7px 0 -2px #d7cfbf,0 12px 24px -12px #51432d35;
 }
 .ij-reader .ij-art{display:flex;flex-direction:column;justify-content:space-between;gap:12px}
 .ij-reader .ij-art>a{margin:auto 0}
 .ij-reader .ij-art:after{display:none}
 .ij-reader .ij-art img{width:100%;height:auto;max-height:none}
 .ij-reader .ij-left,.ij-reader .ij-simple .ij-left{padding:12px 0 20px;background:transparent}
 .ij-reader .ij-folio{margin:0;padding:0}
 .ij-chapter-footer{margin-top:18px}
 .ij-chapter-page .ij-chapter-entries{grid-template-columns:minmax(0,1fr);gap:20px}
 .ij-chapter-page .ij-illustrated-entry{gap:12px;justify-content:space-between}
 /* Scale by page width, never by browser height, without cropping or blank side strips. */
 .ij-chapter-page .ij-illustrated-entry>img{height:auto;max-height:none;object-fit:contain;border:0;box-shadow:none;background:transparent;margin:auto 0}
 .ij-chapter-page .ij-illustrated-entry>span:nth-child(2){display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:baseline;flex:none}
 .ij-chapter-page .ij-illustrated-entry strong{grid-column:1/-1;grid-row:1;font-size:1.375rem}
 .ij-chapter-page .ij-illustrated-entry time{grid-column:1;grid-row:2}
 .ij-chapter-page .ij-illustrated-entry small{grid-column:2;grid-row:2;text-align:right}
 .ij-chapter-page .ij-illustrated-entry:only-child{max-width:none}
 .ij-chapter-page .sessions-month-footer{min-height:44px;margin-top:8px;padding:8px 0}
 .ij-chapter-page .ij-review-list,.ij-chapter-page .ij-attempts{margin-top:0}
 .ij-chapter-page .ij-paper-folio{display:none}
 .ij-chapter-page .ij-chapter-empty{min-height:var(--ij-mobile-leaf-height);padding:24px 16px}
}
@media(max-width:360px){.ij-toc-page{padding:22px 16px}.ij-toc-page .ij-chapter-row{gap:10px;padding:11px 0}}
@media(prefers-reduced-motion:reduce){.ij-book-transition{display:none}}
