:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;color:#18263a;background:#f5f7fb;font-synthesis:none}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:320px;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #698df3;outline-offset:4px}
.shell{width:min(1120px,calc(100% - 64px));margin:0 auto}
.brand-symbol{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:11px;background:linear-gradient(145deg,#4d9cff,#7658f5);color:#fff;font-size:21px;font-weight:800;box-shadow:0 8px 19px #496be02a}
.eyebrow{margin:0;color:#738db3;font-size:11px;font-weight:800;letter-spacing:.17em}
.state-view{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0,#e9f0ff,#f5f7fb 52%)}
.login-card,.state-card{width:min(420px,100%);padding:38px 36px 32px;border:1px solid #dfe5ef;border-radius:22px;background:#fff;box-shadow:0 22px 70px #1526421f}
.login-brand{display:flex;align-items:center;gap:11px;margin-bottom:55px;font-weight:780}
.login-card h1,.state-card h1{margin:13px 0 6px;font-size:34px;letter-spacing:-.055em;line-height:1.2}
.login-subtitle,.state-card p{margin:0;color:#718096;font-size:13px;line-height:1.7}
#login-form{display:grid;gap:9px;margin-top:29px}
#login-form label{margin-top:8px;color:#607086;font-size:12px;font-weight:700}
#login-form input{width:100%;min-height:44px;padding:10px 13px;border:1px solid #dbe3ee;border-radius:9px;background:#fff;color:#18263a;outline:none}
#login-form input:focus{border-color:#5a8bf2;box-shadow:0 0 0 3px #3b82f61f}
.primary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:46px;padding:0 17px;border:0;border-radius:10px;background:linear-gradient(135deg,#3b82f6,#7058ee);color:#fff;font-size:13px;font-weight:700;box-shadow:0 9px 20px #3b82f633}
#login-form .primary-button{margin-top:16px;width:100%}
.primary-button:disabled,.logout-button:disabled{cursor:wait;opacity:.6}
.primary-button:hover:not(:disabled){filter:brightness(1.06)}
.message{min-height:20px;margin:3px 0 0;color:#b4414b;font-size:12px;line-height:1.5}
.login-footnote{margin:24px 0 0;color:#98a5b7;font-size:12px;line-height:1.7}
.loading-card{display:flex;align-items:center;gap:14px;color:#526680;font-size:13px}
.state-card>p{margin-top:13px}
.state-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:27px}
.secondary-button{min-height:46px;padding:0 14px;border:1px solid #dbe3ee;border-radius:10px;background:#fff;color:#4e6481;font-size:13px;font-weight:650}
.secondary-button:hover{background:#f4f7fc}
.home{min-height:100dvh;display:flex;flex-direction:column;background:radial-gradient(circle at 85% 15%,#e6eafd,transparent 27%),#f5f7fb}
.topbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e6eaf1}
.brand{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:780;white-space:nowrap}
.account-actions{display:flex;align-items:center;gap:14px;min-width:0}
.user-label{overflow:hidden;color:#69788d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.logout-button{padding:8px 10px;border:1px solid #dfe4ec;border-radius:9px;background:#fff;color:#53647b;font-size:12px;white-space:nowrap}
.logout-button:hover{background:#eef3fc}
.home-main{flex:1;padding-top:74px;padding-bottom:72px}
.intro h1{margin:17px 0 16px;font-size:clamp(37px,4.5vw,59px);font-weight:720;line-height:1.15;letter-spacing:-.055em}
.intro>p:last-child{margin:0;color:#6b7c93;font-size:15px;line-height:1.7}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:47px}
.tool-card{position:relative;display:flex;flex-direction:column;overflow:hidden;min-height:337px;border:1px solid #e0e6f0;border-radius:21px;background:#fff;box-shadow:0 12px 35px #20385a0b;transition:transform .2s,border-color .2s,box-shadow .2s}
.tool-card:hover{transform:translateY(-4px);border-color:#bdcbee;box-shadow:0 20px 38px #20385a1a}
.tool-number{position:absolute;z-index:2;top:20px;left:22px;color:#7488ab;font:750 10px/1.2 ui-monospace,SFMono-Regular,monospace;letter-spacing:.12em}
.art{position:relative;flex:1;min-height:236px;overflow:hidden}
.art svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#859dd7;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.flow-art{background:radial-gradient(circle at 76% 17%,#e2eaff,#f0f5ff 69%);background-image:radial-gradient(#bdcde9 1px,transparent 1px);background-size:19px 19px}
.flow-node,.mind-node{position:absolute;display:grid;place-items:center;border:1px solid #d2ddf2;border-radius:10px;background:#fff;color:#566f95;box-shadow:0 8px 18px #46618722;font-size:11px;font-weight:700;white-space:nowrap}
.flow-node{width:102px;height:44px;top:calc(50% - 22px)}
.flow-node.node-a{left:calc(25% - 51px)}.flow-node.node-b{left:calc(55% - 51px);background:#667fed;border-color:#667fed;color:#fff}.flow-node.node-c{left:calc(80% - 51px);top:calc(36% - 22px)}
.mind-art{background:radial-gradient(circle at 50% 60%,#e9eaff,#f4f4ff 70%);background-image:radial-gradient(#cdd2ef 1px,transparent 1px);background-size:19px 19px}
.mind-art svg{stroke:#999be2}
.mind-node{min-width:70px;height:34px;padding:0 12px}
.mind-node.center{top:calc(50% - 19px);left:calc(50% - 39px);min-width:78px;height:38px;background:#726df0;border-color:#726df0;color:#fff}
.mind-node.mind-a{top:calc(28% - 17px);left:calc(27% - 35px)}.mind-node.mind-b{top:calc(75% - 17px);left:calc(27% - 35px)}.mind-node.mind-c{top:calc(28% - 17px);left:calc(73% - 35px)}.mind-node.mind-d{top:calc(75% - 17px);left:calc(73% - 35px)}
.tool-copy{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px 23px}
.tool-copy h2{margin:0 0 5px;font-size:20px;letter-spacing:-.03em}
.tool-copy p{margin:0;color:#75849a;font-size:12px;line-height:1.55}
.tool-arrow{display:grid;place-items:center;flex:none;width:37px;height:37px;border:1px solid #e0e5ee;border-radius:50%;color:#6875a0;font-size:20px;transition:background .2s,color .2s}
.tool-card:hover .tool-arrow{background:#6875e8;color:#fff}
.tool-note{margin:22px 0 0;color:#8794a6;font-size:12px;line-height:1.7}
.footer{display:flex;justify-content:space-between;gap:20px;padding:22px 0 31px;border-top:1px solid #dfe5ee;color:#8c99ab;font-size:12px}
.footer a:hover{color:#4a74db}
@media(max-width:720px){.shell{width:min(100% - 34px,1120px)}.topbar{min-height:71px}.home-main{padding-top:51px}.tool-grid{grid-template-columns:1fr;margin-top:33px}.tool-card{min-height:312px}.art{min-height:220px}.footer{flex-direction:column;gap:8px}}
@media(max-width:420px){.login-card,.state-card{padding:28px 22px}.login-brand{margin-bottom:41px}.topbar{gap:8px}.brand{font-size:12px}.brand-symbol{width:33px;height:33px}.account-actions{gap:4px}.user-label{max-width:86px}.flow-node{transform:scale(.8)}.mind-node:not(.center){transform:scale(.85)}}
@media(prefers-reduced-motion:reduce){.tool-card,.tool-arrow{transition:none}}
