/* Selected Library of Light. Shared catalogue behaviour remains in the reading components. */
.site-library .atelier-footer{padding-bottom:40px}.library-utility{padding:34px 0 70px;max-width:1120px}.library-sections{display:flex;gap:30px;border-bottom:1px solid var(--line);padding:24px 0 17px;overflow-x:auto;white-space:nowrap;font-size:12px}.library-sections a{padding-bottom:5px}.library-sections a[aria-current]{color:var(--accent);border-bottom:1px solid var(--accent)}.library-utility .page-heading h1{font-family:var(--serif);font-size:38px;font-weight:500;line-height:1.6}.library-utility .page-heading{margin-bottom:30px}.library-utility .story-card{box-shadow:none;border-radius:3px;padding:27px 30px}.library-utility .story-card h3{font-family:var(--serif);font-size:23px;font-weight:500}.library-utility .story-summary{line-height:2}.library-utility .search-field,.library-utility .search-row select{border-radius:3px}.library-utility .topic-tile,.library-utility .reg-category{border-radius:3px}.library-utility .topic-tile h2{font-family:var(--serif);font-weight:500;font-size:22px}.library-utility .primary{background:var(--ink);border-color:var(--ink)}.library-utility .outline{border:1px solid var(--line);background:var(--surface)}.library-utility .install-card{border-radius:3px}.library-utility .preview-note{font-size:11px}.site-library .long-read{padding-bottom:25px}
.huiyou-portrait{position:relative;display:block;flex-shrink:0;overflow:hidden;isolation:isolate;aspect-ratio:1/1;width:100%;line-height:0}.huiyou-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;max-width:none}.huiyou-portrait .portrait-base{position:relative}.huiyou-portrait .portrait-blink,.huiyou-portrait .portrait-smile{position:absolute;inset:0;opacity:0;pointer-events:none}.portrait-blink{z-index:2;transition:opacity 45ms linear;mask-image:radial-gradient(ellipse 5.7% 3.8% at 36.7% 27.7%,#000 64%,transparent 100%),radial-gradient(ellipse 5.8% 3.8% at 49.7% 31.7%,#000 64%,transparent 100%)}.portrait-smile{z-index:1;transition:opacity 650ms ease;mask-image:radial-gradient(ellipse 14% 12% at 40% 43%,#000 45%,transparent 100%)}.huiyou-portrait.is-blinking .portrait-blink{opacity:1}.huiyou-portrait.is-greeting .portrait-smile{opacity:1}.motion-off .huiyou-portrait .portrait-blink,.motion-off .huiyou-portrait .portrait-smile{opacity:0!important;transition:none}.motion-off .huiyou-portrait{animation:none!important}
.companion-button{padding:5px 14px 5px 5px;gap:9px;min-height:42px}.companion-button .portrait-header{width:31px;height:31px;border-radius:50%;display:block}.portrait-reading{width:70px;border-radius:50%;margin-bottom:15px}.portrait-ending{width:61px;border-radius:50%}.invitation-portrait{width:285px;flex-shrink:0}.portrait-invitation{border-radius:50% 50% 4px 4px;box-shadow:0 15px 40px #29453712}.companion-invitation{gap:55px}.companion-invitation p:not(.overline){max-width:480px;font-size:14px;line-height:2}.companion-invitation small{display:block;margin:14px 0 0}.reading-advisor .portrait-reading{font-size:inherit}.end-conversation .portrait-ending{font-size:inherit}
#companion{width:min(820px,calc(100% - 36px));padding:23px 30px 32px;max-height:92dvh;margin:auto;border-radius:10px;background:#fafbf7;color:#173f3c;overflow:auto;--ink:#173f3c;--muted:#60766d;--accent:#087c76;--line:#d8e0d9;--soft:#edf2ec}.companion-profile{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:start;gap:35px;margin-top:20px}.companion-profile figure{margin:0}.portrait-dialog{border-radius:48% 48% 5px 5px;max-width:330px;margin:auto}.companion-profile figcaption{font-size:13px;margin:20px 0 0;text-align:center;letter-spacing:.5px}.companion-profile figcaption span{font-size:9px;color:var(--muted)}.companion-copy>.overline{font-size:8px;letter-spacing:1.4px;margin-top:7px}#companion h2{font-size:33px;line-height:1.55;margin:13px 0 18px}.companion-intro{font-size:17px;color:var(--ink);line-height:1.85;margin-bottom:15px}.companion-purpose{font-size:12px;color:var(--muted);line-height:1.95;margin-bottom:18px}.companion-context{padding:13px 16px;margin:18px 0}.companion-context strong{font-size:12px}.companion-status{margin-top:22px;padding-top:16px}.companion-note{font-size:11px;line-height:1.85;margin-bottom:15px}.companion-top button{border-radius:50%;border:1px solid var(--line);line-height:1}.companion-top>span{letter-spacing:1.5px}.companion-copy .quiet-button{border-radius:3px;border:1px solid var(--line);background:#fff}
@media(max-width:1000px){.invitation-portrait{width:230px}.companion-invitation{gap:35px}}
@media(max-width:600px){.library-sections{gap:24px;padding-top:18px}.library-utility{padding-top:25px}.library-utility .page-heading h1{font-size:30px}.library-utility .story-card{padding:21px 17px}.library-utility .story-card h3{font-size:20px}.library-utility .topic-tile h2{font-size:19px}.atelier .companion-button{padding:4px;min-width:40px;justify-content:center}.companion-button .portrait-header{width:30px;height:30px;display:block}.invitation-portrait{width:180px;display:block;margin-bottom:28px}.companion-invitation{display:block}.companion-invitation .overline{font-size:8px;letter-spacing:1.6px}.companion-invitation p:not(.overline){font-size:13px}#companion{padding:17px 21px 25px;width:calc(100% - 24px)}.companion-profile{grid-template-columns:1fr;gap:22px;margin-top:20px}.companion-profile figure{display:flex;align-items:center;gap:16px}.portrait-dialog{width:112px;max-width:112px;margin:0;border-radius:50%}.companion-profile figcaption{font-size:13px;text-align:left;margin:0}.companion-copy>.overline{display:none}#companion h2{font-size:28px;line-height:1.5;margin:0 0 12px}#companion h2 br{display:none}.companion-intro{font-size:15px}.companion-intro br{display:none}.companion-purpose{font-size:12px}.companion-status{margin-top:15px}.companion-context{margin:15px 0}.portrait-ending{width:49px}.site-library .atelier-footer>div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.huiyou-portrait .portrait-blink,.huiyou-portrait .portrait-smile{opacity:0!important;transition:none}}

/* A brief silent welcome; text remains fully readable and controls never wait. */
.companion-profile figcaption span{font-size:11px}
@keyframes knowledge-welcome{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
  body:not(.motion-off) #companion[open] .companion-profile figure{animation:knowledge-welcome 550ms ease-out both}
  body:not(.motion-off) #companion[open] .companion-copy{animation:knowledge-welcome 600ms 100ms ease-out both}
}
/* Confirmed original architecture with the selected Knowledge Islands visual. */
.site-restored{--sidebar-width:224px;--paper:#e8f2ed;--teal:#147c76;--gold:#a84c33;--radius:20px;background:var(--ground);min-height:100vh}
.site-restored .site-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:32;display:flex;flex-direction:column;padding:27px 17px 16px;background:#f5faf3;border-right:1px solid #c2d9d0;overflow:auto}
.site-sidebar .wordmark{font-size:25px;gap:9px;white-space:nowrap;letter-spacing:-1.2px}.site-sidebar .emblem{width:32px;height:38px;color:var(--accent);flex-shrink:0}.site-sidebar .sidebar-caption{font-size:8px;letter-spacing:.6px;margin:13px 5px 25px;color:#5b7870;white-space:nowrap}.site-sidebar .sidebar-caption span{margin:0 4px;color:#b85132}
.site-sidebar .nav-link{font-size:14px;min-height:45px;gap:14px;padding:9px 15px;margin-bottom:5px;border-radius:25px 8px 25px 8px;color:#45665f}.site-sidebar .nav-link.active{background:#173f3a;color:#fff;box-shadow:0 4px 10px #173f3a14}.site-sidebar .nav-link.active>span{color:#f6b08d}.site-sidebar .nav-link:hover:not(.active){background:#e1eee6}.site-sidebar .nav-divider{margin:17px 10px}.site-sidebar .sidebar-bottom{padding-top:20px}
.sidebar-seascape{height:105px;border-radius:90px 90px 12px 12px;background:url('islands.png') 81% 52%/340px auto no-repeat;margin:0 9px 15px;box-shadow:inset 0 0 0 1px #ffffff80}.sidebar-advisor{display:flex;gap:10px;align-items:center;width:100%;padding:10px;background:#fffef7;border:1px solid #c9ddd2;border-radius:15px;text-align:left}.sidebar-advisor .portrait-header{width:39px;height:39px;border-radius:50%;flex-shrink:0}.sidebar-advisor strong{display:block;font-size:14px}.sidebar-advisor small{font-size:10px;color:#60786e}.sidebar-advisor>span:last-child{margin-left:auto;color:var(--accent)}.site-sidebar .sidebar-bottom>p{font-size:10px;margin:12px 7px 0}
.site-topbar{margin-left:var(--sidebar-width);height:67px;display:flex;align-items:center;gap:16px;padding:0 30px;border-bottom:1px solid #c4d9cc85;background:#e8f2edf5}.site-topbar-caption{font-size:12px;color:#59786f;margin:0;letter-spacing:.6px}.site-topbar-caption span{padding:0 6px;color:var(--accent)}.site-topbar .head-actions{margin-left:auto;gap:17px}.site-topbar .mobile-access-button{font-size:12px}.site-topbar .companion-button{background:#f8fcf4;border-color:#bad5c6}.site-menu-button,.mobile-wordmark{display:none}.site-nav-backdrop[hidden]{display:none}
.site-main{margin-left:var(--sidebar-width);min-width:0}.site-restored .library-utility{width:auto;max-width:1380px;padding:24px 32px 48px;margin:0 auto}
.site-restored .page-heading{position:relative;isolation:isolate;overflow:hidden;min-height:168px;padding:25px 30px;margin:0 0 20px;border:1px solid #c3ddd3;border-radius:8px 36px 8px 36px;background:#cfebe2}.site-restored .page-heading:before{content:"";position:absolute;inset:0;z-index:-2;background:url('islands.png') 82% 54%/cover no-repeat}.site-restored .page-heading:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#dcf0e9 0%,#dcf0e9ec 27%,#dcf0e960 57%,#dcf0e900 78%)}.site-restored .page-heading>div{max-width:65%}.site-restored .page-heading h1{font-family:var(--serif);font-size:38px;line-height:1.25;font-weight:600;letter-spacing:1px;margin:8px 0 12px}.site-restored .eyebrow{font-size:9px;letter-spacing:2px;color:#295f56}.site-restored .page-intro{color:#355f55;font-size:13px;max-width:440px}.site-restored .ask-top{display:none}
.site-restored .search-row{margin-bottom:13px}.site-restored .search-field{border-radius:30px;border-color:#b9d7c9;background:#fcfef9;padding-left:19px}.site-restored .search-row select{border-radius:25px;background:#fcfef9;border-color:#b9d7c9}.site-restored .primary{border-radius:26px;background:#163f37;border-color:#163f37}.site-restored .primary:hover{background:#a9492d;border-color:#a9492d}.site-restored .topic-filters{gap:7px 5px;margin-bottom:19px;padding:0 0 16px;border-bottom:1px solid #bed6cb}.site-restored .chip{font-size:12px;border:1px solid #c4d9cc;background:#f6faf2;padding:5px 11px;min-height:34px;color:#496e60}.site-restored .chip.selected{background:#174e47;color:white;border-color:#174e47}.site-restored .chip:hover:not(.selected){background:#d4e9df;border-color:#7da897}
.site-restored .focus-card{background:#fffaf0;border:1px solid #dbcbb5;border-left:3px solid #c46746;border-radius:7px 25px 7px 25px;padding:17px 23px;margin:0 0 22px;box-shadow:0 8px 24px #315b4110}.site-restored .focus-label{color:#a74c32;margin-bottom:6px;font-size:11px}.site-restored .status-dot{background:#d87850}.site-restored .focus-card h2{font-family:var(--sans);font-size:20px;line-height:1.5;max-width:none;margin-bottom:6px}.site-restored .focus-card p{font-size:12px;line-height:1.8;margin:0 0 5px;max-width:none;color:#536f64}.site-restored .focus-link{font-size:11px;color:#a74c32}
.site-restored .results-heading{margin:19px 0 14px}.site-restored .results-heading h2{font-family:var(--sans);font-size:20px;font-weight:600}.site-restored .date-heading{margin:18px 0 12px}.site-restored .date-heading h2{font-size:16px}.site-restored .timeline{border-left:1px solid #9fc7b8;padding-left:21px}.site-restored .story-card{border-radius:22px 6px 22px 6px;background:#fcfdf7;border:1px solid #c5dacd;padding:22px 25px 18px;box-shadow:0 4px 18px #2f594405}.site-restored .story-card:before{background:#b95d3e;box-shadow:0 0 0 5px var(--ground)}.site-restored .story-card h3{font-family:var(--sans);font-weight:600;font-size:21px;line-height:1.65;margin:7px 0 10px}.site-restored .story-card h3 a:hover{color:#a74c32}.site-restored .story-summary{font-size:14px;line-height:1.9;color:#526e65}.site-restored .story-meta{font-size:11px;color:#637c72}.site-restored .kind{color:#a25335;background:#f6ece0}.site-restored .recommendation{font-size:12px;border-color:#dce8dc;color:#567565}.site-restored .recommendation>span{color:#6b8277}.site-restored .tag{color:#4a7565;background:#eaf3e7}.site-restored .read-link{color:#a84c33}
.site-restored .topic-tile{border-radius:55px 55px 12px 12px;background:#f8fcf3;padding:28px 25px;border-color:#bfd8ca}.site-restored .topic-tile h2{font-family:var(--sans)}.site-restored .topic-symbol{color:#b75b3e}.site-restored .reg-categories{margin:22px 0}.site-restored .reg-category{border-radius:28px 8px 28px 8px;background:#f8fcf3}.site-restored .reg-category.selected{background:#173f3a;border-color:#173f3a;color:#fff}.site-restored .reg-category.selected span{color:#c1ded0}.site-restored .reg-category strong{font-size:18px}.site-restored .reg-search{margin:22px 0}.site-restored .reg-search label{min-width:125px}.site-restored .reg-source-grid a{background:#f9fcf4}.site-restored .empty-state{background:#f8fbf3;border-radius:22px}.site-restored .reg-story:before{display:none}
.site-restored .atelier-footer{margin-left:var(--sidebar-width);padding:30px 32px 35px;border-color:#bad4c7;background:#dfede3}.site-restored .atelier-footer>div{flex-wrap:wrap}.site-restored .atelier-footer small{font-size:11px}.site-restored .article-world-strip{height:160px;margin:22px 32px 0;border-radius:8px 36px 8px 36px}.site-restored .article-world-strip img{object-position:center 54%}.site-restored .reading-layout{width:auto;margin:0 32px;gap:35px;grid-template-columns:175px minmax(0,1fr)}.site-restored .long-read{min-width:0}.site-restored .long-read-heading h1{font-size:34px}.site-restored .long-read-lead{font-size:16px}.site-restored .read-chapter p{font-size:16px}
@media(min-width:1700px){.site-restored{--sidebar-width:248px}.site-sidebar .wordmark{font-size:28px}.site-sidebar .sidebar-caption{font-size:9px}.site-sidebar .nav-link{font-size:16px;min-height:50px}.sidebar-seascape{height:165px;background-size:430px}.site-restored .page-heading{min-height:185px}.site-restored .page-heading h1{font-size:42px}}
@media(max-width:1100px) and (min-width:761px){.site-restored{--sidebar-width:200px}.site-sidebar .wordmark{font-size:22px}.site-sidebar .sidebar-caption{font-size:7px}.site-topbar{padding:0 23px}.site-topbar-caption{font-size:10px;letter-spacing:0}.site-topbar-caption span{padding:0 2px}.site-restored .library-utility{padding:20px 24px 40px}.site-restored .page-heading{min-height:155px}.site-restored .reg-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.site-restored .reading-layout{grid-template-columns:145px minmax(0,1fr);margin:0 24px;gap:25px}}
@media(max-width:760px){
.site-restored .site-sidebar{display:none;width:235px;top:62px;padding:21px 17px 16px}.site-restored .site-sidebar.open{display:flex}.site-nav-backdrop{position:fixed;z-index:31;inset:62px 0 0;border:0;background:#143e3a55;backdrop-filter:blur(3px)}.site-topbar{margin:0;height:62px;padding:0 13px;gap:10px;position:sticky;top:0;z-index:35;backdrop-filter:blur(15px)}.site-menu-button{display:block;border:1px solid #bcd5c7;background:#f5faf1;min-width:35px;min-height:36px;border-radius:10px;font-size:18px;padding:0}.mobile-wordmark{display:block;font-size:20px;font-weight:600;letter-spacing:-1px}.site-topbar-caption{display:none}.site-topbar .head-actions{gap:9px}.site-topbar .mobile-access-button{padding:8px;min-width:36px;min-height:36px}.site-topbar .mobile-access-button span{display:none}.site-topbar .motion-switch{font-size:10px}.site-topbar .companion-button{padding:3px;min-width:36px;min-height:36px}.site-topbar .companion-button>span:last-child{display:none}.site-topbar .portrait-header{width:27px;height:27px}
.site-main{margin:0}.site-restored .library-utility{padding:15px 16px 35px}.site-restored .page-heading{min-height:125px;padding:18px 20px;margin-bottom:15px;border-radius:7px 27px 7px 27px}.site-restored .page-heading:before{background-position:75% 53%;background-size:auto 340px}.site-restored .page-heading:after{background:linear-gradient(90deg,#dcf0e9 0%,#dcf0e9e0 25%,#dcf0e960 75%,transparent)}.site-restored .page-heading>div{max-width:85%}.site-restored .page-heading h1{font-size:29px;margin:6px 0 8px}.site-restored .page-intro{font-size:12px;line-height:1.7;max-width:265px}.site-restored .eyebrow{font-size:8px;letter-spacing:1.3px}
.site-restored .search-row{margin-bottom:12px}.site-restored .search-field{padding-left:13px}.site-restored .search-field input{font-size:13px}.site-restored .topic-filters{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,35px);grid-auto-columns:max-content;overflow-x:auto;gap:6px;padding-bottom:12px;margin-bottom:15px}.site-restored .chip{padding:5px 11px;font-size:12px}.site-restored .focus-card{padding:15px 17px;margin-bottom:18px}.site-restored .focus-card h2{font-size:18px}.site-restored .focus-card p{font-size:12px}.site-restored .focus-label{font-size:10px}.site-restored .results-heading{margin:17px 0 10px}.site-restored .results-heading h2{font-size:18px}.site-restored .date-heading{margin:14px 0 12px}.site-restored .date-heading h2{font-size:14px}.site-restored .timeline{padding-left:12px}.site-restored .story-card{padding:18px 17px 15px;border-radius:19px 6px 19px 6px}.site-restored .story-card:before{left:-17px}.site-restored .story-card h3{font-size:19px}.site-restored .story-summary{font-size:13px}.site-restored .story-meta{font-size:10px}.site-restored .recommendation{font-size:11px}.site-restored .story-bottom{flex-wrap:wrap}
.site-restored .reg-category{padding:16px;border-radius:22px 6px 22px 6px}.site-restored .reg-category strong{font-size:16px}.site-restored .reg-search{gap:10px}.site-restored .reg-search label{min-width:130px;max-width:100%}.site-restored .reg-search input[type=date]{min-width:0;width:100%}.site-restored .reg-categories{gap:9px}.site-restored .reg-search .search-field{height:47px}.site-restored .topic-tile{padding:23px 17px}.site-restored .topic-tile h2{font-size:16px}.site-restored .atelier-footer{margin:0;padding:28px 20px}.site-restored .article-world-strip{height:105px;margin:15px 16px 0;border-radius:7px 27px 7px 27px}.site-restored .reading-layout{display:block;margin:0 20px;width:auto;padding-top:22px}.site-restored .long-read-heading h1{font-size:27px}.site-restored .long-read-lead{font-size:15px}.site-restored .read-chapter p{font-size:15px}.site-restored .reading-sidebar{margin-bottom:20px}}
@media(max-width:360px){.mobile-wordmark{font-size:18px}.site-topbar{gap:7px;padding:0 10px}.site-topbar .head-actions{gap:6px}.site-topbar .motion-switch{font-size:9px}.site-restored .reg-search label{min-width:110px}}
@media print{.site-sidebar,.site-topbar,.site-nav-backdrop{display:none!important}.site-restored .site-main,.site-restored .atelier-footer{margin:0}.site-restored .page-heading:before,.site-restored .page-heading:after,.article-world-strip{display:none}}/* Keep both navigation and the first reading in view at ordinary laptop sizes. */
.site-restored .atelier-footer{width:auto;max-width:none;margin-right:0}
.site-sidebar .nav-link>span{line-height:1}.site-sidebar .nav-link{height:45px}
.site-restored .topic-filters .chip{line-height:1.4}.site-restored .topic-filters .chip span{line-height:1}
@media(min-width:761px) and (max-width:1699px){.site-topbar{height:60px}.site-restored .library-utility{padding-top:20px}.site-restored .page-heading{min-height:150px;padding:20px 28px;margin-bottom:17px}.site-restored .focus-card{padding:14px 23px;margin-bottom:16px}.site-restored .results-heading{margin-top:15px;margin-bottom:10px}.site-restored .date-heading{margin-top:12px;margin-bottom:10px}}
@media(min-width:1700px){.site-sidebar .nav-link{height:50px}}@media(min-width:761px) and (max-height:850px){.site-restored .site-sidebar{padding-top:20px}.site-sidebar .sidebar-caption{margin-bottom:18px}.site-sidebar .sidebar-bottom{padding-top:12px}.sidebar-seascape{height:70px;margin-bottom:10px}.site-sidebar .sidebar-bottom>p{margin-top:8px}}