/* Local system fonts keep the entire reading experience independent of CDNs. */
:root{--ink:#173c36;--teal:#155d51;--paper:#f8f6ee;--white:#fffef9;--muted:#54675e;--line:#d9ded2;--orange:#f3b84c;--mint:#e8efe4;--radius:14px;--shadow:0 8px 24px #173c3607}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang TC","Microsoft JhengHei","Noto Sans TC",sans-serif;font-size:16px;line-height:1.75;overflow-wrap:anywhere}button,input,select{font:inherit}a{color:var(--teal);text-underline-offset:4px}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.48}[hidden]{display:none!important}:focus-visible{outline:3px solid #aa5500;outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.35}img{display:block;max-width:100%;object-fit:contain}.skip-link{position:fixed;top:-100px;left:16px;padding:12px 20px;background:var(--ink);color:white;z-index:100}.skip-link:focus{top:12px}section[id],article[id]{scroll-margin-top:105px}.site-header{position:sticky;top:0;background:#f8f6eef5;backdrop-filter:blur(10px);border-bottom:1px solid var(--line);z-index:10}.header-inner{max-width:1240px;margin:auto;padding:18px 42px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-weight:800;letter-spacing:.03em;flex-shrink:0}.brand>span{font-size:20px;line-height:1.4}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:500;letter-spacing:.1em;margin-top:2px}.site-header nav{display:flex;align-items:center;gap:27px}.site-header nav a{font-weight:600;font-size:14px;text-decoration:none;white-space:nowrap;min-height:40px;display:flex;align-items:center}.site-header nav a:hover{text-decoration:underline}main{max-width:1240px;margin:auto;padding:0 42px}.hero{padding:76px 0 70px;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:64px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;line-height:1.7;color:var(--teal);margin-bottom:18px}.hero h1{font-size:clamp(2.4rem,4.35vw,3.85rem);font-weight:800;letter-spacing:-.04em;line-height:1.4}.hero-description{font-size:17px;color:var(--muted);margin-top:25px;line-height:1.9}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:50px;border:1px solid var(--ink);border-radius:7px;padding:11px 20px;text-decoration:none;font-size:14px;font-weight:700;background:transparent;transition:background .15s}.primary{color:var(--white);background:var(--ink)}.primary:hover{background:var(--teal)}.secondary:hover{background:var(--mint)}.button span{font-size:20px;line-height:1}.hero-caption{margin-top:19px;font-size:12px;color:var(--muted)}.intro-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;display:flex;justify-content:space-between;gap:18px;font-size:14px}.intro-strip p{color:var(--muted)}.intro-strip strong{color:var(--ink)}.intro-strip a{white-space:nowrap;text-decoration:none;font-weight:700}.library{padding:68px 0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}.section-heading .eyebrow{margin-bottom:10px}h2{font-size:30px;font-weight:800;letter-spacing:-.025em}.section-note{font-size:12px;color:var(--muted);text-align:right}.section-note strong{color:var(--ink);font-size:18px}.library-intro{color:var(--muted);max-width:800px;font-size:14px;margin-top:20px}.tools{display:flex;align-items:flex-end;gap:16px;margin-top:28px}.search-field{flex:1}.search-field label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.search-box{display:flex;align-items:center;background:var(--white);border:1px solid #b8c5b6;border-radius:9px;padding-inline:15px;min-height:54px}.search-box:focus-within{outline:2px solid var(--teal);outline-offset:2px}.search-box>span{font-size:27px;margin-right:12px;line-height:1}.search-box input{min-width:0;width:100%;border:none;background:transparent;padding:12px 0;color:var(--ink);font-size:14px;outline:none;box-shadow:none}.search-box input::placeholder{color:#65766b}.search-box button{background:none;border:0;min-width:44px;min-height:44px;font-size:24px}.random-button{background:var(--orange);border-color:var(--orange);min-height:54px}.random-button:hover{background:#efad34}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}.chip{background:transparent;border:1px solid #c7d0c0;border-radius:100px;min-height:42px;padding:8px 15px;font-size:12px;font-weight:700;display:flex;align-items:center;gap:10px}.chip span{font-size:11px;color:var(--muted);font-weight:500}.chip:hover{background:var(--mint)}.chip.active{background:var(--ink);color:var(--white);border-color:var(--ink)}.chip.active span{color:#dae8d9}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 17px;font-size:12px;color:var(--muted)}.text-button{border:none;background:none;text-decoration:underline;text-underline-offset:4px;min-height:44px;font-weight:700;font-size:12px;color:var(--teal)}.question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.question{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:23px 24px 18px;box-shadow:var(--shadow);min-height:225px;min-width:0}.question.picked{outline:3px solid var(--orange);outline-offset:2px}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);margin-bottom:18px;letter-spacing:.045em}.card-meta>span:first-child{font-family:Georgia,serif;font-size:12px;color:var(--teal);letter-spacing:.03em}.card-meta>span:last-child{background:var(--mint);border-radius:4px;padding:2px 7px}.question h3{font-size:17px;line-height:1.7;font-weight:700;flex:1;margin-bottom:22px}.question .translation{font-size:13px;color:var(--muted);margin:-9px 0 19px;line-height:1.75}.question details{border-top:1px dashed var(--line);font-size:14px}.question summary{font-size:12px;font-weight:700;color:var(--teal);padding-top:11px;min-height:43px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}.question summary::-webkit-details-marker{display:none}.question summary span{border-radius:50%;width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:var(--mint);font-size:16px;flex-shrink:0}.answer{padding-top:10px}.answer p{line-height:1.9;font-size:14px}.answer .source{font-size:10px;line-height:1.7;margin-top:13px;color:var(--muted)}.pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;margin-top:30px}.pagination button{background:var(--white);border:1px solid var(--line);border-radius:6px;min-height:46px;padding:8px 18px;font-size:13px;font-weight:700}.pagination p{font-size:13px;color:var(--muted)}.page-jump{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.page-jump select{border:1px solid var(--line);border-radius:6px;background:var(--white);min-height:44px;padding:7px;color:var(--ink);max-width:150px}.empty,.notice{background:var(--mint);padding:22px;border-radius:10px;margin-block:20px;font-size:14px}.reading-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:53px 0;display:grid;grid-template-columns:1fr 1.3fr;gap:70px}.reading-heading p:last-child{font-size:14px;color:var(--muted);margin-top:20px}.guide-steps{display:grid;gap:23px}.guide-steps article{position:relative;padding-left:45px}.guide-steps span{position:absolute;top:0;left:0;font-size:15px;font-family:Georgia,serif;color:var(--teal)}.guide-steps h3{font-size:16px;margin-bottom:8px}.guide-steps p{font-size:13px;color:var(--muted)}.collections{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:54px 0}.collection-card{background:var(--mint);padding:32px;border-radius:var(--radius);border:1px solid #d2ddcc}.english-card{background:#f8ecd3;border-color:#eadcbf}.collection-card .eyebrow{font-size:10px;margin-bottom:13px}.collection-card h2{font-size:23px;margin-bottom:20px}.collection-card p:not(.eyebrow){font-size:14px;margin-top:13px;color:var(--muted)}.collection-link{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;padding-top:20px;margin-top:21px;border-top:1px solid #bac8b2;text-decoration:none;min-height:44px}.english-card .collection-link{border-color:#dacbae}.about-section{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;padding:45px 0 55px;border-bottom:1px solid var(--line)}.about-section h2{font-size:25px;margin-bottom:20px}.about-section p:not(.eyebrow){font-size:13px;color:var(--muted);margin-top:13px}.source-box{border-left:1px solid var(--line);padding-left:30px;font-size:11px;align-self:center}.source-box h3{font-size:15px;margin-bottom:15px}.source-box ul{padding:0;margin:0 0 20px;list-style:none;display:grid;gap:17px}.source-box li a{display:block;font-size:13px;font-weight:600}.source-box li span{font-size:11px;color:var(--muted)}.faq-section{padding:48px 0 60px;max-width:850px}.faq-section h2{font-size:24px;margin-bottom:23px}.faq-section details{border-bottom:1px solid var(--line);padding:13px 0;font-size:14px}.faq-section summary{font-size:14px;font-weight:700;cursor:pointer;min-height:36px}.faq-section p{padding:10px 0 6px;color:var(--muted);font-size:13px}footer{background:var(--ink);color:var(--white);padding:31px 42px 22px}.footer-inner{max-width:1156px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{color:var(--white)}.footer-brand span{font-size:17px}.footer-inner p{font-size:12px;color:#d5e3d6}.footer-inner>a:last-child{font-size:12px;color:#ecf1e8;min-height:44px;display:flex;align-items:center}.footer-note{max-width:1156px;margin:18px auto 0;border-top:1px solid #ffffff24;padding-top:15px;font-size:10px;color:#c8dac9}
@media(min-width:1600px){.hero h1{font-size:62px}}
@media(max-width:1050px){.hero{gap:35px;padding-top:55px}.header-inner,main{padding-inline:30px}.question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:42px}.hero-actions{gap:10px}.hero-actions .button{gap:12px;padding-inline:15px}.about-section,.reading-section{gap:35px}.site-header nav{gap:20px}}
@media(max-width:780px){.header-inner{gap:15px;padding:14px 24px;align-items:flex-start}.site-header nav{gap:14px;flex-wrap:wrap;justify-content:flex-end}.site-header nav a{font-size:12px;min-height:28px}.brand>span{font-size:17px}.brand img{width:35px;height:35px}.brand small{font-size:9px}.hero{gap:30px}.hero h1{font-size:34px}.hero-description{font-size:15px}.hero .eyebrow{font-size:10px}.hero-caption{font-size:11px}.hero-actions{flex-direction:column;align-items:flex-start}.reading-section{grid-template-columns:1fr 1fr}.collections{gap:18px}.collection-card{padding:25px}.collection-card h2{font-size:21px}}
@media(max-width:620px){html{scroll-padding-top:135px}section[id],article[id]{scroll-margin-top:135px}.header-inner{display:block;padding:13px 20px 8px}.site-header nav{justify-content:flex-start;margin-top:10px;gap:22px}.site-header nav a{min-height:34px}.brand>span{font-size:18px}.brand small{display:none}.header-inner .brand img{width:32px;height:32px}.hero{grid-template-columns:1fr;gap:38px;padding:38px 0 47px}.hero h1{font-size:40px;letter-spacing:-.045em}.hero .eyebrow{font-size:11px;margin-bottom:18px}.hero-description{font-size:15px;margin-top:21px}.hero-actions{flex-direction:row;align-items:center;margin-top:24px}.hero-actions .button{font-size:12px;gap:14px;min-height:48px;padding-inline:15px}.hero-caption{margin-top:16px}.intro-strip{padding:18px 0;flex-direction:column;gap:6px;font-size:12px}.intro-strip a{font-size:12px}.library{padding:40px 0}.section-heading{gap:15px;align-items:center}h2{font-size:25px}.section-note{font-size:10px;flex-shrink:0}.section-note strong{font-size:15px}.section-heading .eyebrow{font-size:9px}.library-intro{font-size:13px}.tools{gap:10px;align-items:flex-end}.random-button{font-size:12px;padding:10px 13px;gap:8px;white-space:nowrap}.search-box{padding-inline:10px}.search-box>span{font-size:24px;margin-right:7px}.search-box input{font-size:13px}.filters{gap:7px}.chip{font-size:11px;padding:7px 11px;gap:8px;min-height:40px}.question-grid{grid-template-columns:minmax(0,1fr);gap:14px}.question{padding:21px 23px 16px;min-height:185px}.question h3{font-size:17px;margin-bottom:18px}.card-meta{margin-bottom:14px}.result-toolbar{font-size:11px;gap:8px;margin-top:20px}.text-button{font-size:11px}.pagination{gap:12px}.pagination button{padding:8px 14px}.pagination p{font-size:12px}.page-jump{order:2;flex-basis:100%;justify-content:center}.reading-section{grid-template-columns:1fr;gap:29px;padding:35px 0}.reading-heading .eyebrow{font-size:10px;margin-bottom:12px}.guide-steps{gap:19px}.guide-steps article{padding-left:38px}.collections{grid-template-columns:1fr;padding:35px 0;gap:18px}.collection-card{padding:26px}.about-section{grid-template-columns:1fr;gap:28px;padding:18px 0 35px}.about-section h2{font-size:23px}.source-box{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.faq-section{padding:35px 0 40px}.faq-section h2{font-size:22px}main{padding-inline:20px}.footer-inner{flex-wrap:wrap;gap:12px}.footer-inner p{flex-basis:100%;order:3;font-size:11px}footer{padding:25px 20px 20px}.footer-inner>a:last-child{margin-left:auto}.footer-note{font-size:10px}.hero-copy br{display:initial}}
@media(max-width:360px){main{padding-inline:16px}.header-inner{padding-inline:16px}.site-header nav{gap:15px}.hero h1{font-size:35px}.hero-actions{gap:8px}.hero-actions .button{padding-inline:12px;gap:10px;font-size:11px}.hero .eyebrow{font-size:10px}.section-heading h2{font-size:22px}.random-button{padding-inline:10px;font-size:11px}.search-box input{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.site-header{position:static}.js-control,.hero-actions,footer{display:none!important}main{max-width:none;padding:0}body{background:white}.hero{display:block;padding:15px 0}.hero h1{font-size:24px}.question-grid{display:block}.question{break-inside:avoid;content-visibility:visible;min-height:0;box-shadow:none;margin-bottom:15px}.question[hidden]{display:none!important}.answer{display:block}.hero-caption{margin-bottom:10px}}

/* Reference-inspired compact question layout. Shared controls keep existing behavior. */
:root{--ink:#262621;--teal:#9b4229;--paper:#faf9f5;--white:#fff;--muted:#605d55;--line:#e5e3db;--orange:#be5738;--mint:#faede6;--shadow:0 1px 3px #28251b04,0 8px 20px -15px #28251b26}
.header-inner,main{max-width:1120px}.site-header{background:#faf9f5f5}.header-inner{padding-block:13px}.brand small{font-size:11px}.brand>span{font-size:18px}.site-header nav a{font-weight:500}.hero{display:block;padding:55px 0 28px;text-align:center}.hero-copy{max-width:850px;margin:auto}.hero-badge{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;color:var(--teal);background:var(--mint);border:1px solid #eed3c7;border-radius:100px;padding:6px 17px;font-size:13px;font-weight:700;margin-bottom:19px}.hero h1{font-size:clamp(32px,4.1vw,50px);line-height:1.45;letter-spacing:-.025em}.hero-highlight{color:var(--teal);display:block}.hero-description{font-size:16px;margin-top:14px}.hero-actions{justify-content:center;margin-top:24px;flex-direction:row}.hero-caption{margin-top:17px}.primary{background:var(--orange);border-color:var(--orange)}.primary:hover{background:#a34930}.button{border-radius:10px;gap:14px;font-size:14px}.secondary{background:var(--white);border-color:#d9d5cc}.intro-strip{padding:17px 0;margin-top:8px;font-size:13px}.library{padding-top:35px;padding-bottom:40px}.section-heading .eyebrow{display:none}.section-heading h2{font-size:25px}.library-intro{max-width:880px;margin-top:12px;font-size:14px}.section-note{font-size:12px}.tools{margin-top:21px;gap:12px}.random-button{color:white;border-color:var(--orange)}.random-button:hover{background:#a34930}.search-box{border-color:#d5d1c8;border-radius:10px}.search-box input{font-size:15px}.search-box>span{color:#6f665d}.search-field label{font-size:13px}.filters{gap:8px;margin-top:14px}.chip{background:white;border-color:#d7d3c9;font-size:13px;padding:7px 13px;min-height:40px}.chip.active{background:var(--orange);border-color:var(--orange)}.chip.active span{color:white}.chip span{font-size:12px}.result-toolbar{font-size:13px;margin:14px 0 11px}.text-button{font-size:13px}.question-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 15px}.question{display:block;min-height:0;padding:0;border-radius:12px;box-shadow:none;transition:border-color .15s}.question:hover{border-color:#c9bfb0}.card-meta{display:none}.question details{border:0}.question summary{padding:15px;display:block;min-height:58px;color:var(--ink)}.question summary h3{display:flex;align-items:flex-start;gap:12px;font-size:15.5px;font-weight:600;line-height:1.65;margin:0;letter-spacing:0}.question summary .question-number{flex:0 0 auto;width:auto;min-width:28px;max-width:none;white-space:nowrap;height:auto;min-height:27px;border-radius:7px;background:var(--mint);color:var(--teal);font-size:12px;line-height:1.6;padding:4px 6px;text-align:center;display:block;overflow-wrap:normal;transform:none}.question summary .question-text{display:block;flex:1;width:auto;height:auto;background:none;border-radius:0;font-size:15.5px;line-height:1.65;color:var(--ink);transform:none}.question summary .question-chevron{flex:0 0 auto;display:block;width:20px;height:auto;background:none;color:#70685c;font-size:21px;line-height:1.2;transform:none}.question details[open]{border-radius:12px;background:#fffdfb;outline:1px solid #cf7b5f}.question details[open] summary .question-chevron{transform:rotate(180deg)}.question .answer{padding:16px 18px 17px;border-top:1px solid var(--line);margin-inline:15px}.question .answer>p:first-of-type{font-size:15px}.answer .source{font-size:12px;line-height:1.8;margin-top:11px}.answer .review-note{font-size:11px;color:var(--muted);margin-top:7px}.question .translation{font-size:13px;color:var(--muted);margin:0 0 12px}.pagination{margin-top:23px;gap:13px}.reading-section{padding-block:35px;gap:40px}.reading-heading h2{font-size:25px}.collections{padding-block:35px}.collection-card{background:white;border-color:var(--line);padding:27px}.english-card{background:#fbf0e6}.collection-card h2{font-size:22px}.collection-link{border-color:#ded8cd}.about-section{padding-top:23px}.about-section h2{font-size:24px}.source-box{font-size:12px}.source-box li span{font-size:12px;display:block}.provided-reference{font-size:13px!important;font-weight:700;color:var(--ink)!important}.source-box ul{gap:14px}.faq-section{padding-top:35px}.faq-section p{font-size:14px}.footer-brand img{background:var(--paper);border-radius:7px;padding:3px}footer{background:#302f29}.footer-note{font-size:12px}.footer-inner p{font-size:13px}.footer-inner>a:last-child{font-size:13px}
@media(max-width:820px){.question-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){.hero{padding-top:30px;padding-bottom:21px}.hero-badge{font-size:12px;padding:6px 12px;margin-bottom:15px}.hero h1{font-size:35px}.hero-description{font-size:14px;line-height:1.9}.hero-actions{margin-top:20px;flex-wrap:wrap;justify-content:center}.hero-actions .button{font-size:13px;padding-inline:15px}.hero-caption{font-size:11px}.section-heading h2{font-size:22px}.library{padding-top:27px}.library-intro{font-size:13px}.tools{flex-wrap:wrap}.search-field{flex-basis:230px;min-width:0}.random-button{min-height:46px;font-size:13px}.filters{gap:7px}.chip{font-size:12px;min-height:40px;padding:7px 11px}.chip span{font-size:11px}.result-toolbar{font-size:12px}.text-button{font-size:12px}.question summary{padding:14px 13px}.question summary h3{gap:10px}.question summary .question-text{font-size:15px}.question summary .question-number{font-size:11px;min-width:27px}.question .answer{margin-inline:12px;padding:13px 3px 17px}.answer .source{font-size:12px}.about-section h2{font-size:23px}.collections{gap:15px}.collection-card{padding:24px}.source-box{padding-top:22px}.hero h1,.hero-highlight{overflow-wrap:anywhere}}
@media(max-width:360px){.hero h1{font-size:31px}.hero-badge{font-size:11px}.hero-actions .button{font-size:12px;gap:9px;padding-inline:12px}.section-note{font-size:10px}.hero-description br{display:none}}
@media print{.question-grid{display:block}.question{break-inside:avoid}.question summary{padding:8px}.question h3{font-size:14px}.answer .source{font-size:10px}}

.hero{padding-top:36px;padding-bottom:23px}.hero h1{font-size:clamp(32px,4vw,46px)}.hero-highlight{display:inline;margin-inline-start:.25em}.hero-description{margin-top:12px}.hero-actions{margin-top:21px}.hero-caption{margin-top:14px}.library{border-top:1px solid var(--line)}
@media(max-width:620px){.hero{padding-top:27px;padding-bottom:24px}.hero h1{font-size:34px}.hero-highlight{display:block;margin-inline-start:0}.hero-description{margin-top:12px}.hero-actions{margin-top:19px}}
@media(max-width:360px){.hero h1{font-size:30px}}

/* Keep search and action in one row at every width. */
.tools{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:12px}.search-field{min-width:0}.random-button{min-height:54px;white-space:nowrap;flex-shrink:0}.brand{min-width:0}.brand>span{overflow-wrap:anywhere}.brand img{flex-shrink:0}
@media(max-width:620px){.tools{gap:8px}.random-button{padding-inline:12px;font-size:13px}.random-button>span{display:none}.search-box input{font-size:14px}.brand>span{font-size:17px}}
@media(max-width:360px){.random-button{padding-inline:10px;font-size:12px}.brand>span{font-size:16px}.search-box input{font-size:13px}}

.footer-brand{max-width:100%;flex-shrink:1}.brand>span{min-width:0}

/* Show the Chinese question meaning before an English answer is opened. */
.question summary .question-text>.original-question,.question summary .question-text>.question-gloss{display:block;width:auto;height:auto;min-height:0;background:none;border-radius:0;transform:none;font-size:inherit;line-height:inherit;flex-shrink:1}
.question summary .question-text>.question-gloss{font-size:13px;font-weight:400;color:var(--muted);margin-top:7px;line-height:1.8}
/* Source summaries must wrap when text is enlarged. */
.section-heading{flex-wrap:wrap}.section-heading>div{min-width:0}.section-note{max-inline-size:100%;min-inline-size:0;overflow-wrap:anywhere}

/* Long summaries and 200% text must stay within the heading. */
.section-heading{flex-wrap:wrap}.section-heading>div{min-width:0}.section-note{max-inline-size:100%;min-inline-size:0;overflow-wrap:anywhere}

/* The source panel was removed from the public reading layout. */
.about-section{grid-template-columns:1fr}

/* Align the answer label with the question number at every breakpoint. */
.question .answer{margin-inline:0;padding-inline:15px}
@media(max-width:620px){.question .answer{padding-inline:13px}}

/* Compact category disclosure in the sticky header. */
.header-inner{position:relative;display:flex;align-items:center;gap:14px}
.header-inner .brand{flex:1;min-width:0}
.category-menu{flex:0 0 auto}
.category-menu>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:9px;background:var(--white);padding:9px 13px;min-height:44px;font-size:14px;font-weight:700;white-space:nowrap}
.category-menu>summary::-webkit-details-marker{display:none}
.category-menu[open]>summary{color:var(--teal);border-color:var(--teal)}
.category-menu[open]>summary>span{transform:rotate(180deg)}
.category-menu .filters{position:absolute;inset-block-start:calc(100% + 7px);inset-inline-end:20px;width:min(650px,calc(100vw - 40px));max-height:65vh;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-wrap:wrap;gap:9px;margin:0;padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--white);box-shadow:0 12px 28px #3426171c;z-index:20}
.category-menu .chip{min-height:44px}
@media(max-width:620px){.header-inner{align-items:center}.header-inner .brand{gap:9px}.category-menu>summary{padding-inline:10px}.category-menu .filters{inset-inline-end:16px;width:calc(100vw - 32px);padding:13px;gap:8px}.header-inner .brand>span{font-size:15px}}

/* A translucent, keyboard-accessible return link stays near the screen edge. */
footer .back-to-top{position:fixed;inset-inline-end:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:40;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:rgba(47,43,38,.42);color:#fff;font-size:14px;line-height:1.5;text-decoration:none;box-shadow:0 3px 12px rgba(0,0,0,.12)}
footer .back-to-top:hover{background:rgba(47,43,38,.65)}
footer .back-to-top:focus-visible{outline:3px solid #be5738;outline-offset:4px}

/* Decorative emoji accompany readable text labels. */
.emoji,.chip .emoji,.button .emoji{display:inline-block;font-size:1em;line-height:1.2;vertical-align:-.05em;flex-shrink:0}
.category-menu[open]>summary>.emoji{transform:none}

footer .back-to-top{width:46px;height:46px;min-height:46px;padding:0;border-radius:50%;font-size:24px;line-height:1;flex-shrink:0}footer .back-to-top span{line-height:1}

.breadcrumbs{font-size:.85rem;margin-block:18px 0;color:var(--muted);line-height:1.8}
.real-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding-block:25px}
.real-pagination>a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;text-decoration:none;background:var(--white);color:var(--ink)}
.real-pagination>a[aria-current=page]{background:var(--teal);color:white;border-color:var(--teal)}
.category-menu a.chip{text-decoration:none;display:inline-flex;align-items:center;gap:5px;color:var(--ink)}
.category-menu a.chip.active{color:white}
.directory-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:white;text-decoration:none;display:flex;flex-direction:column;gap:7px;color:var(--ink);min-width:0}
.directory-card span{font-size:.9rem;color:var(--muted)}
.directory-card strong span{font-size:1em}
.search-page-link{display:inline-block;margin-block-start:10px;font-size:.9rem}
.library{padding-block-start:20px}.library>.tools{margin-block-start:0}
.search-field>label{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.question{align-self:start}
.question:has(details[open]){border-color:#cf7b5f;background:#fffdfb}
.question details[open]{outline:none;background:transparent;border-radius:0}
.bottom-categories{margin-block-start:28px;padding-block-start:22px;border-block-start:1px solid var(--line)}
.bottom-categories h2{font-size:18px;margin:0 0 12px}
.bottom-categories .filters{display:flex;flex-wrap:wrap;margin:0;gap:8px}
.bottom-categories a.chip{text-decoration:none;display:inline-flex;align-items:center;gap:5px;color:var(--ink)}
.bottom-categories a.chip.active{color:white}
@media(max-width:620px){.real-pagination{gap:6px}.real-pagination>a{padding-inline:10px}.breadcrumbs{font-size:.8rem}}
