:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1a2236;background:#f6f7fb;font-synthesis:none;--blue:#2056ed;--muted:#7a8295;--border:#e6e9f1;--ink:#17203a}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button{border:1px solid var(--border);border-radius:8px;background:white;padding:10px 15px;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:550;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#f0f3fa}button.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 3px 8px #2056ed15}button.primary:hover:not(:disabled){background:#1745c8}button.ghost{border-color:transparent;background:transparent}button.danger{color:#bf394b}button.small{padding:7px 10px;font-size:13px}a{color:var(--blue);text-decoration:none}svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.7}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650;margin-bottom:10px}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:16px}p{line-height:1.6}.muted{color:var(--muted)}.smalltext{font-size:13px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.5px;color:#8d95a7;text-transform:uppercase;margin-bottom:14px}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--border);padding:30px 18px 20px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:10px;padding:0 12px;font-size:21px;font-weight:700;letter-spacing:-.8px}.brand img{width:32px}.brand span:last-child{color:var(--blue)}.workspace-label{font-size:12px;color:#8891a3;padding:10px 12px 0}.nav{display:flex;flex-direction:column;gap:5px}.nav button{justify-content:flex-start;border:0;background:transparent;padding:12px;color:#6e7689}.nav button.active{background:#edf2ff;color:var(--blue)}.nav button svg{width:19px}.side-projects{display:flex;flex-direction:column;gap:3px;margin-top:10px}.side-projects button{border:0;background:none;justify-content:flex-start;font-size:13px;padding:9px 12px;color:#667084;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-align:left}.side-projects button.active{color:var(--blue);background:#f3f6ff}.sidebar-bottom{margin-top:auto}.connection{padding:15px 12px;border:1px solid var(--border);border-radius:10px;font-size:12px;line-height:1.7;background:#fafbfe}.connection strong{display:flex;gap:6px;align-items:center;color:#485269;font-size:13px}.connection button{padding:5px 0;color:var(--blue)}.user{display:flex;align-items:center;gap:10px;padding:18px 10px 0;font-size:13px}.avatar{display:grid;place-items:center;background:#e9edfa;border-radius:50%;width:32px;height:32px;color:#425176;font-size:11px;font-weight:650}.main{min-width:0}.topbar{height:76px;padding:0 40px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#8891a3}.breadcrumb{display:flex;align-items:center;gap:10px}.breadcrumb strong{font-weight:500;color:#4f5b73}.topbar-right{display:flex;align-items:center;gap:14px}.tag{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:5px;background:#f0f2f7;color:#738098;font-size:11px;font-weight:550}.tag.blue{color:#2056ed;background:#edf2ff}.tag.green{color:#2b806b;background:#edf8f3}.tag.amber{color:#aa731c;background:#fff6e4}.page{padding:36px 40px 60px;max-width:1500px;margin:0 auto}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:30px}.heading p{color:var(--muted);font-size:14px;margin-bottom:0}.hero-work{display:grid;grid-template-columns:1fr 330px;gap:40px;padding:32px;background:#fff;border:1px solid var(--border);border-radius:13px;position:relative;overflow:hidden;margin-bottom:32px}.hero-work h2{font-size:27px;line-height:1.3;max-width:460px}.hero-work p{font-size:14px;color:#7a8295;max-width:460px}.hero-work .eyebrow{color:var(--blue)}.workflow-art{background:#f4f7ff;background-image:radial-gradient(#cfd8f4 1px,transparent 1px);background-size:14px 14px;border-radius:10px;padding:22px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;transform:rotate(-2deg)}.flow-card{width:100%;padding:12px;background:#fff;border:1px solid #e0e7f9;border-radius:8px;display:flex;gap:12px;align-items:center;font-size:13px;box-shadow:0 5px 14px #1f40800a}.flow-card span{font-size:10px;color:#8c96ab;display:block;margin-top:4px}.flow-card svg{color:var(--blue)}.flow-card:last-child{background:#2056ed;color:white;border-color:#2056ed}.flow-card:last-child span,.flow-card:last-child svg{color:#bdcfff}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head h2{font-size:18px;margin:0}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{border:1px solid var(--border);border-radius:12px;background:#fff;padding:22px;cursor:pointer;transition:box-shadow .2s,border-color .2s;min-width:0}.project-card:hover{border-color:#b9c9f8;box-shadow:0 8px 25px #17203a08}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.project-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#edf2ff;color:var(--blue)}.project-card h3{font-size:17px;margin-bottom:9px;overflow-wrap:anywhere}.project-card p{font-size:13px;color:#8991a2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:40px;line-height:1.5}.progress-bars{display:flex;gap:4px;margin:20px 0 10px}.progress-bars i{height:4px;flex:1;background:#edf0f6;border-radius:3px}.progress-bars i.done{background:#2056ed}.card-foot{font-size:11px;color:#8b94a8;display:flex;justify-content:space-between}.new-card{border-style:dashed;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f9fafe;min-height:227px;gap:12px;color:#7d8aa8}.new-card svg{width:27px;height:27px}.empty-note{padding:28px;text-align:center;border:1px dashed #ccd6eb;border-radius:12px;color:#7b859b;background:#fafbff;font-size:14px}.stage-strip{display:flex;gap:0;margin:0 0 30px;overflow-x:auto;background:white;border:1px solid var(--border);border-radius:10px;padding:8px}.stage-tab{flex:1;min-width:115px;background:transparent;border:0;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px;color:#929aad;text-align:left;border-radius:6px;position:relative}.stage-tab.active{background:#edf2ff;color:#2056ed}.stage-tab.approved{color:#367e6b}.stage-tab .step-num{font-size:11px;font-weight:700}.stage-tab .step-title{font-size:12px;line-height:1.4}.stage-tab .step-status{font-size:10px;color:#a0a7b4}.stage-tab.active .step-status{color:#7c97d9}.project-head{margin-bottom:24px}.project-head h1{font-size:27px}.project-head .actions{display:flex;gap:8px}.stage-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.stage-head h2{font-size:22px;margin-bottom:7px}.stage-head p{font-size:13px;color:#858ea2;margin-bottom:0}.stage-head .actions{display:flex;gap:8px;flex-wrap:wrap}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--border);border-radius:11px;padding:25px}.panel h3{font-size:14px;display:flex;gap:8px;align-items:center}.panel p{font-size:13px;color:#818b9e}.fields{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}label{font-size:13px;font-weight:550;color:#536078}input,textarea,select{width:100%;border:1px solid #dfe4ee;border-radius:7px;background:#fff;padding:11px 12px;color:#253049;font-size:14px;line-height:1.6}input::placeholder,textarea::placeholder{color:#a6adbb}textarea{resize:vertical;min-height:88px}input:focus,textarea:focus,select:focus{outline:2px solid #c9d6ff;border-color:#7798f9}.idea-input{min-height:160px;font-size:15px}.field-hint{font-size:11px;color:#9099aa}.panel-footer{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:20px;border-top:1px solid var(--border);gap:10px}.save-state{font-size:12px;color:#8d96a8;display:flex;align-items:center;gap:6px}.save-state.error{color:#bc3444}.right-stack{display:flex;flex-direction:column;gap:16px}.tip-list{display:flex;flex-direction:column;gap:15px}.tip{font-size:12px;color:#808b9e;line-height:1.6;padding-left:17px;position:relative}.tip:before{content:'—';position:absolute;left:0;color:#b0bad0}.info-panel{background:#f0f4ff;border-color:#dfe8ff}.info-panel h3{color:#3154ad}.info-panel p{color:#6e83b0}.stage-locked{padding:38px;text-align:center;background:#fff;border:1px solid var(--border);border-radius:12px}.stage-locked .project-icon{margin:0 auto 15px}.stage-locked p{font-size:14px;color:#8b94a8}.materials-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:18px}.material-list{display:flex;flex-direction:column;gap:5px}.material-list button{text-align:left;justify-content:flex-start;background:transparent;border-color:transparent;padding:13px 10px;color:#7a859a;line-height:1.5;font-size:13px}.material-list button.active{background:#fff;border-color:#e3e8f4;color:var(--blue)}.material-list .number{color:#a6b0c3;font-size:11px}.material-editor{padding:0;overflow:hidden;min-width:0}.editor-toolbar{padding:15px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.editor-toolbar .actions{display:flex;gap:6px;flex-wrap:wrap}.editor-title{border:0;font-size:20px;font-weight:600;padding:22px 24px 10px;border-radius:0}.editor-body{padding:12px 24px 26px}.editor-text{border:0;min-height:420px;padding:0;line-height:1.9;font-size:14px;resize:vertical;color:#47546c}.editor-text:focus,.editor-title:focus{outline:none;border:none}.editor-bottom{border-top:1px solid var(--border);padding:18px 22px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.review-input{min-height:135px;font-size:13px;margin-bottom:10px}.right-stack button.wide{width:100%}.note{font-size:12px;color:#7c899f;line-height:1.6;margin-top:12px}.job-banner{margin-bottom:18px;background:#eef3ff;border:1px solid #d4e0ff;border-radius:9px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;color:#365dac}.job-banner.error{background:#fff2f2;color:#b84650;border-color:#f4d7dc}.job-banner .actions{display:flex;gap:6px}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #ccd8f4;border-top-color:#2056ed;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mockup-wrap{background:#e9edf4;padding:20px;overflow:auto;text-align:center}.mockup-frame{width:100%;height:680px;border:0;background:#fff;box-shadow:0 4px 25px #17203a0c}.mockup-frame.mobile{width:390px;max-width:100%}.preview-toggle{display:flex;gap:5px}.preview-toggle .active{background:#eaf0ff;color:#2056ed}.settings{max-width:760px}.settings .panel{margin-bottom:20px}.settings .fields{margin:20px 0}.export-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0}.export-card{padding:24px;background:white;border:1px solid var(--border);border-radius:11px}.export-card h3{font-size:24px;margin:20px 0 8px;letter-spacing:-.7px}.export-card p{font-size:12px;color:#8892a5;min-height:42px}.export-card svg{color:#2056ed;width:26px;height:26px}.export-card button{width:100%}.checklist{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:#6f7f95}.checklist span{display:flex;align-items:center;gap:6px}.checklist .ok{color:#277c67}.export-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid var(--border);font-size:13px}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{background:#153dc0;padding:70px;display:flex;flex-direction:column;justify-content:space-between;color:white;background-image:radial-gradient(#ffffff14 1px,transparent 1px);background-size:24px 24px}.login-story .brand{padding:0}.login-story .brand span:last-child{color:#a9c1ff}.login-story h1{font-size:52px;line-height:1.13;letter-spacing:-2px;max-width:470px}.login-story p{color:#b4c7ff;font-size:16px;max-width:410px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-form form{max-width:360px;width:100%}.login-form h2{font-size:27px}.login-form p{font-size:14px;color:#8a94a8;margin-bottom:30px}.login-form button{width:100%;margin-top:18px}.login-error{color:#c74654;font-size:13px;margin-top:15px}.boot{padding:100px;text-align:center;color:#7a859b}dialog{border:1px solid #e1e5ed;border-radius:14px;max-width:660px;width:calc(100% - 32px);padding:28px;box-shadow:0 24px 90px #17203a30;color:#233049;max-height:85vh}dialog::backdrop{background:#14213c60;backdrop-filter:blur(3px)}dialog h2{margin-bottom:12px}dialog p{font-size:14px;color:#8490a4}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.dialog-fields{display:flex;flex-direction:column;gap:17px;margin-top:22px}.diff{display:grid;grid-template-columns:1fr 1fr;gap:18px}.diff pre,.result-content{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 inherit;background:#f6f8fc;padding:15px;border-radius:8px;max-height:400px;overflow:auto}.wide-dialog{max-width:1100px}.history-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:13px 0;gap:20px}.history-row span{font-size:13px}.history-row small{display:block;margin-top:4px;color:#8c97aa}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(30px);background:#17233f;color:white;padding:13px 23px;border-radius:9px;box-shadow:0 10px 30px #10234e25;z-index:100;opacity:0;pointer-events:none;transition:all .2s;font-size:14px;max-width:90vw}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.inline-error{padding:14px;border-radius:8px;background:#fff0f0;color:#b54654;font-size:13px;margin-bottom:15px}.report-box{margin:0 24px 20px;padding:16px;background:#f6f8fc;border-radius:8px}.report-box textarea{margin:10px 0}.questions{white-space:pre-wrap;font-size:13px;line-height:1.8;color:#566780}.row{display:flex;align-items:center;gap:10px}.mobile-menu{display:none}.draft-label{display:flex;align-items:center;gap:8px;font-size:13px}.draft-label input{width:auto}.footer-note{margin-top:30px;text-align:center;font-size:11px;color:#a0a9ba}.result-list details{border-bottom:1px solid #e5eaf2;padding:12px 0}.result-list summary{cursor:pointer;font-size:14px;font-weight:550}.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:12px}
@media(min-width:1650px){.workspace{grid-template-columns:minmax(0,1fr) 320px}.page{padding-top:45px}}@media(max-width:1200px){.shell{grid-template-columns:200px 1fr}.sidebar{padding-left:12px;padding-right:12px}.page{padding:28px}.topbar{padding:0 28px}.workspace{grid-template-columns:minmax(0,1fr)}.right-stack{display:grid;grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:repeat(2,1fr)}.hero-work{grid-template-columns:1fr 260px;gap:20px}.export-grid{grid-template-columns:repeat(2,1fr)}.stage-tab{padding:10px;min-width:110px}}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{display:none;position:fixed;width:240px;z-index:30;box-shadow:20px 0 100px #15234430}.sidebar.open{display:flex}.mobile-menu{display:inline-flex;padding:6px}.topbar{height:62px;padding:0 18px}.topbar-right .tag{display:none}.page{padding:24px 18px}.heading{gap:12px;flex-wrap:wrap}.heading h1{font-size:26px}.hero-work{grid-template-columns:1fr;padding:25px}.hero-work h2{font-size:25px}.workflow-art{display:none}.project-grid{grid-template-columns:1fr}.project-card{padding:20px}.new-card{min-height:130px}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.panel{padding:20px}.right-stack{grid-template-columns:1fr}.stage-head{flex-direction:column}.materials-layout{grid-template-columns:1fr}.material-list{flex-direction:row;overflow:auto}.material-list button{min-width:160px;max-width:200px}.stage-strip{margin-bottom:22px}.stage-tab{min-width:115px}.project-head .actions{flex-wrap:wrap}.editor-title{padding:20px 18px 10px;font-size:18px}.editor-body{padding:12px 18px}.editor-toolbar{padding:12px}.panel-footer{align-items:flex-start;flex-direction:column}.export-grid{gap:10px}.export-card{padding:18px}.export-card h3{font-size:22px}.login-page{grid-template-columns:1fr}.login-story{padding:30px;gap:36px}.login-story h1{font-size:33px;letter-spacing:-1px;margin-bottom:10px}.login-story p{font-size:13px;margin-bottom:0}.login-story>.smalltext{display:none}.login-form{padding:35px 25px}.diff{grid-template-columns:1fr}.job-banner{align-items:flex-start;flex-direction:column}.breadcrumb{min-width:0;overflow:hidden;white-space:nowrap}.breadcrumb strong{overflow:hidden;text-overflow:ellipsis}.mockup-wrap{padding:8px}.editor-bottom{padding:15px}.report-box{margin:0 15px 15px}h1{overflow-wrap:anywhere}.draft-label{align-items:flex-start}}
