@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans SC',system-ui,sans-serif;color:#193752;background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 max(5%,calc((100vw - 1280px)/2));border-bottom:1px solid #e9eef5;position:sticky;top:0;z-index:10;box-shadow:0 3px 20px #12346108}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;white-space:nowrap;color:#112e56}.brand b{color:#2679d9}.brand-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#2b91ed,#0b52b3);box-shadow:0 4px 11px #1b67c44d}.site-header nav{display:flex;align-items:center;gap:28px;color:#62758c;font-size:13px;font-weight:600}.site-header nav a:hover,.site-header nav a[aria-current]{color:#1266c6}.header-badge{font-size:12px;font-weight:700;color:#376593;background:#eaf4ff;border:1px solid #d8e9fd;padding:8px 13px;border-radius:50px;white-space:nowrap}
main{max-width:1280px;margin:auto;padding:0 28px}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;padding:64px 0 56px}.eyebrow,.section-kicker{font-size:11px;letter-spacing:.16em;font-weight:800;color:#2e83d5}.hero h1{font-size:clamp(35px,4vw,56px);line-height:1.28;letter-spacing:-.055em;color:#122f55;margin:18px 0}.hero h1 em{font-style:normal;color:#257bd5}.hero-copy>p{max-width:620px;color:#65788e;font-size:15px;line-height:1.9;margin:0}.hero-points{display:flex;flex-wrap:wrap;gap:11px;margin-top:25px}.hero-points span{font-size:11px;color:#316a9f;background:#eaf4ff;border:1px solid #d8e9fc;border-radius:30px;padding:7px 11px;font-weight:700}.hero-flow{background:linear-gradient(145deg,#0a438d,#062b66);padding:28px;border-radius:22px;box-shadow:0 22px 40px #0a40842b;display:grid;gap:11px}.hero-flow>div{border:1px solid #ffffff33;background:#ffffff13;border-radius:13px;padding:17px 19px;color:#eaf5ff}.hero-flow small{display:block;color:#9acbff;font-size:10px;letter-spacing:.14em;font-weight:800}.hero-flow strong{display:block;font-size:16px;margin:5px 0}.hero-flow p{font-size:11px;color:#bcdbfb;margin:0}
.workspace,.history-section{scroll-margin-top:92px}.workspace{background:#fff;border:1px solid #e0eaf4;border-radius:22px;box-shadow:0 16px 36px #173b6610;overflow:hidden}.workspace-head{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:28px 30px 18px;border-bottom:1px solid #edf2f8}.workspace-head h2,.history-head h2{margin:8px 0 0;color:#173657;font-size:25px;letter-spacing:-.035em}.stepper{display:flex;gap:5px;flex-wrap:wrap}.stepper span{font-size:10px;color:#9aafc2;background:#f2f6fa;border-radius:8px;padding:8px 10px;font-weight:750}.stepper span.current{background:#e4f1ff;color:#146cce}.workflow-message{margin:0;padding:12px 30px;background:#f6faff;color:#4c7398;font-size:12px;line-height:1.6}.workflow-message.error{background:#fff3f0;color:#b54a39}.stage{padding:30px}.stage-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:23px}.stage-heading>div{display:flex;align-items:center;gap:12px}.stage-number{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;color:#126cca;background:#e9f4ff;font-size:11px;font-weight:800}.stage-heading h3{font-size:21px;color:#193b5b;margin:0}.stage-heading p,.stage-intro{font-size:12px;color:#8093a7;line-height:1.7;margin:6px 0 0}.stage label{font-size:12px;color:#47637d;font-weight:750}.stage textarea,.stage input:not([type=radio]){border:1px solid #dce7f2;background:#f9fbfe;border-radius:11px;color:#183451;outline:none}.stage textarea:focus,.stage input:focus{border-color:#2984de;box-shadow:0 0 0 3px #d5ebff}.stage textarea{display:block;width:100%;min-height:130px;margin-top:10px;padding:15px 17px;line-height:1.7;resize:vertical}.example-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.example-row span{font-size:11px;color:#8798a9}.example-row button,.preset-bar button{border:1px solid #d5e5f4;background:#f5faff;color:#3d78ad;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:700}.example-row button:hover,.preset-bar button:hover,.preset-bar button.selected{background:#e4f1ff;border-color:#8abdec;color:#146cce}.form-footer,.stage-actions{display:flex;align-items:end;justify-content:flex-end;gap:11px;flex-wrap:wrap}.form-footer{margin-top:22px}.access-field{display:grid;gap:6px;margin-right:auto;min-width:230px}.access-field input{height:43px;padding:0 12px}.primary-button,.secondary-button{border-radius:10px;padding:10px 18px;min-height:42px;font-size:12px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary-button{border:1px solid #146dce;background:#146dce;color:#fff;box-shadow:0 7px 14px #1b76d12a}.primary-button:hover{background:#075daf}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:wait}.secondary-button{border:1px solid #cbdff4;background:#fff;color:#1c6cbe}.secondary-button:hover{background:#edf7ff}.text-button{border:0;background:none;color:#2b78c8;font-size:12px;font-weight:750;padding:7px}.text-button:hover{text-decoration:underline}
.insight-card{padding:20px 22px;border:1px solid #dcebf9;background:#f2f8ff;border-radius:13px;margin-bottom:23px}.insight-card span{font-size:10px;color:#3980c2;font-weight:800;letter-spacing:.1em}.insight-card strong{display:block;font-size:15px;color:#1d527f;margin:8px 0}.insight-card p{color:#6f849a;font-size:12px;line-height:1.65;margin:0}.question-item{display:grid;gap:8px;margin:0 0 17px}.question-item>span{font-size:11px;color:#8095a9}.question-item textarea{min-height:75px;margin-top:0}.stage-actions{margin-top:20px}.preset-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:19px}.preset-bar>span{font-size:12px;color:#67819b;font-weight:750;margin-right:6px}.material-list{display:grid;gap:16px}.material-card{border:1px solid #e1eaf4;border-radius:15px;padding:20px;background:#fff}.material-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.material-top h4{font-size:16px;margin:0;color:#193b5b}.material-top p{font-size:11px;color:#8295a6;margin:5px 0 0}.quantity-control{display:flex;align-items:center;gap:8px;font-size:11px;color:#8295a6}.quantity-control input{width:65px;height:36px;padding:0 8px;text-align:center}.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.option-card{display:block;position:relative;border:1px solid #e2eaf3;border-radius:11px;padding:14px;cursor:pointer;background:#fafcff;min-height:113px}.option-card.active{border:2px solid #2178d2;padding:13px;background:#f1f8ff}.option-card input{position:absolute;right:12px;top:12px;accent-color:#1972d1}.option-card strong{display:block;font-size:12px;color:#224560;padding-right:18px}.option-card span{display:block;color:#146cce;font-size:15px;font-weight:800;margin:7px 0}.option-card small{display:block;color:#7b8fa2;font-size:10px;line-height:1.55}.custom-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.custom-editor{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px;padding:12px;background:#f6faff;border-radius:9px}.custom-editor input{height:38px;padding:0 9px}.custom-editor input[name=custom-model]{flex:1;min-width:180px}.custom-editor input[name=custom-price]{width:115px}.material-note{color:#8194a8;font-size:11px;line-height:1.7;margin:15px 0}.material-footer{display:flex;justify-content:space-between;align-items:end;gap:20px;border-top:1px solid #e8eef5;padding-top:20px}.material-footer>div:first-child{display:grid;gap:3px}.material-footer small,.result-cost small{font-size:10px;color:#8fa1b2;font-weight:700}.material-footer strong,.result-cost strong{font-size:29px;color:#156ac5}.material-footer span,.result-cost span{font-size:10px;color:#98a8b8}
.result-grid{display:grid;grid-template-columns:1fr 180px;gap:25px;padding:22px;border-radius:15px;background:#f5faff;border:1px solid #e2effa}.result-label{font-size:10px;letter-spacing:.12em;color:#4789c7;font-weight:800}.result-grid h4{font-size:20px;margin:8px 0;color:#173657}.result-grid p{font-size:12px;color:#70869c;line-height:1.7;max-width:700px}.result-tags{display:flex;flex-wrap:wrap;gap:7px}.result-tags span{background:#fff;color:#547590;font-size:11px;padding:6px 9px;border-radius:7px}.result-cost{display:grid;align-content:center;justify-items:center;gap:7px;border-left:1px solid #d7e7f5}
.history-section{margin:65px 0 70px}.history-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:19px}.history-head p{font-size:12px;color:#8396a9;line-height:1.7;margin:8px 0 0}.history-tools{display:flex;align-items:center;gap:9px}.history-tools input{border:1px solid #dce7f2;background:#fff;border-radius:9px;padding:0 12px;height:39px;min-width:220px;color:#274761}.history-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.history-card{border:1px solid #e1eaf4;background:#fff;border-radius:13px;padding:17px;box-shadow:0 5px 15px #173b6608}.history-card small{font-size:10px;color:#91a2b3}.history-card h3{margin:7px 0;font-size:15px;color:#1d4263}.history-card p{font-size:11px;color:#7c91a5;line-height:1.6;height:35px;overflow:hidden;margin:0 0 15px}.history-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.history-card button{border:0;background:#edf6ff;color:#2475c3;border-radius:7px;padding:6px 10px;font-size:11px;font-weight:700}.history-card .delete-history{background:none;color:#a2aeba}.history-empty{grid-column:1/-1;border:1px dashed #cddfed;background:#fff;border-radius:13px;text-align:center;padding:35px;color:#8297aa;font-size:12px}
.diagram-dialog{width:min(96vw,1250px);max-height:94vh;border:0;border-radius:19px;padding:0;color:#193752;box-shadow:0 25px 70px #08285055}.diagram-dialog::backdrop{background:#0c274ca8}.dialog-head,.dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 25px;background:#fff}.dialog-head{border-bottom:1px solid #e4edf6}.dialog-head h2{font-size:23px;margin:6px 0;color:#163655}.dialog-head p{font-size:11px;color:#8194a7;margin:0}.dialog-close{border:0;background:#eef5fb;color:#49769e;font-size:25px;width:35px;height:35px;border-radius:8px}.dialog-body{overflow:auto;max-height:calc(94vh - 172px);padding:20px 25px}.dialog-foot{border-top:1px solid #e4edf6}.dialog-foot span{font-size:11px;color:#8194a7}.diagram-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.diagram-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.85fr);gap:15px}.diagram-canvas{border:1px solid #dce9f6;background:#f6faff;border-radius:13px;overflow:hidden}.diagram-canvas svg{display:block;width:100%;height:auto;min-height:360px;touch-action:none}.diagram-canvas>p{font-size:10px;color:#879bb0;text-align:center;margin:0;padding:9px}.diagram-sidebar{border:1px solid #e2eaf3;border-radius:13px;padding:14px;max-height:560px;overflow:auto}.diagram-sidebar h3{font-size:12px;color:#315a7d;margin:0 0 10px}.diagram-sidebar h3:not(:first-child){margin-top:20px}.node-row,.wire-row{display:grid;gap:6px;padding:9px;border:1px solid #e7eef5;border-radius:8px;margin-bottom:7px}.node-row input,.wire-row input,.wire-row select{height:31px;border:1px solid #d9e5ef;border-radius:6px;padding:0 8px;color:#365a77;background:#fff;font-size:11px;width:100%}.node-row{grid-template-columns:1fr auto;align-items:center}.wire-row>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.wire-row button,.node-row button{border:0;background:#fff0ed;color:#b76051;border-radius:6px;padding:5px 7px;font-size:10px}.wire-row small{font-size:10px;color:#7290a8}.output-panels{display:grid;gap:9px;margin-top:18px}.output-panels details{border:1px solid #e2eaf3;border-radius:9px;padding:12px}.output-panels summary{cursor:pointer;font-size:12px;font-weight:750;color:#335b7d}.output-panels details>p{font-size:11px;color:#8194a7}.output-panels table{width:100%;border-collapse:collapse;font-size:11px;margin:12px 0}.output-panels td,.output-panels th{padding:8px;border-bottom:1px solid #edf2f7;text-align:left}.output-panels th{color:#7f94a7}.output-panels ol{font-size:12px;color:#52708b;line-height:1.7}.output-panels pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;background:#10233a;color:#cde5fa;padding:13px;border-radius:7px;font-size:10px}
footer{border-top:1px solid #e5ecf3;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px max(5%,calc((100vw - 1280px)/2));color:#95a3b1;font-size:10px;line-height:1.6}
@media(max-width:950px){.site-header nav{gap:12px}.hero{grid-template-columns:1fr}.hero-flow{grid-template-columns:repeat(3,1fr)}.option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diagram-layout{grid-template-columns:1fr}.history-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){main{padding:0 16px}.site-header{height:64px;padding:0 16px}.site-header nav,.header-badge{display:none}.hero{padding:37px 0;gap:22px}.hero h1{font-size:34px}.hero-copy>p{font-size:13px}.hero-flow{grid-template-columns:1fr;padding:15px}.hero-flow>div{padding:11px}.workspace-head,.stage{padding:20px}.workspace-head,.stage-heading,.history-head,.material-footer{display:block}.stepper{margin-top:15px}.stage-heading>p,.stage-heading>.text-button{margin-top:12px}.workflow-message{padding:11px 20px}.form-footer{display:grid}.access-field{margin:0}.option-grid,.history-list{grid-template-columns:1fr}.material-footer .stage-actions{margin-top:14px}.history-tools{margin-top:14px}.history-tools input{min-width:0;flex:1}.result-grid{grid-template-columns:1fr}.result-cost{border-left:0;border-top:1px solid #d7e7f5;padding-top:13px;justify-items:start}.diagram-dialog{width:100vw;max-height:100vh;border-radius:0}.dialog-body{max-height:calc(100vh - 170px);padding:14px}.dialog-head,.dialog-foot{padding:15px}.diagram-canvas svg{min-height:250px}footer{display:block;padding:20px 16px}}
.hero{grid-template-columns:1.2fr .8fr;gap:22px;padding:23px 0 18px}.hero h1{font-size:clamp(28px,3vw,38px);line-height:1.2;margin:9px 0}.hero-copy>p{font-size:12px;line-height:1.6}.hero-points{margin-top:12px;gap:7px}.hero-points span{padding:5px 8px;font-size:10px}.hero-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:13px;border-radius:14px}.hero-flow>div{padding:11px}.hero-flow strong{font-size:12px;margin:4px 0}.hero-flow p{display:none}.workspace-head{padding:20px 25px 14px}.stage{padding:23px 25px}@media(max-width:950px){.hero{grid-template-columns:1fr}.hero-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.hero{padding:19px 0 13px}.hero h1{font-size:28px}.hero-flow{display:none}.hero-copy>p{font-size:12px}.hero-points{margin-top:10px}.workspace-head,.stage{padding:17px}.workspace-head h2{font-size:21px}.stepper{margin-top:11px}}
