:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#26344b;background:#f5f7fb;font-synthesis:none;line-height:1.6}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8eb0ff;outline-offset:4px}
.shell{max-width:760px;margin:auto;padding:32px 24px 24px}
.header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:750;letter-spacing:-.5px;color:inherit;text-decoration:none}
.brand-mark{background:#3668dd;color:#fff;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;font-size:27px;font-weight:500;line-height:1}
.account{display:flex;align-items:center;gap:12px;font-size:14px;min-width:0}
#username{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.text-button{border:0;background:transparent;color:#53647d;padding:6px 0;white-space:nowrap}
.text-button:hover{color:#214faf}
.intro{margin:54px 0 20px}
.eyebrow{font-size:13px;font-weight:650;letter-spacing:2px;color:#5072b4;margin:0 0 12px}
h1{font-size:clamp(28px,5vw,38px);line-height:1.3;letter-spacing:-1px;margin:0 0 12px;font-weight:750}
.subtitle{color:#738098;margin:0}
.status{font-size:14px;min-height:24px;margin:0 0 18px;color:#597085;overflow-wrap:anywhere}
.status[data-kind=error]{color:#b43446}
.status[data-kind=success]{color:#247353}
.card{background:#fff;border:1px solid #e1e7f0;border-radius:18px;box-shadow:0 3px 16px #26344b04}
.login-card{max-width:460px;padding:28px;margin:0 auto}
h2{font-size:17px;font-weight:650;margin:0}
.muted{font-size:14px;color:#738098;margin:8px 0 20px}
form{display:flex;flex-direction:column}
form label{font-size:14px;margin:0 0 6px}
input{height:46px;width:100%;border:1px solid #d9e1ed;border-radius:9px;background:#fbfcff;padding:8px 12px;margin-bottom:18px;color:#26344b}
input:focus,textarea:focus{outline:2px solid #b2c6f9;outline-offset:1px}
.button{border:1px solid transparent;border-radius:12px;padding:12px 18px;font-weight:600;transition:background .15s}
.primary{color:#fff;background:#3668dd}
.primary:hover:not(:disabled){background:#2858c6}
.secondary{background:#fff;color:#3668dd;border-color:#d7e2f8}
.secondary:hover:not(:disabled){background:#eef3ff}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.action{display:grid;grid-template-columns:36px 1fr;text-align:left;padding:20px 22px;column-gap:12px}
.action>span{grid-row:span 2;align-self:center;font-size:28px;font-weight:400;text-align:center}
.action strong{font-size:17px}
.action small{font-size:12px;font-weight:400;opacity:.8}
.preview-card{padding:22px 24px 16px}
.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.connection{font-size:12px;white-space:nowrap;color:#78859a}
.connection[data-online=true]{color:#287651}
.connection[data-online=true]:before{content:"";display:inline-block;vertical-align:middle;width:6px;height:6px;background:#40a476;border-radius:50%;margin-right:6px}
textarea{width:100%;display:block;resize:vertical;min-height:180px;max-height:560px;line-height:1.7;font-size:15px;border:0;border-radius:8px;color:#33415a;background:#f7f9fc;padding:14px;tab-size:4;white-space:pre-wrap}
textarea::placeholder{color:#99a4b6}
.metadata{display:flex;justify-content:space-between;gap:12px;color:#8994a6;font-size:12px;margin-top:14px}
.manual-card{padding:18px 24px;margin-top:16px}
summary{cursor:pointer;font-size:14px;color:#5d6d86}
.manual-card .muted{font-size:13px;margin:14px 0 12px}
#draft{min-height:130px}
.draft-hint{font-size:12px;color:#8390a4;margin:10px 0 0}
.draft-hint[data-error=true]{color:#b43446}
.footnote{font-size:12px;text-align:center;color:#8a96a9;margin:20px 0}
footer{font-size:12px;text-align:center;color:#96a0b2;margin-top:42px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:520px){.shell{padding:22px 16px}.intro{margin-top:40px}.actions{gap:12px}.action{padding:17px 12px;grid-template-columns:24px 1fr;column-gap:8px}.action strong{font-size:15px}.action>span{font-size:24px}.preview-card{padding:18px 16px 14px}.manual-card{padding:16px}.login-card{padding:24px 20px}#username{max-width:120px}.metadata{flex-wrap:wrap}}
