:root{font-family:"Segoe UI","Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;color:#19382e;background:#f5f6f1;--bg:#f5f6f1;--ink:#18382e;--deep:#214a39;--green:#2e6248;--muted:#637269;--line:#d9e1d9;--white:#fff;--paper:#fcfdf9;font-size:16px;color-scheme:light}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
button,input,textarea{font:inherit;color:inherit}
button,summary{cursor:pointer;touch-action:manipulation}
button:disabled{cursor:not-allowed;opacity:.55}
button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #619b74;outline-offset:3px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mast,footer{display:flex;align-items:center;justify-content:space-between;width:min(1280px,100%);margin:auto;padding:0 clamp(20px,5.2vw,82px)}
.mast{min-height:76px;flex:none}
.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:650;letter-spacing:-1.25px}
.brand-cn{font-weight:580;font-size:17px;letter-spacing:.02em;margin-left:2px}
.brand-symbol{display:inline-block;width:40px;height:40px;background:url('/shell-assets/junshutong-logo.png') center/contain no-repeat;flex:none}
.web-edition{display:flex;align-items:center;gap:8px;border:1px solid #d8e2d6;padding:6px 12px;border-radius:99px;color:#3f664c;background:#edf2e9;font-size:11px;font-weight:650;letter-spacing:.07em}
.edition-dot{display:inline-block;border-radius:100%;width:7px;height:7px;background:#547c5d}
#landing{flex:1;display:grid;place-items:center;padding:24px clamp(20px,5.2vw,82px)}
.login-card{width:min(100%,1030px);display:grid;grid-template-columns:.98fr 1.02fr;background:var(--paper);border:1px solid #dce3d9;border-radius:25px;overflow:hidden;box-shadow:0 22px 65px -42px #243a2659}
.identity{isolation:isolate;position:relative;display:flex;flex-direction:column;min-width:0;min-height:534px;color:#f4f9ef;padding:clamp(27px,4.2vw,55px);background-color:#214b3b;background-image:radial-gradient(ellipse at 75% 58%,#396d4f 0%,#214b3b 61%,#1c4335 100%);overflow:hidden}
.identity:before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#e2f7cd30 .8px,transparent .9px);background-size:15px 15px;opacity:.3;mask-image:linear-gradient(150deg,transparent 8%,black 78%)}
.kicker{display:flex;align-items:center;gap:9px;color:#48705a;font-size:10px;font-weight:700;line-height:1.3;letter-spacing:.17em}
.kicker.light{color:#cfe8c6;letter-spacing:.19em}
.kicker-line{display:inline-block;width:20px;height:2px;background:#638760}
.mini-bars{height:12px;width:20px;border-left:2px solid #d4eaca;transform:skew(-19deg);background:repeating-linear-gradient(to right,transparent 0 3px,#d4eaca 3px 5px)}
.identity-copy{margin-top:42px;z-index:1}
.identity-copy h1{margin:0;font-size:clamp(40px,4.3vw,62px);font-weight:620;line-height:1.18;letter-spacing:.015em}
.headline-dot{color:#b9e69e;margin-left:4px}
.identity-copy p{color:#e1eddc;margin:14px 0 0;font-size:clamp(16px,1.5vw,21px);letter-spacing:.07em}
.signal{display:block;width:calc(100% + 65px);height:auto;max-height:270px;align-self:center;object-fit:contain;flex:1;min-height:0;margin:2px 0 -4px}
.identity-foot{margin-top:auto;display:flex;align-items:center;gap:11px;font-size:11px;letter-spacing:.13em;color:#d3e5cc}
.identity-foot>span{width:24px;height:1px;background:#aace9a}
.identity-foot i{width:3px;height:3px;background:#b2d59f;border-radius:50%}
.login-section{padding:46px clamp(28px,4.6vw,65px);display:grid;align-items:center}
.login-inner{width:100%;max-width:380px;margin:auto}
.login-inner h2{margin:16px 0 9px;font-size:clamp(26px,2.7vw,37px);line-height:1.2;letter-spacing:-.035em;font-weight:650}
.intro,.field-hint,.signin-note{color:var(--muted);font-size:13px;line-height:1.65}
.intro{margin:0 0 26px}
#login-form{display:flex;flex-direction:column}
#login-form label{font-size:13px;font-weight:640;margin:0 0 8px}
#login-form label[for=password]{margin-top:17px}
input,textarea{min-width:0}
#login-form input,.search{width:100%;border:1px solid #cdd9cf;border-radius:9px;background:#fff}
#login-form input{padding:0 13px;height:43px;font-size:14px}
input::placeholder,textarea::placeholder{color:#738078}
#login-form input:focus,textarea:focus,.search:focus-within{outline:2px solid #608b72;outline-offset:2px}
.password-wrap{position:relative}
#login-form #password{padding-right:49px}
.icon-btn{display:grid;place-items:center;background:transparent;color:var(--muted);border:0;border-radius:7px;width:36px;height:36px;font-size:20px;flex:none}
.icon-btn:hover{background:#e9eee7;color:var(--deep)}
.eye{position:absolute;right:5px;top:4px}
svg{stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round}
.icon-btn svg{width:19px;height:19px}
.slash{display:none}.eye[aria-pressed=true] .slash{display:block}
details{margin:16px 0 19px;font-size:13px}
details summary{width:fit-content;font-weight:600;color:#41634e}
details summary small{font-size:10px;color:#667a68;margin-left:5px;letter-spacing:.04em}
details[open] input{margin-top:10px}
.field-hint{margin:6px 0 0;font-size:11px}
.primary{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--deep);color:white;border:0;border-radius:9px;font-weight:640}
.primary:hover:not(:disabled){background:#163b2b}
.login-submit{position:relative;min-height:44px;font-size:15px}
.login-submit span:last-child{position:absolute;right:16px;font-size:18px}
.signin-note{display:flex;align-items:flex-start;gap:6px;margin:16px 0 0;font-size:11px}
.signin-note svg{width:14px;height:14px;margin-top:2px;flex:none}
.error,.side-status,.room-status{background:#fbefea;color:#8c382d;border-radius:8px;padding:9px 11px;font-size:12px;line-height:1.55}
.error{margin:0 0 12px}
footer{flex:none;min-height:52px;color:#68796e;font-size:10px;letter-spacing:.15em}
footer b{color:#9aa99d;padding:0 3px}
.workspace{flex:1;width:min(1390px,100%);height:calc(100dvh - 76px);max-height:calc(100dvh - 76px);min-height:0;align-self:center;display:grid;grid-template-columns:clamp(260px,28vw,360px) minmax(0,1fr);border:1px solid var(--line);border-bottom:0;border-radius:18px 18px 0 0;overflow:hidden;background:var(--paper)}
.sidebar{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f9fbf7;border-right:1px solid var(--line)}
.side-top{padding:24px 19px 13px}
.side-heading,.chat-head,.account,.compose-foot{display:flex;align-items:center}
.side-heading{justify-content:space-between;margin:7px 0 15px}
.side-heading h1{font-size:24px;line-height:1.35;margin:0;font-weight:650;letter-spacing:-.045em}
.switcher{display:grid;grid-template-columns:1fr 1fr;background:#e9eee7;border:1px solid #dfe6dc;border-radius:10px;padding:3px;gap:2px}
.switcher button{color:#5a6a5d;background:transparent;border:0;border-radius:7px;height:34px;font-size:13px;font-weight:600}
.switcher button[aria-pressed=true]{color:var(--deep);background:#fff;box-shadow:0 1px 4px #213e3120}
.search{display:flex;align-items:center;gap:7px;height:37px;padding:0 10px;margin-top:14px}
.search svg{width:15px;height:15px;color:#718172;flex:none}
.search input{border:0;outline:0!important;background:transparent;font-size:13px;flex:1}
#entries{flex:1;overflow:auto;min-height:0;padding:0 8px 12px}
.entry{width:100%;display:flex;align-items:center;text-align:left;gap:10px;min-height:64px;padding:9px 11px;border:0;border-radius:9px;background:transparent}
.entry:hover{background:#ecf1e9}.entry[aria-current=true]{background:#e4eddf}
.avatar{width:39px;height:39px;flex:none;border-radius:11px;display:inline-grid;place-items:center;background:#dce9dc;color:#325d46;font-size:16px;line-height:1;font-weight:650}
.avatar.group{background:#e5e3f1;color:#524c73}.avatar.tint-1{background:#dce7ed;color:#315869}.avatar.tint-2{background:#eae5d7;color:#6b5734}.avatar.tint-3{background:#e8dfe4;color:#68475a}
.entry-copy,.account-text,.title-block{min-width:0;flex:1}
.entry-copy{display:grid;gap:4px}
.row-title,.row-snippet,.row-top,.title-block h2,.account-text b,.account-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.row-title{font-size:14px;font-weight:640}
.row-time{color:#68786c;font-size:10px;white-space:nowrap}
.row-sub{display:flex;align-items:center;gap:6px;justify-content:space-between}
.row-snippet{font-size:12px;color:#5b6d61}
.badge{font-size:10px;padding:1px 5px;background:#336c4c;color:white;border-radius:9px;white-space:nowrap;min-width:16px;text-align:center}
.empty-list,.empty-thread{font-size:13px;text-align:center;color:var(--muted);padding:28px 12px;line-height:1.7}
.side-status{margin:4px 12px}
.account{border-top:1px solid var(--line);min-height:72px;gap:10px;padding:12px 17px}
.account .avatar{width:33px;height:33px;font-size:14px;border-radius:9px;background:var(--deep);color:#f6f9ec}
.account-text{display:grid;gap:2px}.account-text b{font-size:13px}.account-text small{font-size:10px;color:var(--muted)}
.plain{border:0;background:transparent;color:#41684d;min-height:32px;font-size:12px;white-space:nowrap}
.plain:hover{color:#183e28;text-decoration:underline}
.chat{min-height:0;min-width:0;display:flex;align-items:stretch;justify-content:stretch}
.welcome{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}
.welcome-icon{width:86px;height:86px;display:grid;place-items:center;background:#e8efe2;border-radius:25px;margin-bottom:24px}
.welcome-icon .brand-symbol{transform:scale(1.4)}
.welcome h2{font-weight:610;letter-spacing:-.03em;margin:10px 0 4px;font-size:25px}.welcome p{font-size:14px;color:var(--muted)}
.room{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
.chat-head{gap:12px;padding:12px 24px;height:73px;flex:none;background:#fff;border-bottom:1px solid var(--line)}
.title-block h2{font-size:17px;line-height:1.35;font-weight:650;margin:0}.title-block p{font-size:11px;color:var(--muted);margin:3px 0 0}
#back{display:none}
.thread-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:15px clamp(12px,3vw,48px) 20px}
.history-top{text-align:center;min-height:3px}
.msg-day{font-size:11px;color:#657769;text-align:center;margin:15px 0}
.message{display:flex;flex-direction:column;align-items:flex-start;margin:8px 0 12px}
.message.mine{align-items:flex-end}
.bubble{white-space:pre-wrap;overflow-wrap:anywhere;max-width:min(84%,640px);margin:0;background:#fff;border:1px solid #dce4d9;border-radius:3px 13px 13px 13px;padding:9px 13px;font-size:14px;line-height:1.6;unicode-bidi:plaintext}
.mine .bubble{background:#e3f0db;border-color:#d2e3c7;border-radius:13px 3px 13px 13px}
.msg-info{color:var(--muted);font-size:10px;line-height:1.5;margin:0 2px 4px}
.room-status{margin:4px clamp(12px,3vw,48px)}
.compose{background:#fff;border-top:1px solid var(--line);padding:13px clamp(14px,2.6vw,40px) 14px}
.compose textarea{width:100%;resize:none;border:0;min-height:52px;background:transparent;line-height:1.6;font-size:15px;padding:4px}
.compose-foot{justify-content:space-between;gap:10px;margin-top:5px}
.compose-help{color:var(--muted);font-size:10px}
#send{font-size:13px;padding:8px 15px;min-height:35px}
@media(min-width:1000px){body.signed-in .workspace{width:calc(100% - 64px);height:calc(100dvh - 90px);max-height:calc(100dvh - 90px);margin-bottom:14px;border-bottom:1px solid var(--line);border-radius:17px}}
@media(max-width:750px){.mast{min-height:62px}.identity{min-height:470px;padding:27px}.login-section{padding:28px 23px}.identity-copy{margin-top:36px}.signal{width:calc(100% + 60px)}#landing{padding:15px 16px}.workspace{height:calc(100dvh - 62px);max-height:calc(100dvh - 62px)}}
@media(max-width:620px){.mast{min-height:58px}.brand{font-size:22px}.brand-symbol{transform:scale(.92)}#landing{display:block;flex:0;padding:8px 14px 15px}.login-card{grid-template-columns:1fr;border-radius:19px}.identity{min-height:142px;padding:20px 23px}.identity-copy{margin-top:18px}.identity-copy h1{font-size:34px}.identity-copy p{font-size:13px;margin:7px 0 0}.identity .kicker{font-size:8px}.signal{position:absolute;right:-12px;top:0;width:48%;height:100%;margin:0;z-index:-1}.identity-foot{display:none}.login-section{padding:24px clamp(20px,7vw,36px) 25px}.login-inner{max-width:none}.login-inner h2{margin-top:10px;font-size:28px}.intro{margin-bottom:17px}.workspace{height:calc(100dvh - 58px);max-height:calc(100dvh - 58px);grid-template-columns:minmax(0,1fr);border-radius:0;border-left:0;border-right:0}.sidebar{border-right:0}.workspace .chat{display:none}.workspace.in-room .sidebar{display:none}.workspace.in-room .chat{display:flex}#back{display:grid}.chat-head{padding:9px 13px;gap:8px;height:60px}.side-top{padding:16px 16px 11px}.side-heading{margin-bottom:9px}.compose{padding-bottom:max(11px,env(safe-area-inset-bottom))}.compose-help{display:none}.compose-foot{justify-content:flex-end}.signin-note{margin-top:13px}footer{min-height:34px;font-size:9px}body.signed-in .mast{margin:0 auto}.thread-scroll{padding-left:12px;padding-right:12px}.bubble{max-width:88%}}
@media(max-width:360px){.identity{min-height:122px;padding:16px}.identity-copy{margin-top:11px}.signal{opacity:.72}.login-section{padding:20px 15px}.brand{gap:6px}.mast{padding:0 14px}.web-edition{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important}}

.jst-about-logo{display:block;width:120px;height:120px;object-fit:contain;margin:20px auto}
