/* Editorial home and persistent navigation. Kept separate from tool workspaces. */
:root{--paper:#f6f5f0;--white:#fffefa;--ink:#25382f;--pine:#294438;--muted:#6e776e;--line:#dddfd5;--institution-gold:#a48a55}
#app{display:grid;grid-template-columns:232px minmax(0,1fr);height:var(--app-height,100dvh);overflow:hidden}
.workspace{height:auto;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
main{padding:25px 32px;min-height:0;min-width:0;overflow:hidden}
.site-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fafaf6;border-right:1px solid var(--line);z-index:35}
.site-brand-row{display:flex;align-items:center;padding:31px 24px 33px;flex-shrink:0}
.site-brand{display:flex;flex-direction:column;gap:9px;min-width:0}
.brand-word{font:32px/1 Georgia,'Times New Roman',serif;letter-spacing:-1.5px;white-space:nowrap;color:#263e32}
.brand-word>span{color:var(--institution-gold)}
.brand-descriptor{font-size:10px;line-height:1.5;letter-spacing:.4px;color:#7b8276}
.side-nav{padding:4px 14px 18px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
.side-group+.side-group{margin-top:27px}
.side-group>p{font-size:10px;line-height:1.5;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;padding:0 13px;margin-bottom:10px;color:#8a9085}
.side-item{position:relative;display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:45px;padding:11px 13px;margin-top:4px;border-radius:5px;color:#5b695e;line-height:1.45;transition:background .15s,color .15s}
.side-item>.icon{width:19px;height:19px;color:#7e8d7c}
.side-item>span{font-size:13px;font-weight:450;flex:1;min-width:0;overflow-wrap:anywhere}
.side-item>small{font-size:10px;line-height:20px;min-width:20px;text-align:center;color:#7e8876;border:1px solid #dce1d4;border-radius:4px}
.side-item:hover{background:#eff1e9;color:#263f31}
.side-item.active{background:#e7ede0;color:#284733}
.side-item.active:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:2px;background:#6f8a55;border-radius:2px}
.side-item.active>span{font-weight:600}.side-item.active>.icon{color:#416442}
.side-footer{margin:0 23px;padding:21px 0 17px;border-top:1px solid var(--line);flex-shrink:0}
.side-footer>p{font:italic 13px/1.6 Georgia,var(--sans);color:#8b917f;margin-bottom:13px}
.side-settings{display:flex;gap:9px;align-items:center;min-height:36px;width:100%;padding:0;color:#74816c;text-align:left}
.side-settings>span{font-size:11px;flex:1;line-height:1.5}.side-settings>.icon{width:16px;height:16px}.side-settings>.icon:last-child{width:12px;height:12px}
.site-topbar{height:64px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 32px;background:#fafaf6;border-bottom:1px solid var(--line);min-width:0}
.site-heading{display:flex;align-items:center;gap:12px;min-width:0}.site-breadcrumb{display:flex;align-items:center;gap:18px;font-size:11px;color:#8b9287;min-width:0}.site-breadcrumb i{color:#c7ccbf;font-style:normal}.site-breadcrumb b{font-weight:500;color:#536450;white-space:nowrap}
.site-tools{display:flex;align-items:center;gap:20px;flex-shrink:0}.site-tools .local-status{display:flex;width:auto;gap:7px;min-height:40px;color:#7c8875;font-size:11px}.site-tools .local-status span{display:inline}.site-tools .local-status.failed{color:#a15d3f}
.site-language{display:flex;align-items:center;gap:9px;padding:0 10px;min-height:37px;border:1px solid #dce0d4;background:#fffefa;border-radius:5px;color:#55684d}.site-language>.icon{width:16px;height:16px}.site-language select{border:0;min-height:36px;max-width:138px;background:transparent;font-size:12px;cursor:pointer}
.site-menu-toggle,.site-menu-close,.site-mobile-brand{display:none}
.site-nav-overlay{position:fixed;inset:0;z-index:34;background:#17291f55;backdrop-filter:blur(2px)}
.institution-home{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:6px 5px 0 0;width:100%;max-width:1520px;align-self:center}
.home-intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:center;padding:4px 0 30px;border-bottom:1px solid var(--line)}
.home-intro-copy{min-width:0}.home-kicker{display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.6;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#7b846e}.home-kicker>i{width:5px;height:5px;border-radius:50%;background:var(--institution-gold)}
.home-intro h1{font:clamp(34px,3.2vw,53px)/1.13 Georgia,'Noto Serif SC','Songti SC','SimSun',serif;letter-spacing:-1.25px;color:#243d30;margin:17px 0 16px;overflow-wrap:anywhere}
:lang(zh) .home-intro h1,:lang(ja) .home-intro h1{font-family:'Microsoft YaHei','Hiragino Sans',var(--sans);font-weight:500;line-height:1.4;letter-spacing:.5px;font-size:clamp(32px,2.8vw,45px)}
.home-intro-copy>p{font-size:14px;line-height:1.85;color:#717969;max-width:520px}
.home-intro-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap;margin-top:23px}
.home-primary,.home-secondary{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:44px;font-size:12px;line-height:1.5;font-weight:500}
.home-primary{padding:12px 19px;background:#294838;color:#f8faef;border-radius:5px;transition:background .15s}.home-primary:hover{background:#3f5c43}.home-primary .icon,.home-secondary .icon{width:17px;height:17px}.home-secondary{padding:8px 0;color:#5e7053;gap:13px}.home-secondary:hover{color:#243d30}
.home-topics{display:flex;gap:22px;flex-wrap:wrap;margin-top:27px}.home-topics>span{display:flex;align-items:baseline;gap:7px;font:10px/1.6 Georgia,serif;color:#a18e66}.home-topics b{font:11px/1.6 var(--sans);color:#7c8473}
.home-photo{margin:0;position:relative;min-width:0;align-self:stretch;min-height:245px;max-height:338px;overflow:hidden;border-radius:5px;background:#e6e0d1}
.home-photo>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:60% 45%}
.home-photo:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#17251c9c);pointer-events:none}
.home-photo figcaption{position:absolute;bottom:21px;left:25px;right:20px;z-index:1;display:flex;flex-direction:column;gap:5px;color:#fffdf3}.home-photo figcaption>span{font:28px/1 Georgia,serif;letter-spacing:-1px}.home-photo figcaption>small{font-size:10px;letter-spacing:.7px;line-height:1.5;color:#eeeadd}
.home-directory{padding:27px 0}.home-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.home-section-heading h2{font:26px/1.3 Georgia,var(--sans);letter-spacing:-.4px;margin-top:5px}.home-section-heading>p{font-size:12px;line-height:1.7;color:#8a9182;max-width:360px;text-align:right}.home-section-heading .home-kicker{font-size:9px}
:lang(zh) .home-section-heading h2,:lang(ja) .home-section-heading h2{font-family:var(--sans);font-size:23px;font-weight:500}
.home-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home-tool{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;padding:19px 20px 15px;background:#fffefa;border:1px solid #dcdfd3;border-radius:6px;transition:background .15s,border-color .15s,box-shadow .15s}
.home-tool:hover{border-color:#a9b69a;background:#fff;box-shadow:0 5px 18px #273c2510}
.home-tool-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;color:#879276}.home-tool-top>span{font-size:9px;letter-spacing:1px;font-weight:500;line-height:1.5}.home-tool-top .icon{width:14px;height:14px}
.home-tool-symbol{width:34px;height:34px;display:grid;place-items:center;background:#e9efdf;color:#6b8251;border-radius:5px;margin-bottom:12px}.home-tool-symbol .icon{width:20px;height:20px}.home-tool-1 .home-tool-symbol{background:#e6ede8;color:#61806e}.home-tool-2 .home-tool-symbol{background:#f1ebdc;color:#9b8659}.home-tool-3 .home-tool-symbol{background:#ece7e8;color:#947981}
.home-tool h3{font:19px/1.25 Georgia,var(--sans);margin-bottom:9px;overflow-wrap:anywhere}.home-tool>p{font-size:12px;line-height:1.8;color:#818875;margin-bottom:20px;overflow-wrap:anywhere}
:lang(zh) .home-tool h3,:lang(ja) .home-tool h3{font-family:var(--sans);font-size:16px;line-height:1.6;font-weight:500}
.home-tool-action{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;margin-top:auto;padding-top:13px;border-top:1px solid #e9eade;font-size:10px;line-height:1.5;font-weight:500;color:#637853}.home-tool-action .icon{width:14px;height:14px}
.home-personal{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;border-top:1px solid var(--line);padding:26px 0}
.home-checkin{padding:22px;background:#eeeee3;border:1px solid #e2e4d7;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0}.home-checkin h2{font:20px/1.4 Georgia,var(--sans);margin:5px 0 7px}.home-checkin p{font-size:11px;line-height:1.65;color:#89917c}.home-checkin>div:first-child{max-width:230px}.home-checkin .home-kicker{font-size:9px}
.home-moods{display:flex;align-items:flex-start;gap:3px;flex:1;max-width:290px;min-width:210px}.home-mood{flex:1;min-width:0;min-height:56px;padding:6px 1px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#8e9f75;border-radius:5px}.home-mood svg{width:29px;height:29px;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.home-mood span{font-size:9px;line-height:1.5;overflow-wrap:anywhere}.home-mood:hover,.home-mood.selected{background:#dde5ca;color:#526b3e}
.home-recent{min-width:0;padding:5px 0}.home-recent-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.home-recent-heading h2{font:20px/1.4 Georgia,var(--sans)}.home-recent-heading>button{display:flex;align-items:center;gap:10px;min-height:32px;font-size:10px;color:#869173}.home-recent-heading .icon{width:12px;height:12px}
:lang(zh) .home-checkin h2,:lang(ja) .home-checkin h2,:lang(zh) .home-recent h2,:lang(ja) .home-recent h2{font-family:var(--sans);font-size:17px;font-weight:500}
.home-recent-item{display:flex;width:100%;align-items:center;gap:11px;border-top:1px solid var(--line);padding:11px 0;text-align:left}.home-recent-item>.icon{width:17px;height:17px;color:#899578}.home-recent-item>.icon:last-child{width:13px;height:13px}.home-recent-item>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.home-recent-item b{font-size:12px;line-height:1.5;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-recent-item small{font-size:10px;color:#8c9482}.home-recent-empty{font-size:12px;line-height:1.8;color:#9aA28c;border-top:1px solid var(--line);padding:18px 0}
.home-footer{display:flex;gap:24px;align-items:center;padding:20px 0 6px;border-top:1px solid var(--line);color:#9a9f8f}.home-footer>span{font:18px/1 Georgia,serif;letter-spacing:-.6px;color:#8b957d}.home-footer>p{font-size:10px;line-height:1.7;flex:1;max-width:720px}.home-footer>a{font-size:9px;line-height:1.5;margin-left:auto;white-space:nowrap}.home-footer>a:hover{text-decoration:underline}
#toast{bottom:24px}
@media(min-width:1600px){main{padding:34px 45px}.home-intro{gap:65px}.home-intro h1{font-size:56px}.home-intro-copy>p{font-size:15px}.home-photo{max-height:370px;min-height:320px}.home-directory{padding-block:33px}.home-tool{padding:25px}.home-tool h3{font-size:22px}.home-tool>p{font-size:13px}}
@media(max-width:1350px){main{padding:23px 26px}.site-topbar{padding-inline:26px}.home-intro{gap:27px}.home-tool{padding:16px}.home-checkin{display:block}.home-moods{margin-top:15px;max-width:none}.home-checkin>div:first-child{max-width:none}.home-intro h1{font-size:39px}}
@media(max-width:1100px){#app{grid-template-columns:minmax(0,1fr)}.site-sidebar{position:fixed;inset:0 auto 0 0;width:min(285px,88vw);height:var(--app-height,100dvh);visibility:hidden;transform:translateX(-100%);transition:transform .2s;box-shadow:9px 0 40px #16221a20}.site-sidebar.is-open{visibility:visible;transform:translateX(0)}.site-brand-row{padding:27px 23px;justify-content:space-between;gap:8px}.brand-word{font-size:30px}.site-menu-close{display:grid;place-items:center;width:36px;height:40px;padding:8px;color:#7d8e70;flex-shrink:0}.site-menu-toggle{display:grid;place-items:center;width:40px;height:40px;padding:8px;margin-left:-8px;color:#607752}.site-mobile-brand{display:block;font:25px/1 Georgia,serif;letter-spacing:-1px}.site-breadcrumb{display:none}.site-topbar{height:62px}.site-tools .local-status span{display:none}.site-tools{gap:14px}.side-nav{padding-inline:17px}.side-footer{margin-inline:26px}.home-intro{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.home-tool-grid{gap:12px}.home-tool h3{font-size:19px}.home-personal{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-tool{padding:20px}.home-tool-top{margin-bottom:14px}.home-tool>p{font-size:13px;max-width:320px}.home-tool h3{font-size:22px}.home-intro h1{font-size:36px}.home-intro{gap:24px}.home-photo{min-height:255px}.home-topics{gap:15px}.home-intro-copy>p{font-size:13px}.home-section-heading>p{max-width:220px}.home-personal{gap:20px}}
@media(max-width:600px){main{padding:22px 19px 16px}.site-topbar{padding:0 19px;height:60px}.site-tools{gap:7px}.site-tools .local-status{display:none}.site-language{padding:0 7px;gap:6px;min-height:36px}.site-language select{font-size:11px;max-width:103px;min-height:34px}.site-language>.icon{width:14px;height:14px}.site-heading{gap:8px}.site-mobile-brand{font-size:23px}.institution-home{padding:2px 3px 0 0}.home-intro{grid-template-columns:minmax(0,1fr);gap:25px;padding-bottom:25px}.home-intro h1{font-size:39px;letter-spacing:-.8px;margin:15px 0}.home-intro-copy>p{font-size:14px;max-width:450px}.home-intro-actions{gap:22px;margin-top:21px}.home-topics{margin-top:22px;gap:21px}.home-photo{min-height:190px;height:190px;max-height:none}.home-photo>img{object-position:60% 54%}.home-photo figcaption{bottom:17px;left:20px}.home-photo figcaption>span{font-size:25px}.home-section-heading{display:block;margin-bottom:17px}.home-section-heading h2{font-size:26px}.home-section-heading>p{text-align:left;max-width:none;margin-top:8px;font-size:12px}.home-directory{padding:25px 0}.home-tool-grid{gap:11px}.home-tool{padding:16px 13px}.home-tool-top>span{font-size:8px;letter-spacing:.5px}.home-tool-top{gap:4px}.home-tool h3{font-size:20px;line-height:1.3}.home-tool>p{font-size:11px;line-height:1.8;margin-bottom:16px}.home-tool-action{font-size:10px;padding-top:11px;gap:5px}.home-tool-symbol{width:30px;height:30px}.home-tool-symbol .icon{width:18px;height:18px}.home-personal{grid-template-columns:minmax(0,1fr);gap:22px;padding:23px 0}.home-checkin{padding:20px}.home-checkin h2{font-size:23px}.home-moods{gap:8px}.home-mood{padding:8px 2px}.home-mood svg{width:31px;height:31px}.home-mood span{font-size:10px}.home-recent-heading h2{font-size:23px}.home-footer{flex-wrap:wrap;gap:10px 18px;padding-top:18px}.home-footer>p{order:3;flex-basis:100%;font-size:10px}.home-footer>span{font-size:20px}.home-footer>a{font-size:9px}:lang(zh) .home-intro h1,:lang(ja) .home-intro h1{font-size:35px}}
@media(max-width:370px){main{padding-inline:14px}.site-topbar{padding-inline:14px}.site-mobile-brand{font-size:21px}.site-heading{gap:5px}.site-language>.icon{display:none}.site-language select{max-width:93px}.home-intro h1{font-size:34px}.home-tool-grid{grid-template-columns:minmax(0,1fr)}.home-tool{padding:19px}.home-tool-top{margin-bottom:11px}.home-tool>p{font-size:13px}.home-tool-action{font-size:11px}.home-topics{gap:15px}.home-primary{gap:17px;padding-inline:15px}}
@media(max-height:650px) and (min-width:1101px){main{padding-block:18px}.site-topbar{height:56px}.site-brand-row{padding:23px 24px}.side-group+.side-group{margin-top:18px}.side-group>p{margin-bottom:7px}.side-item{min-height:40px;padding-block:8px;margin-top:3px}.side-footer{padding-block:13px}.side-footer>p{display:none}.home-intro{gap:30px;padding-bottom:22px}.home-intro h1{font-size:36px;margin:13px 0}.home-intro-copy>p{font-size:13px;line-height:1.75}.home-intro-actions{margin-top:17px}.home-topics{margin-top:19px}.home-photo{min-height:230px;max-height:270px}.home-directory{padding-block:22px}.home-section-heading{margin-bottom:17px}.home-tool-top{margin-bottom:13px}.home-tool-symbol{margin-bottom:10px}.home-tool>p{margin-bottom:15px}:lang(zh) .home-intro h1,:lang(ja) .home-intro h1{font-size:32px}}
@media(max-height:500px){.site-brand-row{padding-block:20px}.side-group+.side-group{margin-top:17px}.side-footer{padding-block:9px}.side-footer>p{display:none}.site-topbar{height:52px}}
/* Short desktop windows retain all four primary destinations in the first view. */
@media(max-height:650px) and (min-width:1101px){
 .site-brand-row{padding-block:18px}.side-group+.side-group{margin-top:14px}.side-group>p{margin-bottom:5px}.side-item{min-height:39px;padding-block:7px}.side-nav{padding-bottom:10px}.side-footer{padding-block:10px}
 .home-intro{padding-top:0;padding-bottom:18px;gap:34px;align-items:center}.home-intro-copy>.home-kicker,.home-topics{display:none}.home-intro h1{font-size:32px;line-height:1.13;margin:0 0 12px}.home-intro-copy>p{font-size:12px;line-height:1.7;max-width:510px}.home-intro-actions{margin-top:15px}.home-primary,.home-secondary{min-height:40px}.home-primary{padding-block:10px}.home-photo{min-height:190px;max-height:215px}.home-photo figcaption{bottom:18px}.home-photo figcaption>span{font-size:26px}
 .home-directory{padding-block:18px}.home-section-heading{margin-bottom:14px;align-items:center}.home-section-heading .home-kicker{display:none}.home-section-heading h2{font-size:24px;margin:0}.home-section-heading>p{font-size:11px}.home-tool{padding:13px 16px}.home-tool-top{margin-bottom:10px}.home-tool-symbol,.home-tool>p{display:none}.home-tool h3{font-size:18px;min-height:45px;margin-bottom:10px}.home-tool-action{padding-top:9px}.home-personal{padding-top:20px}
 :lang(zh) .home-intro h1,:lang(ja) .home-intro h1{font-size:30px;line-height:1.35}:lang(zh) .home-section-heading h2,:lang(ja) .home-section-heading h2{font-size:21px}:lang(zh) .home-tool h3,:lang(ja) .home-tool h3{font-size:16px;min-height:30px}
}
@media(prefers-reduced-motion:reduce){.site-sidebar{transition:none}}
@media print{.site-sidebar,.site-topbar,.site-nav-overlay{display:none!important}}
