/* WS Connect shared identity. System fonts keep the workspace fast and self-contained. */
:root{--ws-ink:#153e35;--ws-green:#087e62;--ws-hover:#06674f;--ws-mint:#d4f4df;--ws-surface:#f3f7f5;--ws-line:#dfe9e3;--ws-muted:#62776f;color-scheme:light}
.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0;color:inherit;text-decoration:none}
.ws-logo{display:block;width:46px;height:46px;flex:0 0 auto}
.brand-name{display:block;font-size:23px;font-weight:750;line-height:1.15;letter-spacing:-.8px;white-space:nowrap}
.brand-caption{display:block;font-size:12px;line-height:1.4;letter-spacing:1.1px;margin-top:5px;font-weight:500;color:var(--ws-muted)}
.brand-lockup.inverse{color:#fff}.inverse .brand-caption{color:#a7cfc0}
.auth-brand{position:relative;z-index:1;margin-bottom:64px}
.auth-caption{font-size:12px;letter-spacing:1px;font-weight:650;color:#a6d6bd}
.auth-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:12px;color:#a8c4b8;position:relative;z-index:1}
.auth-footer span:first-child{font-weight:700;letter-spacing:.5px}
.auth-card-title{font-size:13px;font-weight:700;letter-spacing:1.4px;color:#2c6b52}
.auth-assurance{display:flex;align-items:center;justify-content:center;gap:7px;color:#61766c;font-size:12px;line-height:1.7;margin-top:22px}
.auth-assurance svg{width:15px;height:15px}
.auth-form-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.auth-form-heading .small-pill{font-size:12px;background:#eaf5ee;color:#286449}
.login-story,.login-about{isolation:isolate}
.login-story:after,.login-about:after{content:"";position:absolute;z-index:-1;inset:0;background-image:radial-gradient(#d0f4df16 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(130deg,#000,transparent 85%);pointer-events:none}
.ws-domain{font-size:12px;letter-spacing:1px;opacity:.75;font-weight:500}
.brand-footer{font-size:12px;line-height:1.8;color:#71857b;text-align:center;margin-top:32px;letter-spacing:.3px}
.ws-chevron{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
button,a,input,textarea,select{touch-action:manipulation}
input,textarea,select{scroll-margin-top:24px}
.login-details-label{display:block;font-size:13px;font-weight:700;margin-bottom:10px}
.template-section{margin:30px 0}.template-section>h2{font-size:20px;display:flex;align-items:center;gap:10px}.template-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.template-draft-card>p{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.template-draft-card .reply-actions{flex-wrap:wrap;gap:14px}.template-guide button[disabled]{opacity:.6;cursor:not-allowed}
@media(min-width:681px) and (max-height:760px){.rail{padding-top:10px}.rail-brand{margin-bottom:10px}.rail-main,.rail-bottom{gap:5px}.rail-button{height:51px}}
.login-details{display:block;box-sizing:border-box;width:100%;min-height:180px;resize:vertical;border:1px solid #aacbb9;border-radius:12px;padding:15px;background:#f3f8f5;color:#183e30;font:14px/1.85 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.portal-settings-form{display:grid;gap:26px;max-width:700px}.portal-settings-form>div+div{border-top:1px solid var(--ws-line);padding-top:25px}.portal-settings-form h2{margin:0 0 12px}.portal-settings-form label{display:block;margin:12px 0}.portal-settings-form input:not([type=checkbox]){width:100%;box-sizing:border-box}.portal-settings-form .checkbox-label{display:flex;align-items:center;gap:10px}.portal-settings-form .primary{justify-self:start}
.wallet-support-card,.template-guide,.template-support{margin-top:24px;padding:26px;border:1px solid var(--ws-line);border-radius:18px;background:#fff}.wallet-support-card,.template-guide{display:flex;align-items:center;justify-content:space-between;gap:24px}.wallet-support-card h2,.template-guide h2,.template-support h2{font-size:19px;margin:7px 0 10px}.wallet-support-card p,.template-guide p,.template-support p{margin-bottom:0;line-height:1.8}.support-actions{display:flex;gap:12px;flex-wrap:wrap}.support-channel{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;white-space:nowrap;min-height:44px}.support-channel .icon{width:19px;height:19px}.template-support .support-actions{margin-top:18px}.template-guide{margin-top:0;margin-bottom:25px}.template-guide>div{max-width:740px}
body.dark .wallet-support-card,body.dark .template-guide,body.dark .template-support{background:#183a2c;border-color:#315744;color:#e2f2e8}body.dark .wallet-support-card .panel-kicker{color:#9ad0ae}body.dark .wallet-support-card p,body.dark .template-guide p,body.dark .template-support p{color:#b6cebf}
@media(max-width:700px){.wallet-support-card,.template-guide{align-items:stretch;flex-direction:column}.wallet-support-card,.template-guide,.template-support{padding:20px}.support-actions{flex-direction:column}.support-channel{width:100%;box-sizing:border-box}.login-details{font-size:13px;min-height:200px}.portal-settings-form .primary{width:100%}}
@media(max-width:700px){.ws-logo{width:40px;height:40px}.brand-name{font-size:21px}.brand-caption{font-size:12px}.auth-brand{margin-bottom:28px}.auth-footer{display:none}.brand-footer{margin-top:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
