@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";:root{font-family:DM Sans,Segoe UI,sans-serif;color:#193329;background:#f2f6f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:#277750}.shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{background:#173d2d;color:#eef8f0;padding:24px 16px;display:flex;flex-direction:column;gap:42px}.brand{display:flex;align-items:center;gap:12px;padding:0 10px}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:#16412b;background:#b1e4bf;font-size:23px}.brand strong{display:block;font:800 18px Manrope,Segoe UI,sans-serif;letter-spacing:-.04em}.brand small{display:block;color:#add4b6;text-transform:uppercase;letter-spacing:.11em;font-size:9px;margin-top:2px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;border-radius:9px;padding:13px 12px;color:#bad5c1;background:transparent;text-align:left;font-weight:700;display:flex;align-items:center;gap:12px}.sidebar nav button span{width:24px;text-align:center;font-size:17px}.sidebar nav button:hover,.sidebar nav button.active{background:#2d6349;color:#fff}.sidebar nav button.active{box-shadow:inset 3px 0 #abe8bf}.sidebar-bottom{margin-top:auto;padding:15px 11px;border-top:1px solid #35624a;color:#b4d5bb;font-size:12px}.sidebar-bottom>span{font-weight:800;letter-spacing:.1em;text-transform:uppercase}.sidebar-bottom p{line-height:1.6;margin-bottom:0}main{min-width:0;padding:0 clamp(16px,3vw,54px) 70px;max-width:1740px;width:100%;margin:0 auto}header{height:94px;border-bottom:1px solid #dce6dd;display:flex;justify-content:space-between;align-items:center;gap:18px}.eyebrow{font-size:10px;letter-spacing:.17em;color:#478460;font-weight:800}h1,h2,h3,h4,h5{font-family:Manrope,Segoe UI,sans-serif;letter-spacing:-.045em}h1{font-size:25px;margin:5px 0 0}h2{font-size:29px;margin:7px 0}h3{font-size:18px;margin:5px 0 0}h4{font-size:16px;margin:20px 0 10px}h5{font-size:13px;margin:0}button:not(.sidebar button):not(.tree button):not(.icon-button):not(.link){border:1px solid #257449;background:#28794d;color:#fff;border-radius:8px;padding:10px 13px;font-weight:700;font-size:12px;min-height:38px}button.secondary{background:#fff!important;color:#286e49!important;border-color:#bfd6c5!important}button.link{background:transparent;border:0;padding:5px 0;color:#28784d;font-weight:700}.link.danger{color:#a34d3f}.header-actions,.toolbar-buttons,.product-heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toolbar{display:flex;align-items:end;gap:18px;padding:20px 0}.toolbar>.field{min-width:280px}.toolbar-state{display:flex;align-items:center;gap:8px;color:#688073;font-size:12px;white-space:nowrap}.toolbar-buttons{margin-left:auto}.badge{border-radius:100px;background:#e8f3eb;color:#35714b;font-size:11px;font-weight:800;padding:5px 9px;white-space:nowrap}.notice{padding:10px 15px;border-radius:9px;margin:14px 0;display:flex;justify-content:space-between;gap:12px;font-size:13px}.notice button{border:0;background:transparent;color:inherit;min-height:0;padding:0;font-size:18px}.notice.success{background:#e4f5e8;border:1px solid #b8d9c0;color:#245f39}.notice.error{background:#fff0ed;border:1px solid #eeb8ad;color:#9e3c31}.welcome{text-align:center;background:#fff;border:1px solid #e0eae2;border-radius:18px;min-height:480px;padding:80px 30px;margin:36px auto;max-width:960px;box-shadow:0 12px 50px #183c2810}.welcome-icon{margin:0 auto 20px;width:74px;height:74px;border-radius:20px;background:#e5f5e9;color:#2f8c57;display:grid;place-items:center;font-size:38px}.welcome h2{font-size:34px;margin:8px auto;max-width:650px}.welcome p{color:#698073;line-height:1.65;max-width:570px;margin:0 auto 25px}.product-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:20px 0}.product-heading p{margin:0;color:#6c8273;font-size:13px}.editor-layout{display:grid;grid-template-columns:minmax(390px,1.25fr) minmax(430px,1fr);gap:18px;align-items:start}.viewer-panel,.editor-panel{background:#fff;border:1px solid #dce8df;border-radius:14px;overflow:hidden;min-width:0}.viewer-panel{position:sticky;top:12px}.viewer-stage{height:min(67vh,720px);min-height:480px;background:#111c27;position:relative}.viewer-stage canvas{width:100%;height:100%;display:block;touch-action:none}.viewer-hint{position:absolute;bottom:13px;left:13px;color:#b9d0d2;background:#17323bbf;border:1px solid #45606a;border-radius:7px;padding:8px;font-size:11px;pointer-events:none}.explode-control{display:flex;gap:12px;align-items:center;padding:17px 20px;font-size:11px;font-weight:700;color:#5c7b6a}.explode-control input{flex:1;accent-color:#27945a}.editor-panel{padding:23px;min-height:620px}.panel-title,.section-head,.step-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title{margin-bottom:16px}.field{display:grid;gap:6px;margin:12px 0;min-width:0}.field>span{color:#526e5c;font-size:11px;font-weight:800}.field small{color:#84988a;font-size:11px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}input:not([type=range]):not([type=file]),select,textarea{width:100%;min-width:0;border:1px solid #cddfd1;background:#fff;color:#173824;border-radius:8px;padding:9px 10px;outline:none}input[type=file]{max-width:100%;font-size:12px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #3d9963;outline-offset:2px}textarea{resize:vertical}.muted{color:#6b8172;font-size:13px;line-height:1.55}.tree{display:grid;gap:9px}.tree-group{border:1px solid #dfebe2;border-radius:9px;background:#f9fcfa;overflow:hidden}.tree button{border:0;background:transparent;color:#234833;text-align:left;padding:9px 12px;display:flex;align-items:center;gap:9px;width:100%;font-size:12px}.tree-group>button{background:#edf6ef}.tree button.selected{background:#d6eedc;color:#175d33}.tree button strong{flex:1}.tree button small{color:#7c9782}.tree-children{padding-left:22px}.tree-children button{border-left:1px solid #c7decf}.tree-children .tree-add{color:#2b8654;font-weight:700}.detail-card,.rule-card,.step-card{background:#f9fbf9;border:1px solid #dce9df;border-radius:10px;padding:16px;margin-top:16px}.detail-card h4{margin-top:0}.vector-input{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.vector-input label{font-size:10px;color:#78917c;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px}.vector-input input{padding:6px!important}.attribute-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.attribute-list label{font-size:11px;color:#51735c;display:flex;align-items:center;gap:8px}.material-line{display:grid;grid-template-columns:minmax(120px,2fr) minmax(70px,1fr) minmax(70px,1fr) 100px 30px;gap:7px;align-items:center;margin:8px 0}.material-line>small{grid-column:1/-1;color:#79917d}.icon-button{border:0;background:#fcecea;color:#a74439;border-radius:6px;width:28px;height:32px;font-size:18px}.formula{font-family:Consolas,monospace!important;color:#1e6741!important}.rule-list,.steps{display:grid;gap:13px}.rule-card,.step-card{margin-top:0}.rule-card .field,.step-card .field{margin:8px 0}.step-head strong{border-radius:30px;background:#dfeee3;color:#2a7045;padding:5px 9px;font-size:11px}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{background:#ecf5ee;border:1px solid #d7e8da;border-radius:9px;padding:15px}.metric small,.metric strong,.metric span{display:block}.metric small{font-size:11px;color:#608068}.metric strong{font:800 22px Manrope,Segoe UI,sans-serif;margin:5px 0}.metric span{font-size:11px;color:#698771}.issues{display:grid;gap:7px}.issue{display:grid;gap:3px;padding:10px 12px;border-radius:8px;border:1px solid #f0c4b8;background:#fff3ef;color:#9a3a2c;font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;border-bottom:1px solid #e3ece5;padding:10px 7px}th{text-transform:uppercase;letter-spacing:.06em;font-size:10px;color:#768b7b}.cost-step{display:flex;gap:12px;border-bottom:1px solid #e5eee7;padding:10px 0;font-size:12px}.cost-step span:first-child{flex:1}.empty{border:1px dashed #c6dccb;background:#f8fbf9;color:#6c8371;border-radius:9px;text-align:center;padding:28px;font-size:13px}@media(max-width:1120px){.editor-layout{grid-template-columns:1fr}.viewer-panel{position:static}.viewer-stage{height:480px;min-height:480px}.toolbar{flex-wrap:wrap}.toolbar-buttons{margin-left:0}}@media(max-width:760px){.shell{display:block}.sidebar{padding:12px;gap:10px}.brand{padding:0 4px}.sidebar nav{display:flex;overflow-x:auto}.sidebar nav button{white-space:nowrap;min-width:max-content}.sidebar-bottom{display:none}main{padding:0 14px 50px}header{height:auto;padding:17px 0;align-items:start}.header-actions{justify-content:end}h1{font-size:21px}.toolbar>.field{min-width:100%}.toolbar-state{white-space:normal}.product-heading{display:block}.product-heading-actions{margin-top:15px}.viewer-stage{height:50vh;min-height:340px}.editor-panel{padding:16px}.field-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.material-line{grid-template-columns:1fr 1fr}.material-line small{display:none}}@media(max-width:480px){header{display:block}.header-actions{margin-top:12px}.field-grid,.field-grid.three{grid-template-columns:1fr}.product-heading-actions button{flex:1}.explode-control{padding:12px;gap:6px}.viewer-hint{font-size:10px;right:10px}.metrics{grid-template-columns:1fr}}.sidebar-bottom a{display:inline-block;margin-top:12px;color:#b1e4bf;font-weight:700}
