.longevity-intro{padding:clamp(25px,4vw,42px);border:1px solid #dfdfd4;border-radius:28px;background:#fffdf8;margin:0 0 45px;scroll-margin-top:180px}
.longevity-intro .ll-form-lead{max-width:730px}
.ll-button,.ll-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 19px;border:1px solid #c8d8c9;border-radius:14px;font-family:inherit;font-size:.9rem;font-weight:700;line-height:1.4;cursor:pointer;background:#7c4a12;color:white;text-decoration:none}
.ll-secondary{background:#fffdf8;color:#36594b}.ll-button:hover{background:#5f380c}.ll-secondary:hover{background:#edf3e9}.ll-button:disabled,.ll-secondary:disabled{opacity:.48;cursor:default}
.ll-question{display:block;margin:15px 0;padding:19px 21px;border:1px solid #dde5d9;border-radius:18px;background:#fbf6ec}.ll-question label{display:block;font-size:1rem;font-weight:750;color:#34584b}.ll-question .ll-question-number{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;margin-right:8px;background:#dfebdc;color:#365d4c;font-size:.75rem}.ll-question p{font-size:.85rem;margin:8px 0 11px;color:#65766b}.ll-question textarea,.ll-question select,.ll-question input,.ll-note textarea{display:block;width:100%;font:inherit;line-height:1.6;border:1px solid #cbd8c9;border-radius:12px;padding:12px 13px;background:#fffefa;color:#2c493d;resize:vertical}.ll-question textarea{min-height:85px}.ll-question select{min-height:48px}.ll-question.has-error{border-color:#a46c52}.ll-question [aria-invalid=true]{border-color:#a46c52}
.ll-form-bottom{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:23px}.ll-form-status{font-size:.84rem;margin:0;color:#5c7160;max-width:620px}.ll-private-note{font-size:.8rem;color:#647466;margin:18px 0 0;max-width:760px}.ll-error{color:#914a30}
.ll-reader{padding:clamp(22px,4vw,40px);background:linear-gradient(140deg,#f7ecda,#f2e9f5 80%);border:1px solid #dde1d6;border-radius:30px;margin:35px 0 55px;scroll-margin-top:180px}.ll-reader[hidden],.ll-reader [hidden]{display:none!important}.ll-reader-head{text-align:center;max-width:780px;margin:0 auto 23px}.ll-reader-head h2{font:400 clamp(2rem,4vw,3rem)/1.17 Georgia,serif;letter-spacing:-.035em;color:#365546;margin:0 0 12px}.ll-reader-head p{margin:0 0 8px}.ll-reader-head .eyebrow{margin-bottom:11px}.ll-progress{width:100%;height:6px;border-radius:99px;background:#d6dccf;overflow:hidden;margin:17px 0 0}.ll-progress span{display:block;height:100%;width:2%;background:#c08a3e;transition:width .4s ease}.ll-page-status{font-size:.85rem;color:#58705d}.ll-paper{max-width:780px;margin:0 auto;background:#fffdf6;border:1px solid #ddd5bf;border-radius:22px;box-shadow:5px 5px 0 #ebe4d6,9px 9px 0 #e1dccd,0 15px 30px #7a725015;padding:clamp(25px,5vw,55px);min-height:580px}.ll-paper:before{content:"";position:absolute;left:10px;top:20px;bottom:20px;width:1px;background:#e8dfce;pointer-events:none}.ll-chapter-label{font:750 .75rem/1.5 system-ui,sans-serif;letter-spacing:.13em;color:#6f6151;margin:0 0 18px}.ll-paper h3{font:400 clamp(1.8rem,3vw,2.5rem)/1.16 Georgia,serif;color:#385444;margin:0 0 27px;letter-spacing:-.025em}.ll-prose p{font:400 clamp(1.05rem,1.6vw,1.19rem)/1.9 Georgia,serif;color:#3b493d;margin:0 0 20px}.ll-source-card{padding:19px 20px;background:#edf2e5;border:1px solid #d8dfc9;border-radius:16px;margin:28px 0 0}.ll-source-card .eyebrow{font-size:.75rem;margin:0 0 9px;color:#5a6650}.ll-source-card p{font-size:.85rem;line-height:1.75;margin:0 0 12px;color:#4b604e}.ll-source-card a{font-size:.81rem;font-weight:730;color:#7c4a12;overflow-wrap:anywhere}.ll-source-kind{font-size:.75rem!important;color:#5a6650!important;margin-top:8px!important;margin-bottom:0!important}.ll-source-link{display:block;font-size:.78rem;font-weight:700;margin-top:24px}.ll-page-footer{font-size:.75rem;color:#6b5f4f;border-top:1px solid #e9e2d2;margin-top:29px;padding-top:16px;letter-spacing:.09em;text-align:center}
.ll-reader-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:780px;margin:26px auto 0}.ll-turn-note{text-align:center;font-size:.81rem;color:#64745e;margin:16px auto 0}.ll-directions{max-width:780px;margin:28px auto 0;padding:25px;background:#fdfaf1;border:1px solid #d6dccb;border-radius:22px}.ll-directions h3{font-size:1.4rem;margin:0 0 9px}.ll-directions p{font-size:.9rem;max-width:650px}.ll-direction-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}.ll-direction-grid button{display:flex;flex-direction:column;gap:7px;align-items:flex-start;min-height:130px;padding:18px;border:1px solid #d8dfca;border-radius:16px;background:#f7ecda;color:#34593f;text-align:left;font:inherit;cursor:pointer}.ll-direction-grid button:nth-child(2){background:#f0e9f7}.ll-direction-grid button:nth-child(3){background:#fbefdc}.ll-direction-grid button:nth-child(4){background:#e9f0ef}.ll-direction-grid button:hover{border-color:#b07a2a;box-shadow:0 6px 16px #75816c16}.ll-direction-grid button[aria-pressed=true]{outline:2px solid #b07a2a;outline-offset:1px}.ll-direction-grid strong{font-size:.93rem;line-height:1.4}.ll-direction-grid small{font-size:.77rem;line-height:1.5;color:#57684f}.ll-direction-symbol{font-size:1.35rem;line-height:1;color:#8b7196}.ll-note{margin-top:22px}.ll-note label{display:block;font-size:.86rem;font-weight:720;margin-bottom:8px}.ll-note textarea{font-size:.91rem;min-height:78px}.ll-note .ll-private-note{margin-top:8px}.ll-route{max-width:780px;margin:23px auto 0;font-size:.8rem;color:#5e725b;line-height:1.8}.ll-reader-bottom{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:24px}.ll-contents{max-width:780px;margin:25px auto 0;font-size:.87rem}.ll-contents summary{font-weight:730;cursor:pointer}.ll-chapters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.ll-chapters button{font:inherit;font-size:.79rem;text-align:left;padding:11px;border:1px solid #d1ddc7;border-radius:11px;background:#fffefa;color:#355b44;cursor:pointer}.ll-chapters button:disabled{opacity:.45;cursor:default}.ll-chapters button[aria-current]{background:#e1edda;border-color:#6b9166}.ll-ending{max-width:780px;margin:25px auto;padding:25px;border-radius:20px;background:#f9efd8;border:1px solid #e4d6b9}.ll-ending h3{font-size:1.5rem}.ll-ending p{font-size:.94rem}
.ll-button:focus-visible,.ll-secondary:focus-visible,.ll-direction-grid button:focus-visible,.ll-question textarea:focus-visible,.ll-question select:focus-visible,.ll-question input:focus-visible,.ll-note textarea:focus-visible,.ll-chapters button:focus-visible{outline:3px solid #8d6c96;outline-offset:3px}
@media(max-width:650px){.longevity-intro{padding:23px 18px}.ll-question{padding:17px 15px}.ll-question label{font-size:.93rem}.ll-reader{padding:23px 13px;border-radius:23px}.ll-paper{padding:27px 23px;min-height:520px;border-radius:17px}.ll-prose p{font-size:1.07rem;line-height:1.85}.ll-direction-grid{grid-template-columns:1fr}.ll-direction-grid button{min-height:110px}.ll-directions{padding:21px 17px}.ll-chapters{grid-template-columns:1fr}.ll-reader-nav button{padding:10px 12px;font-size:.83rem}.ll-reader-head h2{font-size:2rem}.ll-source-card{padding:17px 15px}.ll-reader-bottom button{width:100%}}
/* Consistency pass (Oct 28): components added after story.css was written, plus furniture alignment with the other book pages. */
.top .brand::before{content:none;display:none}
.ll-answer-overview{margin:0 0 20px}
.ll-answer-progress{height:8px;border-radius:999px;background:#e3e9dc;overflow:hidden;margin:0 0 12px}
.ll-answer-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7ba05b,#7c4a12);transition:width .35s ease}
.ll-answer-nav{display:flex;flex-wrap:wrap;gap:8px}
.ll-answer-nav a{display:inline-flex;align-items:center;gap:8px;padding:7px 13px 7px 8px;border:1px solid #d3ddcb;border-radius:999px;background:#eef3e9;color:#7c4a12;font-weight:700;font-size:.92rem;text-decoration:none}
.ll-answer-nav a b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#dfe8d3;color:#7c4a12;font-size:.8rem}
.ll-answer-nav a.is-complete{border-color:#7c4a12}
.ll-answer-nav a.is-complete b{background:#7c4a12;color:#fff}
.ll-resume{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:0 0 18px;padding:16px 18px;border:1px solid #cfdccb;border-radius:18px;background:#f2f6ec}
.ll-resume p{flex:1 1 260px;margin:0}
.ll-open-note{flex:1 1 240px;margin:0;color:#5d6d66;font-size:.95rem}
.ll-saved-note{display:block;margin-top:10px;text-align:center;color:#3e6b34;font-weight:650}
.longevity-intro h1{font-size:clamp(1.7rem,3.6vw,2.55rem);line-height:1.08;margin:12px 0 18px}
.als-quiet-tools{margin:34px auto 0;max-width:760px;padding:26px 20px 6px;text-align:center;border-top:1px solid rgba(94,75,139,.16)}
.als-quiet-tools p{margin:0 0 14px;color:#68766f;font-weight:650}
.als-quiet-tools nav{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.als-quiet-tools a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid rgba(40,93,86,.35);border-radius:999px;background:rgba(255,255,255,.72);color:#245749;font-weight:750;text-decoration:none}

/* Dark reading palette (Ordinary Days): warm dark paper
   under the site's dark theme. Scoped to html[data-theme="dark"] only;
   light mode is untouched, and no font or size changes in either mode. */
html[data-theme="dark"] .longevity-intro{background:#2a2119;border-color:#4a3a28}
html[data-theme="dark"] 
html[data-theme="dark"] .ll-question{background:#2a2119;border-color:#4a3a28}
html[data-theme="dark"] .ll-question label{color:#dcead6}
html[data-theme="dark"] .ll-question p{color:#aebba9}
html[data-theme="dark"] .ll-question .ll-question-number{background:#453322;color:#bfe3c8}
html[data-theme="dark"] .ll-question textarea,html[data-theme="dark"] .ll-question select,html[data-theme="dark"] .ll-question input,html[data-theme="dark"] .ll-note textarea{background:#211a14;color:#eae5d1;border-color:#5d4a33}
html[data-theme="dark"] .ll-reader{background:linear-gradient(140deg,#2a2119,#241f30 80%);border-color:#4a3a28}
html[data-theme="dark"] .ll-reader-head h2{color:#f0ead6}
html[data-theme="dark"] .ll-page-status{color:#aebba9}
html[data-theme="dark"] .ll-progress{background:#4a3a28}
html[data-theme="dark"] .ll-paper{background:#372b20;border-color:#4c5a44;box-shadow:5px 5px 0 #141d17,9px 9px 0 #10160f,0 15px 30px rgba(0,0,0,.4)}
html[data-theme="dark"] .ll-paper:before{background:#5d4a33}
html[data-theme="dark"] .ll-paper h3{color:#f0ead6}
html[data-theme="dark"] .ll-prose p{color:#eae5d1}
html[data-theme="dark"] .ll-chapter-label{color:#b3a58c}
html[data-theme="dark"] .ll-page-footer{color:#a79c86;border-top-color:#5d4a33}
html[data-theme="dark"] .ll-source-card{background:#2a2119;border-color:#4a3a28}
html[data-theme="dark"] .ll-source-card p{color:#c3cec0}
html[data-theme="dark"] .ll-source-card .eyebrow{color:#9db098}
html[data-theme="dark"] .ll-source-kind{color:#9db098!important}
html[data-theme="dark"] .ll-directions{background:#2a2119;border-color:#4a3a28}
html[data-theme="dark"] .ll-direction-grid button{background:#372b20;color:#eae5d1;border-color:#5d4a33}
html[data-theme="dark"] .ll-direction-grid button:nth-child(2){background:#2a2438}
html[data-theme="dark"] .ll-direction-grid button:nth-child(3){background:#33291d}
html[data-theme="dark"] .ll-direction-grid button:nth-child(4){background:#223140}
html[data-theme="dark"] .ll-direction-grid small{color:#aebba9}
html[data-theme="dark"] .ll-ending{background:#33291d;border-color:#57452a}
html[data-theme="dark"] .ll-chapters button{background:#372b20;color:#dcead6;border-color:#5d4a33}
html[data-theme="dark"] .ll-chapters button[aria-current]{background:#453322;border-color:#7fae8a}
html[data-theme="dark"] .ll-resume{background:#2a2119;border-color:#4a3a28}
html[data-theme="dark"] .ll-secondary{background:#33271b;color:#dcead6;border-color:#5d4a33}
html[data-theme="dark"] .ll-secondary:hover{background:#453322}
html[data-theme="dark"] .ll-button{background:#8a5a1e;border-color:#8a5a1e}
html[data-theme="dark"] .ll-turn-note{color:#9db098}
html[data-theme="dark"] .ll-route{color:#9db098}
html[data-theme="dark"] .ll-answer-progress{background:#4a3a28}
html[data-theme="dark"] .ll-answer-nav a{background:#2a2119;color:#8fd0bf;border-color:#4a3a28}
html[data-theme="dark"] .ll-answer-nav a b{background:#453322;color:#bfe3c8}
html[data-theme="dark"] .als-quiet-tools a{background:#2a2119;color:#8fd0bf;border-color:#5d4a33}

/* ---- Scroll reading (v136) ---- */
.ll-spage{scroll-margin-top:120px;border-bottom:1px solid var(--line,#ddd7c7);padding-bottom:10px;margin-bottom:34px}
.ll-spage:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.ll-spage .ll-directions{margin-top:26px}
.ll-reader.ll-scroll #ll-previous{display:none}
/* v139: sections no longer animate when they are RENDERED — on the
   scroll reader every section below the fold had finished its fade
   long before the reader scrolled to it, so scrolling showed no
   motion at all. Sections now carry data-reveal and settle as they
   enter the viewport through the scroll-story engine (story.js marks
   sections restored from a saved place ss-in, already settled). With
   no engine — no JS, no IntersectionObserver, reduced motion — no
   pre-animation state applies and every section renders plainly. */

/* A Light Left On additions: practice, check-in, resources, crisis blocks. */
.ll-practice textarea{min-height:96px}
.ll-checkin .ll-direction-grid button{min-height:104px}
/* v153: the per-page processing question sits quieter than a check-in. */
.ll-process h3{font-size:1.12rem}
.ll-process .ll-direction-grid button{min-height:96px}
.ll-resource-row{margin:0 0 13px;font-size:.92rem;line-height:1.65}
.ll-resource-row a{font-weight:750;color:#7c4a12}
.ll-resource-row span{color:#5c5344}
.ll-crisis{background:#fdf3e0;border-color:#e4cf9f}
.ll-crisis-row{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 2px}
html[data-theme="dark"] .ll-resource-row span{color:#c9bda6}
html[data-theme="dark"] .ll-resource-row a{color:#e8b96a}
html[data-theme="dark"] .ll-crisis{background:#33291d;border-color:#57452a}
/* Contrast pass (Nov 4, 2026): two inherited small-text colors sat just
   under 4.5:1 on this book's warmer backgrounds. Darkened here only. */
.ll-question p{color:#57665b}
.ll-private-note{color:#57665b}
html[data-theme="dark"] .ll-private-note{color:#aebba9}

/* Prayers (Nov 4, 2026): morning and night panels inside the book. */
.ll-prayer{background:#fdf6e3;border-color:#e4cf9f}
.ll-prayer-text{margin:16px 0 6px;padding:4px 0 4px 18px;border-left:3px solid #c08a3e}
.ll-prayer-text p{font:400 1.06rem/1.8 Georgia,serif;color:#4a3a20;margin:0 0 10px}
html[data-theme="dark"] .ll-prayer{background:#33291d;border-color:#57452a}
html[data-theme="dark"] .ll-prayer-text p{color:#f0ead6}

/* ---- v141 fix-all additions ---- */
/* A1: the hidden attribute always wins inside the intro (the resume panel bug). */
.longevity-intro [hidden]{display:none!important}
/* A8: quiet entrances */
.ll-entrances{margin:0 0 20px}
.ll-entrances-lead{font-size:.9rem;color:#57665b;margin:0 0 10px}
.ll-entrances-row{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 12px}
.ll-begin-panel{margin:14px 0 4px;padding:19px 21px;border:1px solid #e4cf9f;border-radius:18px;background:#fdf6e3}
.ll-begin-panel h3{font:400 1.25rem/1.25 Georgia,serif;margin:0 0 9px;color:#4a3a20}
.ll-begin-panel p{font-size:.94rem;line-height:1.7;margin:0 0 10px}
.ll-begin-panel p:last-child{margin-bottom:0}
/* A4: remember-on-this-device choice */
.ll-remember{display:flex;gap:9px;align-items:flex-start;font-size:.88rem;line-height:1.55;color:#3c5546;flex:1 1 100%;margin:0 0 6px}
.ll-remember input{margin-top:3px;width:18px;height:18px;flex:none}
/* A7 landing support section; v146: moved to the very bottom of the
   landing page, small font and plain. The reader's persistent support
   bar (A7) was removed in v146 at the owner's call. */
.ll-support-end{font-size:.82rem;margin:38px 0 8px}
.ll-support-end h2{font:600 .95rem/1.35 system-ui,sans-serif;letter-spacing:.02em;color:#4a3a20;margin:0 0 8px}
.ll-support-end p{line-height:1.6;max-width:700px}
.ll-support-end .ll-resource-row{font-size:.82rem;margin:0 0 8px}
/* A3/A5: restart, erase, export panels */
.ll-panel{max-width:780px;margin:24px auto 0;padding:22px;background:#fdfaf1;border:1px solid #d6dccb;border-radius:22px}
.ll-panel h3{font-size:1.25rem;margin:0 0 9px}
.ll-panel p{font-size:.92rem;line-height:1.65}
.ll-panel-row{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 0}
.ll-export-choices label{display:block;font-size:.92rem;margin:0 0 8px}
.ll-export-choices input{margin-right:7px}
/* Reader tools: the shared picture-in-picture Listen player (v143) */
.ll-reader-tools{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:15px}
/* The traveler stands down while the book is open (v143) */
body.ll-reading .sf-companion{display:none!important}
/* Private saving inputs (v143) */
#ll-vault-pw,#ll-vault-unlock-pw{font:inherit;padding:10px 12px;border:1px solid #cbd8c9;border-radius:12px;background:#fffefa;color:#2c493d}
#ll-vault-wrap label,#ll-resume-vault label{font-weight:700;color:#34584b}
/* Print view (v143): only the printed book shows on paper */
#ll-print{display:none}
@media print{
 body>*{display:none!important}
 body>#ll-print{display:block!important}
 #ll-print{color:#222;font-family:'Literata',Georgia,'Times New Roman',serif;max-width:38rem;margin:0 auto}
 #ll-print h1{font-size:1.7rem;margin:0 0 4px}
 #ll-print h2{font-size:1.2rem;margin:26px 0 8px}
 #ll-print p{font-size:1rem;line-height:1.6;margin:0 0 10px}
 #ll-print section{break-inside:avoid-page}
}
html[data-theme="dark"] .ll-begin-panel{background:#33291d;border-color:#57452a}
html[data-theme="dark"] .ll-begin-panel h3{color:#f0ead6}
html[data-theme="dark"] .ll-support-end h2{color:#f0ead6}

/* ---- v146: one-minute meditation bookends ----
   Every reading session opens and closes under this screen. The circle
   breathes on a ten-second round (five in, five out) as company only;
   the words never name a count and never ask for a hold. There is no
   skip: the only control appears when the minute has passed. */
.ll-meditate{position:fixed;inset:0;z-index:1200;background:#f7ecda;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}
.ll-meditate[hidden]{display:none!important}
.ll-meditate-inner{max-width:560px;text-align:center}
.ll-meditate .eyebrow{color:#7c4a12}
.ll-meditate h2{font:400 clamp(1.7rem,3.4vw,2.3rem)/1.2 Georgia,serif;color:#365546;margin:0 0 6px}
.ll-med-circle{width:118px;height:118px;margin:30px auto 34px;border-radius:50%;background:radial-gradient(circle at 50% 42%,#fdf6e3,#e9cf9e 68%,#d9b877);box-shadow:0 0 46px rgba(217,184,119,.45);animation:ll-breathe 10s ease-in-out infinite}
@keyframes ll-breathe{0%,100%{transform:scale(.74)}50%{transform:scale(1)}}
.ll-med-lines{max-width:480px;margin:0 auto 26px}
.ll-med-lines p{font:400 1.05rem/1.8 Georgia,serif;color:#3b493d;margin:0 0 12px}
.ll-med-lines p:last-child{margin-bottom:0}
body.ll-meditating{overflow:hidden}
html[data-space-motion="off"] .ll-med-circle{animation:none}
html[data-theme="dark"] .ll-meditate{background:#241c14}
html[data-theme="dark"] .ll-meditate h2{color:#f0ead6}
html[data-theme="dark"] .ll-meditate .eyebrow{color:#e8b96a}
html[data-theme="dark"] .ll-med-lines p{color:#eae5d1}
html[data-theme="dark"] .ll-remember{color:#dcead6}
html[data-theme="dark"] .ll-entrances-lead{color:#aebba9}

/* Write-in for the cause question (v151): shown only when the reader
   chooses "In my own words"; their words stay theirs. */
.ll-manner-writein{margin-top:13px}.ll-manner-writein label{font-size:.9rem}

/* ---- v172: form intro, the five-more-questions fold, saving fold ---- */
.ll-form-intro{max-width:730px;font-size:.95rem;line-height:1.7;margin:0 0 14px}
.ll-more-questions{margin:15px 0;padding:19px 21px;border:1px dashed #d8c9a3;border-radius:18px;background:#fffdf6}
.ll-more-questions summary{cursor:pointer;font-weight:750;color:#34584b;font-size:1rem}
.ll-more-questions .ll-question{margin:15px 0 0}
.ll-more-note{font-size:.85rem;color:#57665b;margin:10px 0 0;max-width:640px}
.ll-more-saving{margin:2px 0 0}
.ll-more-saving summary{cursor:pointer;font-weight:700;color:#7c4a12;font-size:.86rem}
.ll-comfort-mount{margin:2px 0 16px}
html[data-theme="dark"] .ll-more-questions{background:#2a2119;border-color:#57452a}
html[data-theme="dark"] .ll-more-questions summary{color:#dcead6}
html[data-theme="dark"] .ll-more-note{color:#b9c4b2}
html[data-theme="dark"] .ll-more-saving summary{color:#e8b96a}

/* ---- v172: the fifth review's fixes ----
   The sticky site header no longer covers a question's title when the
   page jumps to it. */
.ll-question{scroll-margin-top:140px}
.ll-sample{scroll-margin-top:140px}
/* The five deferred questions, offered at the end of chapter one. */
.ll-deferred-field{display:block;font-size:.86rem;font-weight:720;margin:15px 0 0;color:#34584b}
.ll-deferred-field select,.ll-deferred-field textarea,.ll-deferred-field input{display:block;width:100%;font:inherit;font-weight:400;line-height:1.6;border:1px solid #cbd8c9;border-radius:12px;padding:12px 13px;background:#fffefa;color:#2c493d;margin-top:7px;resize:vertical}
.ll-deferred-field select{min-height:48px}
.ll-deferred-field:focus-within{color:#7c4a12}
html[data-theme="dark"] .ll-deferred-field{color:#dcead6}
html[data-theme="dark"] .ll-deferred-field select,html[data-theme="dark"] .ll-deferred-field textarea,html[data-theme="dark"] .ll-deferred-field input{background:#211a14;color:#eae5d1;border-color:#5d4a33}

/* v154 engagement pass: the end-of-book bridge */
.ll-ending .als-bridge{margin:16px 0 0;padding-top:14px;border-top:1px solid #e4d6b9}
.ll-ending .als-bridge a{font-weight:700}
html[data-theme="dark"] .ll-ending .als-bridge{border-top-color:#57452a}

/* Support-row descriptions at night (Nov 7, 2026 audit): the dark-theme
   values, applied by sky phase too, since most phones read this page
   in the light theme after dark. */
html[data-sf-sky="night"] .ll-resource-row span{color:#c9bda6}
html[data-sf-sky="night"] .ll-resource-row a{color:#e8b96a}

/* The writing page (Nov 7, 2026, from the study paper): optional prompts
   after the book; words stay on the reader's device. */
.ll-writing{margin:26px 0;padding:18px;border-radius:14px;background:#fbf7ee}
.ll-writing-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ll-writing-prompt{border:1.5px solid #476354;background:#fff;border-radius:999px;padding:8px 14px;font:inherit;cursor:pointer}
.ll-writing-text{width:100%;box-sizing:border-box;font:inherit;padding:10px;border-radius:10px;border:1.5px solid #476354}
.ll-writing-save{border:none;background:#476354;color:#fff;border-radius:999px;padding:10px 18px;font:inherit;cursor:pointer}
.ll-writing-entry{border-top:1px solid #ddd3c0;padding:8px 0}
.ll-writing-date{opacity:.75;font-size:.9em;margin:0}
html[data-theme="dark"] .ll-writing{background:#1e2c25;color:#e8f0e9}
html[data-theme="dark"] .ll-writing-prompt{background:#26382e;color:#e8f0e9}
html[data-theme="dark"] .ll-writing-text{background:#16231b;color:#e8f0e9}
html.ss-bg-on[data-sf-sky="night"] .ll-writing{background:#1e2c25;color:#e8f0e9}
html.ss-bg-on[data-sf-sky="night"] .ll-writing-prompt{background:#26382e;color:#e8f0e9}
html.ss-bg-on[data-sf-sky="night"] .ll-writing-text{background:#16231b;color:#e8f0e9}
