*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{color:#14213d;background:#f4f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.auth-page{background:radial-gradient(circle at 0 0,#e9eef9,#0000 40%),#f4f7fb;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{background:#fff;border:1px solid #dce3ed;border-radius:22px;width:min(440px,100%);padding:42px;box-shadow:0 24px 70px #14213d1f}.auth-logo{color:#fff;background:#14213d;border-radius:14px;place-items:center;width:52px;height:52px;margin-bottom:28px;font-weight:800;display:grid}.eyebrow{letter-spacing:.16em;color:#60708a;margin:0 0 10px;font-size:.75rem;font-weight:800}.auth-card h1{letter-spacing:-.04em;margin:0;font-size:2.1rem}.auth-subtitle{color:#65758e;margin:12px 0 28px;line-height:1.6}.auth-card form{gap:18px;display:grid}.auth-card label{color:#26344d;gap:8px;font-size:.9rem;font-weight:700;display:grid}.auth-card input{color:#14213d;background:#fff;border:1px solid #ccd5e2;border-radius:10px;outline:none;width:100%;padding:13px 14px}.auth-card input:focus{border-color:#14213d;box-shadow:0 0 0 3px #14213d14}.primary-button{color:#fff;background:#14213d;border:0;border-radius:10px;margin-top:4px;padding:14px;font-weight:800}.primary-button:hover{background:#202f4c}.primary-button:disabled{opacity:.6;cursor:wait}.auth-error,.auth-success{border-radius:10px;padding:12px 14px;font-size:.9rem;line-height:1.5}.auth-error{color:#b42318;background:#fff1f1;border:1px solid #f0b9b9}.auth-success{color:#137333;background:#effbf3;border:1px solid #b9e5c5}.auth-switch{color:#65758e;justify-content:center;gap:5px;margin-top:24px;font-size:.9rem;display:flex}.auth-switch button{color:#14213d;background:0 0;border:0;padding:0;font-weight:800}.app-shell{background:#f4f7fb;min-height:100vh;display:flex}.sidebar{color:#fff;background:#101827;flex-direction:column;width:300px;padding:28px 22px;display:flex}.brand{align-items:center;gap:13px;padding:4px 12px 30px;display:flex}.brand-icon{color:#14213d;background:#fff;border-radius:12px;place-items:center;width:46px;height:46px;font-weight:900;display:grid}.brand strong{font-size:1rem;display:block}.brand span{color:#91a0b7;margin-top:4px;font-size:.8rem;display:block}.sidebar-nav{gap:7px;display:grid}.nav-item{color:#9eabc0;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:14px;width:100%;padding:14px;font-weight:600;display:flex}.nav-item span{text-align:center;width:18px}.nav-item.active,.nav-item:hover{color:#fff;background:#202b3d}.workspace-user{background:#182235;border-radius:12px;align-items:center;gap:11px;margin-top:auto;padding:15px;display:flex}.user-avatar{color:#14213d;background:#dce6f5;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.workspace-user strong{font-size:.85rem;display:block}.workspace-user span:last-child{text-overflow:ellipsis;color:#8796ad;max-width:175px;margin-top:3px;font-size:.72rem;display:block;overflow:hidden}.workspace{flex:1;min-width:0;padding:52px 54px}.workspace-header{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px;display:flex}.workspace-header h1{letter-spacing:-.05em;margin:0;font-size:clamp(2.3rem,5vw,4rem);line-height:1}.workspace-header>div:first-child>p:last-child{color:#60708a;margin:15px 0 0;font-size:1.05rem}.header-actions{align-items:center;gap:10px;display:flex}.new-workflow,.logout-button{border:0;border-radius:10px;padding:14px 20px;font-weight:800}.new-workflow{color:#fff;background:#14213d}.logout-button{color:#b42318;background:#fff1f1}.stats{grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px;display:grid}.stat-card{background:#fff;border:1px solid #dce3ed;border-radius:16px;padding:22px}.stat-card span{color:#60708a;font-size:.85rem;display:block}.stat-card strong{margin-top:10px;font-size:2rem;display:block}.workflow-section{background:#fff;border:1px solid #dce3ed;border-radius:18px;padding:32px;box-shadow:0 10px 30px #14213d0a}.section-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.section-heading h2{margin:0;font-size:1.5rem}.section-heading p{color:#65758e;margin:8px 0 0}.count{background:#eef2f7;border-radius:50%;place-items:center;min-width:40px;height:40px;font-weight:800;display:grid}.workflow-grid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:18px;display:grid}.workflow-card{background:#fbfcfe;border:1px solid #dce3ed;border-radius:15px;padding:22px}.workflow-card-top{justify-content:space-between;align-items:center;display:flex}.workflow-icon{color:#14213d;background:#eef3f9;border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.ready{color:#137333;background:#effbf3;border-radius:20px;align-items:center;gap:6px;padding:7px 10px;font-size:.75rem;font-weight:800;display:flex}.ready span{font-size:.6rem}.workflow-card h3{margin:22px 0 7px;font-size:1.15rem}.workflow-card p{color:#60708a;margin:0}.workflow-divider{background:#e1e6ee;height:1px;margin:22px 0}.workflow-card small{color:#60708a;font-weight:700;display:block}.workflow-card code{color:#53627a;overflow-wrap:anywhere;margin-top:4px;font-size:.75rem;display:block}.open-workflow{color:#fff;background:#14213d;border:0;border-radius:10px;width:100%;margin-top:20px;padding:13px;font-weight:800}.status{color:#60708a}.error{color:#b42318;background:#fff7f7;border:1px solid #f1b8b8;border-radius:12px;padding:18px;overflow-x:auto}.error h3{margin-top:0}.error pre{white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=900px){.sidebar{width:220px}.workspace{padding:35px 25px}.workspace-header{flex-direction:column;align-items:flex-start}}@media (width<=700px){.app-shell{display:block}.sidebar{width:100%;padding:15px}.brand{padding-bottom:15px}.sidebar-nav{grid-template-columns:repeat(3,1fr)}.workspace-user{display:none}.workspace{padding:25px 15px}.stats{grid-template-columns:1fr}.workflow-section{padding:20px}.workflow-grid{grid-template-columns:1fr}.auth-card{padding:28px 22px}}.workflow-create{background:#fff;border:1px solid #d9e1ec;border-radius:20px;margin:28px 0 24px;padding:28px 32px;box-shadow:0 10px 30px #14233c0f}.workflow-create form{grid-template-columns:1fr 1.4fr;align-items:end;gap:20px 24px;display:grid}.workflow-create h2{color:#14213d;grid-column:1/-1;margin:0 0 2px;font-size:25px}.workflow-create label{color:#243554;flex-direction:column;gap:8px;font-weight:700;display:flex}.workflow-create input,.workflow-create textarea{box-sizing:border-box;color:#14213d;width:100%;font:inherit;background:#f8fafc;border:1px solid #ccd6e4;border-radius:12px;outline:none;padding:13px 15px;font-size:16px;transition:border-color .15s,box-shadow .15s,background .15s}.workflow-create input{height:50px}.workflow-create textarea{resize:vertical;min-height:50px}.workflow-create input:focus,.workflow-create textarea:focus{background:#fff;border-color:#526d9f;box-shadow:0 0 0 3px #526d9f1f}.workflow-create .form-actions{grid-column:1/-1;gap:12px;margin-top:4px;display:flex}.workflow-create button{font:inherit;cursor:pointer;border:0;border-radius:12px;padding:13px 22px;font-weight:700}.workflow-create button[type=submit]{color:#fff;background:#14213d}.workflow-create button[type=submit]:hover{background:#1d3157}.workflow-create button[type=submit]:disabled{opacity:.55;cursor:not-allowed}.workflow-create button[type=button]{color:#b42318;background:#fff0ef}.workflow-create button[type=button]:hover{background:#ffe1df}@media (width<=700px){.workflow-create{padding:22px}.workflow-create form{grid-template-columns:1fr}.workflow-create h2,.workflow-create .form-actions{grid-column:auto}.workflow-create .form-actions{flex-direction:column}.workflow-create button{width:100%}}
