:root{--ink:#193b39;--muted:#6d7d77;--line:#dce5dd;--paper:#fafbf6;--green:#176353}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 system-ui,sans-serif}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}header{display:flex;justify-content:space-between;align-items:center;padding:22px 5%;border-bottom:1px solid var(--line);background:#fff}nav{display:flex;gap:24px}.brand{font-size:24px;font-weight:750}.brand small{display:block;font-size:10px;letter-spacing:3px;color:var(--muted)}main{max-width:1250px;margin:auto;padding:40px 28px}h1{font-size:clamp(28px,4vw,46px);line-height:1.3;font-weight:650}h2{font-size:24px}p{overflow-wrap:anywhere}.eyebrow{letter-spacing:3px;font-size:12px;color:var(--green)}.hero{padding:20px 0 35px;max-width:850px}.muted,small{color:var(--muted)}input,textarea,select,button{font:inherit}input,textarea,select{padding:11px 14px;border:1px solid var(--line);border-radius:8px;background:white;max-width:100%;width:100%}textarea{min-height:120px}button,.button{border:0;border-radius:8px;background:var(--green);color:white;padding:11px 20px;cursor:pointer;display:inline-block}button:disabled{opacity:.5;cursor:wait}.secondary{background:#e7eee6;color:var(--ink)}.danger{background:#a44639}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:28px}.toolbar input{flex:1;min-width:180px}.tabs{display:flex;gap:8px;flex-wrap:wrap}.tabs button.active{background:var(--ink);color:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:25px}.card,.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px}.card{display:flex;flex-direction:column;gap:12px}.card h2{margin:0;font-size:21px}.cover{height:200px;background:#e8eee3;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:60px}.cover img{width:100%;height:100%;object-fit:contain}.card .button{margin-top:auto;text-align:center}.layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:34px;margin-top:24px}.toc{align-self:start;position:sticky;top:20px;max-height:80vh;overflow:auto}.toc a{display:block;padding:9px 12px;border-radius:6px;font-size:14px}.toc a.current{background:#e7eee6;font-weight:bold}.reading{background:white;border:1px solid var(--line);border-radius:14px;padding:35px 45px;min-width:0}.content{font-size:18px;line-height:1.95}.content img{max-width:100%;height:auto;display:block;margin:24px auto}.content table{display:block;overflow:auto}.content h1{font-size:30px}.content h2{font-size:24px}.content p{margin:1em 0}.chapter-nav{display:flex;justify-content:space-between;gap:15px;margin:30px 0 0}.form{display:grid;gap:16px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.admin-row{padding:15px 0;border-bottom:1px solid var(--line)}.admin-row .toolbar{margin:12px 0 0}.result{display:block;padding:20px;background:white;border:1px solid var(--line);margin-bottom:12px;border-radius:10px}.result p{margin-bottom:0;color:var(--muted)}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 24px;border-radius:8px;display:none;max-width:90vw}.answer{white-space:pre-wrap}.sources a{display:block}.mobile-toc{display:none}@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid{grid-template-columns:1fr}.layout{grid-template-columns:220px minmax(0,1fr)}.reading{padding:25px}}@media(max-width:600px){header{padding:16px 20px;gap:15px}.brand{font-size:20px}.brand small{font-size:8px}nav{gap:12px;font-size:13px}main{padding:24px 16px}.grid{grid-template-columns:1fr}.layout{display:block}.toc{position:static;max-height:260px;margin-bottom:20px;display:none}.toc.open{display:block}.mobile-toc{display:block;margin:16px 0}.reading{padding:22px 18px}.content{font-size:17px}.hero{padding-top:0}.chapter-nav .button{padding:10px 12px;font-size:14px}}
/* Flight editorial theme, built on Tabler UI */
:root{--ink:#152d3b;--muted:#73808a;--line:#e2e7e9;--paper:#f7f8fa;--green:#175b6f;--tblr-primary:#175b6f;--tblr-primary-rgb:23,91,111}body{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;background:var(--paper)}header{height:96px;padding:0 max(5%,calc((100vw - 1440px)/2));background:#fff}.brand{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-weight:700;letter-spacing:1px}.brand small{margin-left:12px;font-size:9px;letter-spacing:2px}.brand-symbol{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#153a4a;color:#fff;font-size:30px}nav a{font-size:14px;font-weight:550}nav a:last-child{padding:8px 16px;border:1px solid var(--line);border-radius:5px}main{max-width:1440px;padding:55px 48px}.shelf-page{max-width:none;padding:0}.hero{position:relative;max-width:none;min-height:650px;margin:0;background:linear-gradient(90deg,rgba(10,29,43,.95),rgba(10,29,43,.55) 46%,rgba(10,29,43,.03)),url('/static/skyline.svg') center 48%/cover;color:#fff;padding:105px max(6%,calc((100vw - 1260px)/2)) 110px;overflow:hidden}.hero-copy{max-width:760px}.hero .eyebrow{color:#bdcfda;letter-spacing:4px;font-size:11px}.hero h1{font-size:clamp(42px,5.2vw,76px);font-weight:600;letter-spacing:1px;line-height:1.24;margin:26px 0}.hero p{color:#c7d4dc;line-height:1.95;font-size:17px}.hero-cta{margin-top:28px;background:#fff;color:#203b48;padding:14px 25px;border-radius:4px;font-weight:600;min-width:225px;display:inline-flex;justify-content:space-between;gap:35px}.hero-cta:hover{color:#203b48;background:#f0ede5}.hero-caption{position:absolute;bottom:28px;left:6%;right:6%;display:flex;justify-content:space-between;border-top:1px solid #ffffff30;padding-top:18px;color:#c0cdd3;font-size:10px;letter-spacing:2px}.collection{max-width:1360px;margin:auto;padding:76px 48px 100px;scroll-margin-top:30px}.collection-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.collection h2{font-size:32px;font-weight:600;margin:12px 0;letter-spacing:1px}.collection h2 span{font-size:13px;display:block;color:var(--muted);margin-top:12px;font-weight:400;letter-spacing:0}.collection-count{font-size:36px;font-weight:300;color:#6b7f8b}.collection-count small{display:block;font-size:11px;letter-spacing:1px}.searchbar{align-items:center;padding:8px 8px 8px 24px;border:1px solid var(--line);border-radius:8px;background:#fff;margin-bottom:28px;box-shadow:0 5px 20px #233f4e04}.searchbar>span{font-size:26px;color:#768a95}.searchbar input{border:0;background:transparent;box-shadow:none;font-size:14px}.searchbar button{border-radius:5px;font-size:13px;padding:13px 22px}.tabs{gap:24px;border-bottom:1px solid var(--line);padding-bottom:0}.tabs button{background:none;border-radius:0;padding:14px 2px;color:var(--muted);font-size:14px;border-bottom:2px solid transparent}.tabs button.active{background:none;color:var(--ink);border-color:var(--green)}.tabs small{font-size:10px;border-radius:4px;background:#e9edef;padding:2px 5px;margin-left:8px}.grid{margin-top:34px;gap:28px}.resource-card{border-radius:8px;padding:0;overflow:hidden;box-shadow:0 8px 30px #19344305;gap:0;transition:transform .2s,box-shadow .2s}.resource-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px #19344312}.cover{position:relative;border-radius:0;height:300px;padding:24px;background:linear-gradient(130deg,#dbe6e7,#edf0ec)}.cover img{filter:drop-shadow(8px 12px 12px #132e3a30);max-height:100%;width:auto;max-width:85%;object-fit:contain}.cover-label{position:absolute;top:15px;left:18px;font-size:10px;letter-spacing:1px;color:#446370}.card-copy{padding:28px;display:flex;flex-direction:column;flex:1}.resource-meta{display:flex;gap:16px;font-size:11px;letter-spacing:1px;color:#748993;margin-bottom:16px}.resource-meta span:first-child{color:#276b7d}.resource-card h2{font-size:23px;line-height:1.55;margin:0 0 12px}.resource-card h2 a{color:var(--ink)}.card-copy>.muted{font-size:13px}.card-copy p{font-size:14px;line-height:1.9;color:var(--muted);margin-top:24px}.resource-link{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:13px;font-weight:600}.grid.single{grid-template-columns:1fr}.grid.single .resource-card{display:grid;grid-template-columns:360px 1fr;max-width:100%;min-height:350px}.grid.single .cover{height:100%;min-height:350px}.grid.single .card-copy{padding:40px 46px}.grid.single h2{font-size:28px;max-width:650px}.empty-state{grid-column:1/-1;padding:50px 0;color:var(--muted)}.inner-page>h1{max-width:1000px;font-size:clamp(30px,4vw,46px);margin:30px 0 20px}.layout{grid-template-columns:290px minmax(0,1fr);gap:40px;margin-top:40px}.toc{border-radius:6px;padding:24px 15px}.toc strong{display:block;letter-spacing:2px;font-size:12px;margin:0 12px 18px}.toc a{padding:11px 12px;color:#657887}.toc a.current{background:#edf3f5;color:#16566d}.reading{border-radius:6px;padding:50px 60px;box-shadow:0 12px 40px #243a4704}.reading>#content>h2{font-size:30px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:35px}.content{font-size:18px;line-height:2.05;color:#344a57}.content h1{line-height:1.5}.content img{border-radius:3px}.admin-page{max-width:1320px}.admin-grid{gap:28px}.panel{border-radius:8px;padding:28px}.panel h2{font-size:20px;font-weight:600;margin:0 0 16px}.admin-page .panel{box-shadow:0 4px 20px #1b394705}.admin-page .form{gap:14px}.btn-primary{background:var(--green);border-color:var(--green)}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:32px 6%;background:#fff;font-size:16px}footer small{font-size:11px;letter-spacing:1px;align-self:center}a:focus-visible,button:focus-visible{outline:3px solid #e9a46b;outline-offset:4px}@media(max-width:1000px){.brand small{display:none}.collection{padding:55px 32px 70px}.grid.single .resource-card{grid-template-columns:300px 1fr}.grid.single .card-copy{padding:32px}.reading{padding:35px}.hero{min-height:600px}.layout{grid-template-columns:240px minmax(0,1fr);gap:24px}}@media(max-width:600px){header{height:78px;padding:0 18px}.brand{font-size:18px;gap:8px}.brand-symbol{width:30px;height:30px;font-size:22px}nav{gap:10px}nav a{font-size:11px}nav a:last-child{padding:6px 9px}.hero{min-height:570px;padding:75px 25px 100px;background-position:62% center}.hero h1{font-size:43px;margin:24px 0}.hero p{font-size:14px}.hero .eyebrow{font-size:9px;letter-spacing:2px}.hero-cta{font-size:13px;padding:12px 20px}.hero-caption{font-size:8px;letter-spacing:1px}.collection{padding:40px 20px 60px}.collection h2{font-size:25px}.collection-count{font-size:28px}.collection-count small{font-size:9px}.searchbar{padding-left:12px;gap:5px;flex-wrap:nowrap}.searchbar input{min-width:0;padding:10px 5px;font-size:12px}.searchbar button{font-size:11px;padding:11px;white-space:nowrap}.tabs{gap:15px}.tabs button{font-size:12px}.tabs small{margin-left:5px}.grid.single .resource-card{display:flex}.grid.single .cover{height:310px;min-height:0}.grid.single .card-copy{padding:25px}.grid.single h2{font-size:23px}.layout{display:block}.reading{padding:25px 19px}.reading>#content>h2{font-size:24px}.content{font-size:17px}.panel{padding:22px}.admin-page .toolbar h1{font-size:28px}footer{flex-direction:column;padding:25px 20px;gap:8px}footer small{align-self:flex-start;font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.admin-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.admin-heading h1{font-size:38px;margin:12px 0}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:28px}.admin-stats .panel{display:flex;justify-content:space-between;align-items:center}.admin-stats strong{font-size:32px;font-weight:500}.admin-resource{display:flex;align-items:center;gap:20px;padding:22px 0;border-top:1px solid var(--line)}.admin-thumbnail{width:55px;height:72px;flex:none;background:#edf2f3;border-radius:5px;display:grid;place-items:center}.admin-thumbnail img{max-width:100%;max-height:100%;object-fit:contain}.admin-resource-info{flex:1;min-width:0}.admin-resource-info strong{display:block;overflow-wrap:anywhere}.admin-resource-info small{display:block;margin-top:6px}.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-actions button,.admin-actions a{font-size:12px;padding:8px 13px}.login-panel{max-width:500px;margin:40px auto}.editor-dialog{width:min(1100px,94vw);max-height:92vh;padding:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#fff;box-shadow:0 25px 100px #10293544}.editor-dialog::backdrop{background:#10293599;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:3}.dialog-heading h2{margin:7px 0 0;font-size:25px}.dialog-body{padding:30px 32px}.form label,.chapter-form>label{display:grid;gap:7px;font-size:13px;font-weight:550}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.metadata-form textarea{min-height:90px}.cover-editor{display:flex;gap:25px;align-items:center}.cover-editor>div:last-child{flex:1}.cover-editor p{font-size:12px}#cover-preview{width:120px;height:150px;display:grid;place-items:center;flex:none;background:#edf2f3;font-size:12px;color:var(--muted);border-radius:6px}#cover-preview img{max-height:100%;max-width:100%;object-fit:contain}.editor-savebar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 0 0;margin-top:16px;border-top:1px solid var(--line);font-size:12px}.chapter-manager{margin-top:36px;border-top:1px solid var(--line);padding-top:28px}.chapter-row{display:flex;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.chapter-row strong{flex:1;min-width:0;font-size:14px}.chapter-number{font-size:12px;color:var(--muted)}.editor-controls{display:flex;align-items:center;justify-content:space-between;margin:25px 0 15px;font-size:12px}.editor-controls button{padding:8px 14px;font-size:12px}.ql-toolbar.ql-snow{border-color:var(--line);border-radius:6px 6px 0 0;padding:12px;background:#f7f9fa}.ql-container.ql-snow{border-color:var(--line);border-radius:0 0 6px 6px;font:16px/1.9 system-ui,sans-serif}.ql-editor{min-height:400px;max-height:58vh;overflow:auto;padding:24px}.ql-editor img{max-width:100%;height:auto}.ql-toolbar button{padding:3px;border-radius:0;background:transparent;display:inline-block;color:inherit}.ql-toolbar button:disabled{opacity:.4}.ql-toolbar select{width:auto;padding:0}.ql-tooltip input{width:auto}.ql-editor h1{font-size:28px}.ql-editor h2{font-size:23px}.ql-editor p{margin:0}.ql-toolbar .ql-picker{font-size:13px}#body-preview{padding:25px;border:1px solid var(--line);border-radius:6px;min-height:400px}#body-preview img{max-width:100%}.answer:not(:empty){margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:650px){.admin-heading{align-items:flex-start}.admin-heading h1{font-size:28px}.admin-heading p{font-size:12px}.admin-stats{gap:10px}.admin-stats .panel{padding:15px;display:block}.admin-stats strong{display:block}.admin-resource{flex-wrap:wrap;gap:12px}.admin-actions{width:100%;justify-content:flex-end}.chapter-row{flex-wrap:wrap}.chapter-row .admin-actions{width:100%}.editor-dialog{width:96vw;max-height:95vh}.dialog-heading{padding:18px}.dialog-body{padding:20px 16px}.field-pair{grid-template-columns:1fr;gap:15px}.cover-editor{align-items:flex-start;gap:15px}#cover-preview{width:85px;height:115px}.editor-savebar{align-items:flex-start;flex-direction:column}.editor-savebar button{width:100%}.ql-editor{padding:18px;min-height:340px}.ql-toolbar.ql-snow{padding:8px}.ql-toolbar .ql-formats{margin-right:8px!important}}
.pdf-reading-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:15px 0;margin-bottom:20px;border-bottom:1px solid var(--line);font-size:12px}.pdf-reading-controls button{padding:8px 13px;font-size:12px}.pdf-reading-controls button.active{background:var(--green);color:white}.pdf-reading-controls small{margin-left:auto}.pdf-page{margin:30px 0 45px}.pdf-page-label{font-size:11px;color:var(--muted);letter-spacing:1px;padding-bottom:10px;border-bottom:1px solid var(--line)}.pdf-reader .pdf-text{display:none}.pdf-reader.pdf-text-mode .pdf-text{display:block}.pdf-reader.pdf-text-mode .pdf-original{display:none}.pdf-original{margin:15px 0}.content .pdf-original img{width:100%;margin:0;border:1px solid #eef0f1}.pdf-text p{margin:1em 0}.pdf-reader .content{line-height:2}@media(max-width:600px){.pdf-reading-controls small{width:100%;margin:0}.pdf-reader:not(.pdf-text-mode) .pdf-original{margin-left:-15px;margin-right:-15px}}
/* PDF books are read as flowing text; original pages are optional source links. */
.pdf-reflow-page{margin:0 0 28px}.pdf-source-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 20px;padding-bottom:8px;border-bottom:1px solid var(--line);font:11px/1.6 system-ui,sans-serif;color:#8a98a0}.pdf-source-link{color:#7d8e98;font-size:11px}.pdf-reflow-page h3{font-size:21px;margin:30px 0 16px;font-weight:600;color:var(--ink)}.pdf-reflow-page p{margin:1em 0;text-align:start;overflow-wrap:anywhere}.pdf-reflow-page .muted{font-size:13px}.content:has(.pdf-reflow-page){max-width:760px;margin:0 auto;line-height:2.05}.content:has(.pdf-reflow-page) p{letter-spacing:.02em}@media(max-width:600px){.pdf-reflow-page h3{font-size:20px}.pdf-source-row{margin-top:25px}.content:has(.pdf-reflow-page){font-size:17px;line-height:1.95}}
.book-editorial{max-width:760px;margin:auto;font-size:18px;line-height:2.05;color:#344a57}.book-editorial>h3{font-size:25px;font-weight:600;line-height:1.5;color:var(--ink);margin:52px 0 22px;padding-top:10px}.book-editorial>h3:first-child{margin-top:5px}.book-editorial>p{margin:0 0 22px;letter-spacing:.02em}.book-figure{margin:35px auto 42px;padding:22px;background:#f8fafb;border:1px solid #e6ecef;border-radius:8px;text-align:center}.content .book-figure img{display:block;max-height:650px;max-width:100%;width:auto;height:auto;margin:0 auto 15px;object-fit:contain}.book-figure figcaption{max-width:650px;margin:auto;color:#71828c;font-size:13px;line-height:1.85;text-align:left}.compact-figure{max-width:380px}.book-equations{padding:25px 28px;margin:32px 0;background:#eff5f6;border-left:3px solid var(--green);border-radius:5px}.book-equations h3{font-size:20px;margin:0 0 15px}.book-equations p{font-size:16px;margin:12px 0;line-height:1.8}.section-links{margin:0 0 32px;padding:18px 22px;border:1px solid var(--line);background:#f7f9fa;border-radius:6px}.section-links summary{font-size:13px;font-weight:600;cursor:pointer}.section-links a{display:block;padding:5px 0;font-size:13px}.book-editorial h3{scroll-margin-top:25px}@media(max-width:600px){.book-editorial{font-size:17px;line-height:1.95}.book-editorial>h3{font-size:22px;margin-top:38px}.book-figure{padding:12px;margin:28px 0}.book-figure figcaption{font-size:12px}.book-equations{padding:18px}.book-equations p{font-size:14px}}
/* Persistent reading tools and site-wide discovery */
header{position:relative;z-index:20;gap:24px}.global-search-container{position:relative;flex:1;max-width:410px}#global-search{display:flex;align-items:center;background:#f4f7f8;border:1px solid var(--line);border-radius:7px}#global-search input{border:0;background:transparent;font-size:13px;padding:10px 14px;min-width:0}#global-search button{background:transparent;color:var(--ink);font-size:24px;padding:3px 12px}#search-suggestions{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;box-shadow:0 15px 40px #18394d20;max-height:380px;overflow:auto;z-index:100}#search-suggestions>a{display:block;padding:10px;border-bottom:1px solid var(--line);font-size:13px}#search-suggestions small{display:block;font-size:10px;margin-top:4px}.suggest-all{font-weight:600}.suggest-term{display:inline-block;font-size:11px;padding:7px 9px;margin:8px 5px 0 0;background:#edf3f5;border-radius:4px}.related-terms{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 28px;font-size:12px}.related-terms button{font-size:12px;padding:6px 11px}mark{background:#fff0bf;color:#174657;border-radius:3px;padding:0 2px}.reader-page .reading{padding-top:0;overflow:visible}.reading-bar{position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fffffffa;backdrop-filter:blur(12px);margin:0 -60px 32px;padding:20px 60px;border-bottom:1px solid var(--line);box-shadow:0 5px 15px #1e3c4e05}.reading-bar>div{min-width:0}.reading-bar small{font-size:10px;letter-spacing:2px}.reading-bar h2{font-size:23px;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}.reading-bar>button{font-size:12px;padding:10px 14px;white-space:nowrap}.reading-bar #pinned-section{font-size:12px;color:var(--muted);display:block;line-height:1.6}.reading-bar #pinned-section:empty{display:none}.reader-page .toc{top:16px;max-height:calc(100vh - 32px)}.heading-selected{background:#edf4f5;box-shadow:-5px 0 0 var(--green);padding-left:12px}.section-links a.active{font-weight:600;color:var(--ink)}.content h1,.content h2,.content h3,.content h4{scroll-margin-top:160px;cursor:pointer}#assistant-launch{position:fixed;right:28px;bottom:25px;z-index:50;border-radius:28px;padding:15px 23px;box-shadow:0 7px 25px #17384830;font-size:14px}#reading-assistant{position:fixed;top:18px;right:18px;bottom:18px;width:420px;z-index:70;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 15px 70px #102d4533;overflow:hidden}.assistant-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.assistant-heading small{font-size:9px;letter-spacing:1px}.assistant-heading h2{font-size:21px;margin:5px 0 0}.assistant-heading button{padding:7px 12px;font-size:20px}.assistant-tools{display:flex;gap:8px;padding:12px 16px}.assistant-tools select{font-size:12px;padding:8px;min-width:0}.assistant-tools button{font-size:11px;padding:7px 10px;white-space:nowrap}#chat-service-state{margin:0 16px 10px;font-size:11px;color:var(--muted)}.assistant-context{margin:0 16px 12px;background:#f2f6f7;border-radius:6px;padding:10px 12px}.assistant-context strong{display:block;font-size:11px;font-weight:550;max-height:44px;overflow:auto}.assistant-context small{display:block;font-size:10px;margin-top:4px}#chat-selection{font-size:11px;line-height:1.6;margin-top:8px;padding-top:8px;border-top:1px solid var(--line);max-height:80px;overflow:auto}.assistant-prompts{display:flex;flex-wrap:wrap;gap:6px;margin:0 16px 10px}.assistant-prompts button{font-size:10px;padding:6px 9px}#deep-chat-host{flex:1;min-height:150px;overflow:hidden}.chat-bottom{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);gap:8px}.chat-bottom button{font-size:10px;padding:6px 8px}.assistant-open #assistant-launch{display:none}@media(min-width:1250px){.assistant-open .reader-page{max-width:calc(100% - 450px);margin-left:0;padding-left:35px;padding-right:28px}.assistant-open .reader-page .layout{grid-template-columns:220px minmax(0,1fr);gap:24px}.assistant-open .reader-page .reading{padding-left:28px;padding-right:28px}.assistant-open .reading-bar{margin-left:-28px;margin-right:-28px;padding-left:28px;padding-right:28px}}@media(max-width:1000px){header{gap:16px}.global-search-container{max-width:280px}.reading-bar{margin-left:-35px;margin-right:-35px;padding-left:35px;padding-right:35px}}@media(max-width:650px){header{height:auto;min-height:78px;flex-wrap:wrap;padding:16px 18px;gap:12px}.global-search-container{order:3;max-width:none;flex-basis:100%}header nav{margin-left:auto}.brand{flex:none}.reading-bar{margin-left:-19px;margin-right:-19px;padding:14px 19px;gap:10px}.reading-bar h2{font-size:18px}.reading-bar>button{font-size:10px;padding:8px 10px}.reader-page .reading{padding-top:0}.reader-page .toc{position:static;max-height:300px}.reading-bar #pinned-section{font-size:11px}.book-heading h1{font-size:26px;line-height:1.45}#reading-assistant{inset:10px;width:auto;border-radius:12px;max-height:calc(100dvh - 20px)}.assistant-open{overflow:hidden}#assistant-launch{right:18px;bottom:18px;padding:12px 18px;font-size:12px}.related-terms{gap:6px}.assistant-heading{padding:14px 16px}.assistant-context{margin-bottom:8px}.assistant-tools{padding-top:8px}.assistant-prompts{margin-bottom:6px}#deep-chat-host{min-height:120px}}
/* Keep the pinned title readable without consuming a phone screen. */
.reading-bar h2,.reading-bar #pinned-section{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ai-config-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;align-items:start}.ai-config-layout .form label{gap:8px}.ai-config-badge{padding:10px 15px;background:#f5efe1;color:#81612b;border-radius:8px;white-space:nowrap}.ai-config-badge.ready{background:#e8f4ec;color:#287344}.ai-check{display:flex!important;flex-direction:row!important;align-items:center}.ai-check input{width:auto!important}.ai-test-result{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f5f6;border-radius:8px;padding:18px;margin:18px 0;min-height:100px}.ai-test-result.success{background:#e8f4ec;color:#286343}@media(max-width:800px){.ai-config-layout{grid-template-columns:1fr}.ai-config-layout .admin-actions{flex-wrap:wrap}}
/* Streaming chat workspace and enlarged reading mode. */
.assistant-window-actions{display:flex;align-items:center;gap:8px}.assistant-window-actions button{font-size:12px;padding:8px 10px}.assistant-context summary{font-size:12px;font-weight:600;cursor:pointer;overflow-wrap:anywhere}.assistant-context small{display:block;margin-top:7px}.assistant-context #chat-clear-selection{font-size:11px;padding:4px 8px;margin-top:6px}.assistant-context #chat-selection{max-height:90px;overflow:auto}.chat-bottom{flex-direction:column;align-items:stretch;gap:8px}.chat-utility-actions{display:flex;flex-wrap:wrap;gap:6px}.chat-utility-actions button{font-size:11px;padding:6px 9px}#reading-assistant.expanded{inset:20px;width:auto;max-height:calc(100dvh - 40px);box-shadow:0 0 0 100vmax #102d4570,0 15px 70px #102d4533}.assistant-maximized{overflow:hidden}#reading-assistant.expanded #deep-chat-host{width:min(100%,1100px);align-self:center}#reading-assistant.expanded .assistant-prompts,#reading-assistant.expanded .assistant-context,#reading-assistant.expanded .chat-bottom{padding-left:max(20px,calc((100% - 1100px)/2));padding-right:max(20px,calc((100% - 1100px)/2))}#reading-assistant.expanded .assistant-tools{justify-content:flex-start}#reading-assistant.expanded .assistant-tools select{max-width:520px}#reading-assistant.expanded .assistant-heading{padding:18px 24px}@media(max-width:700px){#reading-assistant.expanded{inset:0;border-radius:0;max-height:100dvh}.assistant-heading h2{font-size:18px}.assistant-window-actions{gap:4px}.assistant-window-actions button{padding:7px}.chat-bottom{padding:10px 14px}.assistant-context{padding:10px 14px}.assistant-prompts{padding:8px 12px}#reading-assistant.expanded .assistant-heading{padding:14px}#reading-assistant.expanded .assistant-context,#reading-assistant.expanded .assistant-prompts,#reading-assistant.expanded .chat-bottom{padding-left:14px;padding-right:14px}}
/* Bound chrome separately so the message list and composer always get space. */
#reading-assistant{box-sizing:border-box;max-height:none;max-width:none;min-width:0;min-height:0;isolation:isolate}
#reading-assistant .assistant-heading{flex:0 0 auto;min-width:0;padding:12px 16px;cursor:grab;touch-action:none;user-select:none;gap:8px}
#reading-assistant .assistant-heading>div:first-child{min-width:0}
#reading-assistant .assistant-heading h2{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#reading-assistant .assistant-heading small{font-size:8px}
#reading-assistant .assistant-window-actions{flex-shrink:0}
#reading-assistant .assistant-window-actions button{padding:6px 8px;font-size:12px}
#reading-assistant.moving .assistant-heading{cursor:grabbing}
#reading-assistant .assistant-top{flex:0 1 auto;min-height:0;max-height: min(190px,30%);overflow:auto;overscroll-behavior:contain}
#reading-assistant #deep-chat-host{position:relative;flex:1 1 0;min-height:0;width:100%;align-self:stretch;overflow:hidden}
#reading-assistant #deep-chat-host>deep-chat{position:absolute;inset:0;display:block;max-width:100%;max-height:100%}
#reading-assistant .chat-bottom{flex:0 0 auto;min-width:0;padding:8px 12px;gap:5px}
#reading-assistant .assistant-context summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#reading-assistant .assistant-context{margin-bottom:6px}
#reading-assistant .assistant-prompts{padding:0}
#reading-assistant.expanded{max-height:none}
#reading-assistant.expanded #deep-chat-host{width:100%;align-self:stretch}
#reading-assistant.expanded .assistant-context,#reading-assistant.expanded .assistant-prompts,#reading-assistant.expanded .chat-bottom{padding-left:12px;padding-right:12px}
#reading-assistant.compact .assistant-top{max-height:100px}
.chat-resize{position:absolute;z-index:90;touch-action:none}
.chat-resize-e{right:0;top:65px;bottom:18px;width:6px;cursor:ew-resize}
.chat-resize-s{bottom:0;left:0;right:18px;height:6px;cursor:ns-resize}
.chat-resize-se{right:0;bottom:0;width:20px;height:20px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 55%,#91a6ad 56%,#91a6ad 61%,transparent 62%,transparent 72%,#91a6ad 73%,#91a6ad 78%,transparent 79%)}
#reading-assistant.expanded .chat-resize{display:none}
@media(max-height:460px){#reading-assistant .assistant-top{max-height:65px}#reading-assistant .assistant-heading{padding:7px 12px}#reading-assistant .assistant-heading small{display:none}#reading-assistant .chat-bottom{padding:5px 10px}#reading-assistant #chat-save-state{display:none}}
/* Members, chapter discussion and anchored notes. */
#member-menu{font-size:12px;padding:7px 12px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-dialog{width:min(600px,94vw);max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#fff;overflow:auto}.community-dialog::backdrop{background:#10293590}.community-dialog .dialog-heading h2{font-size:22px}.community-dialog .form label{display:grid;gap:7px;font-size:14px}.community-dialog input,.community-dialog textarea,.community-dialog select{width:100%;border:1px solid var(--line);border-radius:6px;padding:10px;font:inherit}.community-dialog textarea{min-height:110px}.community-dialog .form{display:grid;gap:16px}.community-dialog #member-error,.community-error{color:#a44336;font-size:13px;overflow-wrap:anywhere}.member-password{margin:24px 0}.member-password summary{cursor:pointer}.member-password form{margin-top:14px}.community-section{border-top:1px solid var(--line);margin-top:40px;padding-top:28px}.community-section h3{font-size:22px;margin:0}.annotation-toolbar,.comments-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.annotation-toolbar>div{flex:1}.annotation-toolbar small{display:block;font-size:12px;color:var(--muted);margin-top:8px}.annotation-toolbar button,.comments-heading button{font-size:12px;padding:8px 12px}.comments-heading{margin-top:32px}.comments-heading h3{flex:1}.comments-heading span{font-size:12px;color:var(--muted)}.reader-comment,.reader-note{padding:18px 0;border-bottom:1px solid var(--line);font-size:14px;scroll-margin-top:170px}.reader-comment p,.reader-note p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:12px 0}.comment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.comment-meta strong{font-size:13px}.comment-meta time,.comment-meta small{font-size:11px;color:var(--muted)}.reader-note blockquote,.annotation-quote{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid #e3bf6f;background:#fff7df;padding:12px 16px;margin:12px 0;font-size:13px;max-height:180px;overflow:auto}.reader-note.note-selected{background:#fff7df;border-radius:6px}.community-section .admin-actions{justify-content:flex-start}.community-section #comment-login{font-size:13px;color:var(--muted)}#comment-reply{font-size:12px;padding:10px 14px;background:#edf4f5;border-radius:6px}mark.reader-annotation{background:#fff0ad;color:inherit;border-bottom:2px solid #d6a847;cursor:pointer}mark.reader-annotation:focus-visible{outline:2px solid #175b6f}.selection-annotation-button{position:fixed;bottom:22px;left:24px;z-index:55;padding:12px 18px;box-shadow:0 6px 25px #102d4530;border-radius:24px;font-size:13px}.content .annotated-image{position:relative;display:block;width:fit-content;max-width:100%;margin:24px auto;line-height:0}.content .annotated-image>img{display:block;margin:0;max-width:100%;height:auto}.content .annotation-image-box{position:absolute;min-width:0;min-height:0;margin:0;padding:2px;border:2px solid #d99c2c;border-radius:3px;background:#ffe09d35;color:#825911;font:12px/1 system-ui;text-align:left;overflow:hidden;z-index:2}.image-annotation-mode img{outline:3px dashed #1f7283;outline-offset:3px;cursor:crosshair}.image-annotation-mode .annotation-image-box{pointer-events:none}.annotation-dialog{width:min(850px,94vw)}.annotation-canvas{position:relative;display:block;width:fit-content;max-width:100%;margin:auto;line-height:0;touch-action:none;cursor:crosshair}.annotation-canvas img{display:block;max-width:100%;max-height:55dvh;height:auto;width:auto;user-select:none;pointer-events:none}.annotation-draft-box{position:absolute;border:2px solid #d99c2c;background:#ffe09d45;pointer-events:none}.member-table{overflow:auto}.member-table table{width:100%;min-width:620px}.member-table th,.member-table td{padding:14px;border-bottom:1px solid var(--line);font-size:13px}.member-table td small{display:block;color:var(--muted);margin-top:5px}.member-table select{min-width:100px;font-size:12px;padding:7px}.member-table button{font-size:11px;padding:7px 10px;margin:3px}@media(max-width:700px){.community-dialog .dialog-heading{padding:16px}.community-dialog .dialog-body{padding:20px 16px}.community-section h3{font-size:19px}.annotation-toolbar>div{flex-basis:100%}#member-menu{max-width:115px}.selection-annotation-button{left:12px;bottom:12px;font-size:12px}.reader-comment .admin-actions,.reader-note .admin-actions{width:auto}.comment-meta{gap:6px}}
.reading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.reading-actions button{font-size:12px;padding:8px 11px;white-space:nowrap}@media(max-width:700px){.reading-actions{flex-direction:column;gap:5px}.reading-actions button{font-size:10px;padding:6px 8px}}

/* Responsive embedded video and editor preview. */
.video-section{margin:0 0 24px}.video-player{width:100%;aspect-ratio:16/9;background:#101b23;border-radius:12px;overflow:hidden}.video-player iframe,.video-player video{width:100%;height:100%;display:block;border:0;object-fit:contain}.video-section>p{font-size:13px;margin-top:10px}.video-import{padding:16px;border:1px solid var(--border,#dbe4e8);border-radius:12px}.video-import[hidden]{display:none}.video-import .video-section{max-width:640px;margin-bottom:0}.video-import [role=status]{font-size:14px}

/* Reader preferences and personal library. */
.reader-tools{padding:14px 0 18px;border-bottom:1px solid var(--line);margin-bottom:20px}.reading-preferences,.reading-progress-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.reading-preferences button,.reading-progress-tools button{padding:7px 11px;font-size:13px}.reading-preferences label{display:flex;align-items:center;gap:7px;font-size:13px;margin:0}.reading-preferences select{width:auto;padding:6px 10px}.reading-progress-tools{margin-top:10px;font-size:12px;color:var(--muted)}.reading .content{font-size:var(--reading-font-size,18px)}.library-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.library-card-actions .button,.library-card-actions button{font-size:13px;padding:7px 11px}.member-filter-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.member-filter-toolbar input{flex:1;min-width:160px}.member-filter-toolbar select{width:auto}.member-table tr[hidden]{display:none}.assistant-tools{flex-wrap:wrap}
body[data-reading-theme="sepia"] .reader-page .reading{background:#f5eedc;color:#403529}body[data-reading-theme="sepia"] .reader-page .reading-bar{background:#f5eedc}body[data-reading-theme="night"] .reader-page .reading{background:#17242b;color:#e1e9e8;--muted:#aebebb;--line:#395158}body[data-reading-theme="night"] .reader-page .reading-bar{background:#17242b;color:#e1e9e8;border-color:#395158}body[data-reading-theme="night"] .reader-page .reading a{color:#8ed3c3}body[data-reading-theme="night"] .reader-page .reading .muted,body[data-reading-theme="night"] .reader-page .reading small{color:#aebebb}body[data-reading-theme="night"] .reader-page .reading .section-links,body[data-reading-theme="night"] .reader-page .reading .reader-note,body[data-reading-theme="night"] .reader-page .reading .comment-item{background:#20343b;color:#e1e9e8}body[data-reading-theme="night"] .reader-page .reading input,body[data-reading-theme="night"] .reader-page .reading textarea,body[data-reading-theme="night"] .reader-page .reading select{background:#20343b;color:#e1e9e8;border-color:#395158}@media(max-width:700px){header nav{gap:10px;flex-wrap:wrap}.reading-preferences{gap:6px}.member-filter-toolbar select{width:100%}.library-card-actions .button{max-width:100%;overflow-wrap:anywhere}.reader-tools{margin-bottom:14px}}
.reading .book-editorial{font-size:inherit;color:inherit}body[data-reading-theme="night"] .reader-page .reading{--ink:#e1e9e8}body[data-reading-theme="night"] .reader-page .reading .secondary{background:#314951;color:#e1e9e8}body[data-reading-theme="night"] .reader-page .reading .reader-note blockquote{background:#344b55;color:#e1e9e8}body[data-reading-theme="night"] .reader-page .reading mark{color:#253740}@media(max-width:700px){header{height:auto;min-height:88px;flex-wrap:wrap;padding:14px 18px;gap:12px}header nav{margin-left:auto;justify-content:flex-end}header .global-search-container{order:3;flex-basis:100%;max-width:none}}
/* Calm reading layout: compact navigation, modal settings, mobile directory. */
.reader-page .layout{grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}
.reader-page .reading,.assistant-open .reader-page .reading{padding:0 36px 36px;min-width:0}
.reader-page .reading-bar,.assistant-open .reader-page .reading-bar{margin:0 -36px 24px;padding:12px 24px;gap:12px;align-items:center}
.reader-page .reading-bar>div:first-of-type{flex:1;min-width:0}
.reader-page .reading-bar small{display:none}
.reader-page #pinned-title{font-size:18px;line-height:1.45;margin:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reader-page #pinned-section{font-size:12px;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.reader-page #pinned-section:empty{display:none}
.reader-page .reading-actions{flex-direction:row;flex-shrink:0;gap:6px}
.reader-page .reading-actions button{min-height:40px;padding:8px 10px;font-size:12px}
.reader-page .content{line-height:1.95;overflow-wrap:anywhere}
.reader-page .book-editorial{max-width:720px;margin:auto;line-height:1.95}
.reader-page .content p{margin:0 0 1.35em;text-align:left}
.reader-page .content h2,.reader-page .content h3{line-height:1.5}
.reader-page .content img{max-width:100%;height:auto}
.reader-page .content table{display:block;max-width:100%;overflow-x:auto}
.reader-page .content pre{white-space:pre-wrap;overflow-wrap:anywhere}
.reader-page .chapter-nav{gap:16px;margin-top:40px}
.reader-page .chapter-nav a{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.reader-settings,.reader-directory{border:0;border-radius:20px;width:min(520px,calc(100vw - 32px));max-height:85dvh;padding:24px;color:#243b45;background:#fff;box-shadow:0 24px 80px #102c3d55;overflow:auto}
.reader-settings::backdrop,.reader-directory::backdrop{background:#102c3d80;backdrop-filter:blur(3px)}
.reader-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.reader-sheet-heading h2{font-size:20px;margin:0}
.reader-settings .reader-tools{margin:0;padding:0;border:0}
.reader-settings .reading-preferences{gap:12px}
.reader-settings button,.reader-settings select,.reader-directory button{min-height:44px}
.reader-settings .reading-progress-tools{margin-top:24px;gap:12px}
.reader-settings #reading-progress-state{flex-basis:100%}
.reader-directory-links>strong{display:none}
.reader-directory-links a{display:block;padding:14px 12px;border-bottom:1px solid #e4ecec;line-height:1.6;color:#314b56}
.reader-directory-links a.current{background:#e6f3ef;color:#126452;border-radius:8px;font-weight:600}
@media(max-width:760px){
 body:has(.reader-page)>header{min-height:60px;padding:12px 16px}
 body:has(.reader-page)>header .global-search-container{order:3;width:100%;flex-basis:100%}
 body:has(.reader-page)>header nav{gap:10px;font-size:12px}
 .reader-page.inner-page{padding:0 0 80px;max-width:100%}
 .reader-page .book-heading{padding:20px 20px 8px;margin:0}
 .reader-page .book-heading h1{font-size:22px;line-height:1.5;margin:12px 0 8px}
 .reader-page .book-heading p{font-size:12px;margin-bottom:16px}
 .reader-page .layout,.assistant-open .reader-page .layout{display:block}
 .reader-page #toc{display:none!important}
 .reader-page .reading,.assistant-open .reader-page .reading{border:0;border-radius:0;padding:0 22px 28px;box-shadow:none}
 .reader-page .reading-bar,.assistant-open .reader-page .reading-bar{margin:0 -22px 24px;padding:10px 12px;gap:8px;flex-wrap:wrap}
 .reader-page .mobile-toc{display:block;margin:0;padding:8px 10px;min-height:40px;font-size:12px;flex-shrink:0}
 .reader-page .reading-bar>div:first-of-type{flex-basis:calc(100% - 85px);width:0}
 .reader-page #pinned-title{font-size:15px}
 .reader-page .reading-actions{display:flex;flex-direction:row;width:100%;justify-content:flex-end;border-top:1px solid #dce7e766;padding-top:6px}
 .reader-page .reading-actions button{flex:1;min-height:36px;padding:6px;font-size:12px}
 .reader-page .content,.reader-page .book-editorial{line-height:1.9;letter-spacing:.015em}
 .reader-page .content h2,.reader-page .content h3{font-size:1.25em;margin-top:1.8em}
 .reader-page .section-links{padding:12px 14px;margin-bottom:24px;font-size:14px}
 .reader-page .chapter-nav{display:flex;justify-content:space-between}
 body:has(.reader-page) #assistant-launch{display:none}
 .reader-directory{margin:0 0 0 auto;width:min(88vw,380px);height:100dvh;max-height:100dvh;border-radius:18px 0 0 18px;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}
 .reader-settings{padding:20px;max-height:80dvh}
 #reading-assistant{border-radius:0!important;max-width:none!important;max-height:none!important;padding-bottom:env(safe-area-inset-bottom)}
 #reading-assistant .assistant-heading{cursor:default;padding:12px 14px;touch-action:auto}
 #reading-assistant .assistant-heading small,#chat-reset,#chat-expand,#reading-assistant .chat-resize{display:none}
 #reading-assistant .assistant-heading h2{font-size:18px}
 #reading-assistant .assistant-context:not([open]){margin:0}
 #reading-assistant .assistant-prompts{display:none}
 #reading-assistant .assistant-tools{flex-wrap:wrap;gap:6px}
 #reading-assistant .assistant-tools select{flex-basis:100%;min-height:40px}
 #reading-assistant .assistant-tools button{min-height:36px;flex:1}
 body.assistant-open:has(.reader-page){overflow:hidden}
}
@media(max-width:380px){.reader-page .reading,.assistant-open .reader-page .reading{padding-left:18px;padding-right:18px}.reader-page .reading-bar,.assistant-open .reader-page .reading-bar{margin-left:-18px;margin-right:-18px}}

/* Keep checkbox controls interactive when styling ordinary text fields. */
.form input[type=checkbox],.form input[type=radio]{appearance:auto;-webkit-appearance:auto;width:20px!important;height:20px;min-width:20px;padding:0;margin:0;flex:none;cursor:pointer;accent-color:var(--green)}
.password-rule-option{min-height:48px;padding:12px 14px;gap:12px!important;border:1px solid var(--line);border-radius:8px;cursor:pointer;user-select:none}
.password-rule-option:has(input:checked){background:#e8f4ec;border-color:#8dbbab}
.password-rule-option:focus-within{outline:2px solid var(--green);outline-offset:2px}
/* Hidden role-gated navigation must stay hidden despite global link styles. */
#admin-entry[hidden]{display:none!important}
