.thsw-library{--thsw-gold:#9b7945;--thsw-rule:#c8b28b;max-width:1150px;margin:0 auto;padding:clamp(12px,3vw,36px);box-sizing:border-box;line-height:1.75;color:inherit;font-family:inherit}.thsw-library *{box-sizing:border-box}.thsw-library .thsw-crumb{font-size:.85rem;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:.5em;align-items:center}.thsw-library .thsw-hero{border-top:3px solid var(--thsw-gold);border-bottom:1px solid var(--thsw-rule);padding:clamp(22px,4vw,42px);background:#25211e;color:#fff;margin-bottom:32px}.thsw-library .thsw-kicker{letter-spacing:.15em;font-size:.75rem;color:#ecd4a6;font-weight:700}.thsw-library .thsw-lead{font-size:clamp(1.15rem,2.2vw,1.6rem);margin:.6em 0 0;color:#fff;line-height:1.5}.thsw-library .thsw-prose{max-width:850px;margin:0 auto}.thsw-library h2{font-size:clamp(1.25rem,2.7vw,1.65rem);line-height:1.3;margin:1.7em 0 .6em}.thsw-library p{margin:0 0 1.1em}.thsw-library .thsw-classification{display:inline-block;border:1px solid var(--thsw-rule);padding:5px 12px;font-size:.85rem;font-weight:700}.thsw-library blockquote{border-left:3px solid var(--thsw-gold);margin:1em 0 1.6em;padding:1em 1.4em;background:rgba(155,121,69,.08);font-style:normal;color:inherit}.thsw-library dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:8px 18px}.thsw-library dt{font-weight:bold}.thsw-library dd{margin:0 0 8px}.thsw-library .thsw-related{margin:42px 0}.thsw-library .thsw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}.thsw-library .thsw-card{display:flex;flex-direction:column;gap:8px;border:1px solid var(--thsw-rule);padding:20px;text-decoration:none!important;color:inherit;min-height:105px;transition:background .15s ease,border-color .15s ease}.thsw-library .thsw-card:hover,.thsw-library .thsw-card:focus-visible{background:rgba(155,121,69,.12);border-color:var(--thsw-gold)}.thsw-library .thsw-card strong{font-size:1.08rem;line-height:1.4}.thsw-library .thsw-card span{font-size:.88rem;line-height:1.55}.thsw-library [hidden]{display:none!important}.thsw-library .thsw-search-label{display:block;font-weight:600;margin:0 0 18px}.thsw-library input[type=search]{width:100%;margin-top:6px;padding:12px;border:1px solid var(--thsw-rule);border-radius:2px;font:inherit;background:#fff;color:#222}.thsw-library .thsw-footer{border-top:1px solid var(--thsw-rule);padding:20px 0;text-align:center}.thsw-library .thsw-button{display:inline-block;padding:10px 20px;background:#342a20;color:#fff;text-decoration:none}.thsw-library a:focus-visible,.thsw-library input:focus-visible{outline:2px solid var(--thsw-gold);outline-offset:3px}@media(max-width:520px){.thsw-library{padding:10px}.thsw-library dl{display:block}.thsw-library dd{margin:0 0 12px}.thsw-library .thsw-card{min-height:0;padding:16px}}
/* v1.1: escape narrow theme reading containers only on managed library pages. */
body.thsw-library-page .thsw-library{position:relative;width:min(1320px,calc(100vw - 40px));max-width:none;margin-inline:0;left:50%;transform:translateX(-50%);padding:0;line-height:1.65;overflow-wrap:anywhere}
body.thsw-library-page .thsw-library.thsw-positioned{left:var(--thsw-offset,0px);transform:none;width:var(--thsw-width,min(1320px,calc(100vw - 40px)))}
body.thsw-library-page .thsw-library .thsw-prose{width:100%;max-width:1100px;margin-inline:auto;font-size:clamp(16px,1.45vw,19px)}
body.thsw-library-page .thsw-library .thsw-title{font-size:clamp(1.85rem,4vw,3.25rem);line-height:1.15;color:#fff;margin:.55em 0 .35em;letter-spacing:-.025em;overflow-wrap:break-word}
body.thsw-library-page .thsw-library .thsw-hero{padding:clamp(20px,4vw,54px);margin-bottom:26px;border-radius:3px}
body.thsw-library-page .thsw-library .thsw-kicker{line-height:1.5;letter-spacing:.12em}
body.thsw-library-page .thsw-library .thsw-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.thsw-library-page .thsw-library .thsw-card{padding:22px;min-width:0;min-height:116px;border-radius:4px}
body.thsw-library-page .thsw-library .thsw-card strong{font-size:1.13rem;line-height:1.35}
body.thsw-library-page .thsw-library .thsw-card span{font-size:.95rem}
body.thsw-library-page .thsw-library .thsw-related{margin:26px 0 36px}
body.thsw-library-page .thsw-library .thsw-prose img{max-width:100%;height:auto}
body.thsw-library-page .thsw-library .thsw-prose h2{font-weight:650;letter-spacing:-.015em}
body.thsw-library-page .thsw-library .thsw-prose p{line-height:1.75}
body.thsw-library-page .thsw-library .thsw-show-more{margin:16px 0 0;border:1px solid var(--thsw-gold);background:#25211e;color:#fff;padding:12px 20px;font:inherit;cursor:pointer}
body.thsw-library-page .thsw-library .thsw-search-label input{min-height:48px;font-size:16px}
@media(max-width:900px){body.thsw-library-page .thsw-library .thsw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.thsw-library-page .thsw-library{width:calc(100vw - 28px)}body.thsw-library-page .thsw-library .thsw-grid{grid-template-columns:minmax(0,1fr);gap:12px}body.thsw-library-page .thsw-library .thsw-card{min-height:0;padding:16px}body.thsw-library-page .thsw-library .thsw-hero{padding:20px 17px}body.thsw-library-page .thsw-library .thsw-title{font-size:clamp(1.65rem,7vw,2.15rem)}body.thsw-library-page .thsw-library .thsw-prose{font-size:16px}body.thsw-library-page .thsw-library .thsw-kicker{font-size:.7rem}body.thsw-library-page .thsw-library .thsw-lead{font-size:1rem}body.thsw-library-page .thsw-library .thsw-prose p{line-height:1.65}}
/* v1.2: manuscript reading experience; maintain v1.1 wide layout. */
body.thsw-library-page .thsw-library .thsw-prose{max-width:980px}
.thsw-library .thsw-reading{font-size:.84em;color:inherit;opacity:.8;margin:0 0 16px}
.thsw-library .thsw-toc{border:1px solid var(--thsw-rule);border-left:4px solid var(--thsw-gold);padding:18px 24px;margin:0 0 36px;background:rgba(155,121,69,.045);font-size:.92em}
.thsw-library .thsw-toc summary{font-weight:700;cursor:pointer}.thsw-library .thsw-toc ol{columns:2;column-gap:36px;margin:12px 0 0;padding-left:24px}.thsw-library .thsw-toc li{break-inside:avoid;margin-bottom:6px}.thsw-library .thsw-prose h2[id]{scroll-margin-top:90px}.thsw-library .thsw-prose a{text-decoration:underline;text-underline-offset:3px}
.thsw-library .thsw-path{border:1px solid var(--thsw-rule);border-top:3px solid var(--thsw-gold);padding:20px;min-width:0}.thsw-library .thsw-path h3{font-size:1.12em;margin:0 0 12px;line-height:1.35}.thsw-library .thsw-path ol{padding-left:22px;margin:0 0 15px}.thsw-library .thsw-path li{margin-bottom:8px}.thsw-library .thsw-path p{font-size:.86em;margin:0}.thsw-library .thsw-paths{margin-bottom:34px}.thsw-library .thsw-sequence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:30px 0}.thsw-library .thsw-sequence>div{border:1px solid var(--thsw-rule);padding:16px}.thsw-library .thsw-sequence small{display:block;font-size:.75em;letter-spacing:.04em;margin-bottom:5px}
@media(max-width:600px){.thsw-library .thsw-toc{padding:14px 16px}.thsw-library .thsw-toc ol{columns:1}.thsw-library .thsw-sequence{grid-template-columns:1fr}.thsw-library .thsw-path{padding:16px}}
