.reader-tools {font:14px/1.5 "Segoe UI",system-ui,sans-serif;margin-bottom:24px;color:#494b40;}
.reader-tools summary {font-weight:600;cursor:pointer;padding:8px 0;}
.reader-tools p,.reader-tools blockquote {font:inherit;color:inherit;}
.reader-tools a,.publishing-desk a {color:#955938;text-underline-offset:3px;}
.reader-tools button,.book-notes button {border:1px solid #d8cbb9;border-radius:5px;background:#fffdf7;color:#70513b;padding:7px 10px;font:inherit;cursor:pointer;min-height:34px;margin:4px 0;}
.reader-tools button:hover,.book-notes button:hover {background:#efe6d7;}
.reader-tools label,.book-notes label {display:block;font-size:12px;margin:8px 0 4px;}
.reader-tools textarea,.reader-tools select,.book-notes textarea {display:block;width:100%;min-width:0;padding:8px;border:1px solid #d8cbb9;border-radius:4px;background:#fffdf7;color:#35382f;font:14px/1.5 "Segoe UI",system-ui,sans-serif;}
.reader-tools textarea {min-height:80px;resize:vertical;}
.reader-tools article {border-top:1px solid #d8cbb9;margin:16px 0;padding-top:8px;overflow-wrap:anywhere;}
.reader-tools blockquote {margin:10px 0;padding-left:10px;border-left:2px solid #b18a67;}
.reader-tools ul {list-style:none;}
.reader-tools #reading-status {display:block;font-size:12px;}
.publishing-desk article {padding:16px 0;border-bottom:1px solid #e7dfd2;}
.publishing-desk h2 {margin-top:32px;}
.book-notes {font:14px/1.5 "Segoe UI",system-ui,sans-serif;}
.book-notes summary {cursor:pointer;font-weight:600;}
.book-notes #notes-status {display:block;font-size:12px;}

.story-text a[href^="#bk-"] {color:#805333;text-decoration:underline;text-underline-offset:3px;}
.story-text span[id^="bk-"] {scroll-margin-block-start:6rem;}
.book-contents {margin:1rem;padding:1rem;border:1px solid #d8cbb9;border-radius:6px;}
.book-contents label {display:block;font-size:.8rem;margin-top:1rem;}
.book-contents input {display:block;width:100%;max-width:100%;margin:.4rem 0;padding:.4rem;}
.book-contents ol {padding-left:1rem;}.book-contents li {margin:.4rem 0;font-size:.85rem;}
.book-link-status {position:fixed;bottom:1rem;left:1rem;max-width:32rem;padding:1rem;background:#fff8eb;color:#453b2f;border:1px solid #c9b696;z-index:10000;box-shadow:0 2px 12px #0002;}

.reader-subscription-card {padding:16px;margin-bottom:20px;border:1px solid #d8c5b3;border-radius:8px;background:#fffaf1;font:13px/1.5 "Segoe UI",system-ui,sans-serif;}
.reader-subscription-card strong {font-size:15px;color:#483c30;}
.reader-subscription-card p {font:inherit;color:#746e64;margin:8px 0 12px;}
.reader-subscription-form {margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.reader-subscription-form .subscription-button,.site-reader a.subscription-button {display:inline-block;background:#965535;border:1px solid #965535;color:#fffaf4;border-radius:5px;padding:9px 13px;font:600 12px/1.3 "Segoe UI",system-ui,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap;}
.reader-subscription-form .subscribed {background:#f0f1e8;color:#4d5c40;border-color:#c4ccb5;}
@media(max-width:600px){.site-reader .header-main{flex-wrap:wrap;gap:10px;padding-top:8px;padding-bottom:8px}.site-reader > header{height:auto;min-height:76px;flex-shrink:0}.site-reader .workspace-heading{max-width:100%}.site-reader .workspace-nav{flex-wrap:wrap}}

/* Keep the reader subscription prompt visible when other mobile nav links hide. */
.site-reader .workspace-nav > a.subscription-button {display:inline-block;}

img[src^="/book-image/"] {max-width:100%;height:auto;max-height:800px;object-fit:contain;}
