:root{--ink:#142940;--muted:#667b92;--blue:#208bde;--bg:#f5f8fc;--line:#e1eaf3;--surface:#fff;--focus:#156db4;--shadow:0 12px 50px rgba(36,66,106,.055)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}.file-label,button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}.file-label:focus-within,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.shell{min-height:100vh}.topbar{display:flex;align-items:center;gap:20px;padding:15px max(25px,calc((100vw - 1470px)/ 2));background:#fff;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:#182e45;display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800}.logo{background:linear-gradient(145deg,#1689e9,#87c8ff);color:#fff;width:33px;height:33px;border-radius:10px;display:grid;place-items:center;font-weight:800}.bread{color:#8291a4;font-size:13px}.bread b{color:#405f7c}.local{margin-left:auto;border:1px solid #ceefdf;color:#278669;background:#f2fff9;padding:7px 10px;border-radius:30px;font-size:12px;font-weight:650}.wrap{max-width:1470px;padding:30px 24px 35px;margin:auto}.hero{display:flex;align-items:center;justify-content:space-between;gap:35px;margin:12px 0 30px}.eyebrow{color:#3b90d0;letter-spacing:.14em;font-size:11px;font-weight:800;margin:0 0 8px}.hero h1{font-size:clamp(35px,4vw,56px);line-height:1.13;letter-spacing:-.05em;margin:0;color:#162d46}.hero h1 em{font-style:normal;color:var(--blue)}.hero p:not(.eyebrow){color:var(--muted);font-size:15px;margin:12px 0 0;max-width:680px}.hero-badge{background:linear-gradient(130deg,#ebf7ff,#fff);border:1px solid #d5eaff;border-radius:19px;padding:12px 28px;min-width:210px;display:grid;gap:1px}.hero-badge strong{font-size:30px;letter-spacing:-.06em;color:var(--blue);line-height:1.2}.hero-badge span{font-weight:750}.hero-badge small{font-size:11px;color:var(--muted)}.studio{display:grid;grid-template-columns:minmax(310px,370px) minmax(0,1fr);align-items:start;gap:21px}.panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);min-width:0}.sidebar{padding:23px;max-height:calc(100vh - 45px);overflow-y:auto;scrollbar-width:thin;position:sticky;top:16px}.panel-head,.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2,.preview-heading h2{margin:0;font-size:19px;letter-spacing:-.025em}.small-pill{color:#668dae;font-size:11px;background:#eef7ff;border-radius:10px;padding:5px 9px;font-weight:700}.control-section{border-top:1px solid var(--line);margin-top:22px;padding-top:21px}.control-section h3{margin:0 0 11px;font-size:15px;letter-spacing:-.01em;display:flex;align-items:center;gap:8px}.step{width:26px;height:26px;border-radius:8px;background:#eaf4fd;display:grid;place-items:center;color:#1681cc;font-size:12px}.help,.hint{color:var(--muted);font-size:12px;line-height:1.55;margin:0 0 12px}.hint{margin:7px 0 10px;font-size:11px}code{background:#f2f6fc;color:#366e99;padding:1px 3px;border-radius:4px}label{display:block;font-size:12px;font-weight:700;color:#4a6682;margin:14px 0 7px}input:not([type=file],[type=range],[type=color]),select,textarea{background:#fff;color:#182e45;border:1px solid #d8e3ee;border-radius:10px;width:100%;padding:11px 12px;min-height:41px;outline:0}input:focus,select:focus,textarea:focus{border-color:#389fe8}textarea{min-height:148px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11.5px;line-height:1.55}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:13px}.twocol>div{min-width:0}input[type=color]{border:1px solid var(--line);background:#fff;border-radius:10px;height:42px;width:100%;padding:5px}.buttonrow{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}.file-label{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce7f1;padding:10px 12px;border-radius:10px;color:#356487;font-weight:750;font-size:12px;background:#f8fbff;margin:0;white-space:nowrap;text-decoration:none}.blocklabel{display:flex}.downloadbtn,.iconbtn,.playbtn,.primary,.secondary{border-radius:10px;padding:10px 13px;border:1px solid #dce7f1;background:#fff;color:#3e6380;font-weight:750;font-size:12px;min-height:40px}.primary{color:#fff;background:linear-gradient(120deg,#167cdb,#28a0e9);border-color:transparent;box-shadow:0 4px 12px #228bdb24}.full{width:100%}.summary{background:#f3f8fc;border-radius:9px;padding:10px;font-size:12px;color:#54748d;margin-top:10px}.textbutton{background:0 0;border:0;color:#428dbd;text-decoration:underline;font-size:12px;padding:9px 0}.mainpanel{padding:24px;overflow:hidden}.preview-heading{margin-bottom:18px}.preview-heading h2{font-size:21px}.toolbar{display:flex;gap:7px;align-items:center}.iconbtn{font-size:19px;min-width:39px;line-height:1}.canvas-shell{background:#e4ebf3;border-radius:15px;padding:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:350px;background-image:radial-gradient(#cdd9e6 1px,transparent 1px);background-size:20px 20px}.canvas-wrap{width:100%;max-width:800px;display:flex;justify-content:center;align-items:center;min-width:0}canvas{display:block;width:100%;height:auto;max-height:min(65vh,650px);object-fit:contain;box-shadow:0 12px 40px rgba(14,31,55,.22);background:#121c2e;border-radius:6px}.preview-tag{margin-top:15px;color:#57718e;font-weight:650;font-size:11px;background:#ffffffdf;border-radius:50px;padding:6px 13px}.timelinebar{display:flex;align-items:center;gap:12px;padding:18px 0 19px;border-bottom:1px solid var(--line)}.playbtn{background:#e7f3ff;color:#187eca;min-width:44px;font-size:17px}.timelinebar input[type=range]{flex:1;min-width:45px;accent-color:var(--blue)}.clock{font-size:12px;color:#59728b;font-variant-numeric:tabular-nums;white-space:nowrap}.info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:21px 0}.info{border:1px solid #e5edf5;border-radius:12px;padding:14px 13px;display:grid;gap:4px;min-width:0}.info b{font-size:17px;letter-spacing:-.035em;overflow:hidden;text-overflow:ellipsis}.info span{font-size:11px;color:var(--muted)}.export-card{border:1px solid #d7e8f8;background:linear-gradient(135deg,#f1f9ff,#fff);border-radius:16px;padding:21px;display:grid;grid-template-columns:minmax(0,1fr) minmax(185px,240px);gap:20px}.export-card h2{font-size:20px;letter-spacing:-.025em;margin:0 0 6px}.export-card p:not(.eyebrow){font-size:12px;color:var(--muted);margin:0;max-width:475px}.export-actions{display:grid;align-content:end;gap:8px}.export-actions label{margin:0}.export-actions .primary{min-height:44px}.status{margin-top:17px;color:#496d8d;font-size:13px;line-height:1.5;min-height:25px}.status.error{color:#b53f45}.status.good{color:#198057}.progress-area{margin:7px 0 16px;display:flex;align-items:center;gap:13px;color:#5d7790;font-size:12px}.progress-rail{height:8px;flex:1;background:#e3ecf4;border-radius:8px;overflow:hidden}.progress-fill{width:0;height:100%;background:#3297dd;transition:width .15s}.downloadrow{display:flex;flex-wrap:wrap;gap:9px;margin:11px 0 21px}.downloadbtn{background:#e6f7ef;color:#138057;border:1px solid #b5ecd2}.data-details{border-top:1px solid var(--line);padding:19px 0 0}.data-details summary{color:#3d6d91;cursor:pointer;font-weight:700}.table-scroll{margin-top:14px;max-height:380px;overflow:auto;border:1px solid var(--line);border-radius:10px}table{border-collapse:collapse;width:100%;font-size:12px}td,th{text-align:left;padding:9px 12px;border-bottom:1px solid var(--line)}th{background:#f5f9fd;position:sticky;top:0}tr:nth-child(2n){background:#fbfdff}.faq{margin:55px 0 18px}.faq h2{font-size:25px;letter-spacing:-.035em}.faq-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.faq article{border:1px solid var(--line);background:#fff;border-radius:15px;padding:20px}.faq h3{font-size:14px;margin:0 0 6px}.faq p{font-size:12px;color:var(--muted);margin:0}footer{text-align:center;color:#8193a5;padding:20px 0 7px;font-size:12px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}[hidden]{display:none!important}@media(max-width:1120px){.studio{grid-template-columns:320px minmax(0,1fr)}.mainpanel{padding:17px}.sidebar{padding:18px}.faq-grid{grid-template-columns:repeat(2,1fr)}.export-card{grid-template-columns:1fr}.export-actions{grid-template-columns:1fr 1fr;align-items:end}.export-actions label{grid-column:1/-1}}@media(max-width:850px){.studio{grid-template-columns:1fr}.sidebar{position:static;max-height:none}.wrap{padding:20px 13px}.hero{margin:0 0 24px}.topbar{padding:13px 16px}.bread{display:none}.canvas-shell{min-height:240px}.mainpanel{padding:17px}}@media(max-width:510px){.hero-badge{display:none}.hero h1{font-size:37px}.hero p:not(.eyebrow){font-size:13px}.local{font-size:10px;padding:6px}.mainpanel,.sidebar{border-radius:15px;padding:15px}.panel-head h2{font-size:17px}.canvas-shell{padding:11px;min-height:170px}.info-grid{grid-template-columns:repeat(2,1fr)}.faq-grid{grid-template-columns:1fr}.timelinebar{gap:7px}.clock{font-size:10px}.export-card{padding:14px}.export-actions{grid-template-columns:1fr}.preview-heading h2{font-size:18px}.toolbar{gap:4px}.iconbtn{min-width:33px;padding:6px}.preview-tag{font-size:10px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important}}.buttonrow select{flex:1 1 150px;min-width:120px;min-height:37px;padding:6px 8px;font-size:12px}.buttonrow .file-label{min-width:145px}.buttonrow button{min-height:37px}#insightPanel{line-height:1.6}#insightPanel p{margin:4px 0 12px}#insightPanel .hint{margin:10px 0 0}.range-card{border:1px solid #dce8f4;border-radius:15px;padding:17px 20px;margin:0 0 15px;background:#fafdff;display:grid;gap:7px}.range-card h3{font-size:15px;margin:0;color:#263f58}.range-card .buttonrow{margin:0}.range-card .hint{margin:0}.range-card label{margin:3px 0 5px}.range-card .buttonrow button{flex:1 1 130px}@media(max-width:510px){.range-card{padding:14px}.range-card .buttonrow button{flex:1 1 100%}}.wrap{padding-top:14px}.hero{margin:0 0 15px;gap:14px}.hero h1{font-size:clamp(30px,3.1vw,44px)}.stage-card{border:1px solid #dbe7f2;background:#f9fbfe;border-radius:14px;padding:15px;margin:0 0 18px}.stage-head{display:flex;justify-content:space-between;gap:9px;font-size:13px;color:#23425f;align-items:center}.stage-head span{font-size:11px;color:#617e99}.stage-strip{display:flex;gap:3px;overflow-x:auto;scrollbar-width:thin;margin:13px 0;padding:5px 1px 10px;min-height:54px}.stage-chip{flex:1 0 38px;min-width:38px;max-width:220px;border:1px solid #b7d0e5;color:#285679;background:#e9f4fe;border-radius:8px;min-height:43px;padding:6px 3px;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;cursor:pointer}.stage-chip span{font-size:10px;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}.stage-chip small{font-size:9px;opacity:.82}.stage-chip.active{background:#176fb9;color:#fff;border-color:#176fb9}.stage-editor{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:9px;align-items:end}.stage-editor label{margin:3px 0 5px}.stage-editor button{min-height:41px}@media(max-width:650px){.stage-editor{grid-template-columns:1fr 1fr}.stage-editor button{grid-column:1/-1}.hero-badge{display:none}.stage-chip{flex-basis:50px}}.data-quality{color:#516f86;border-left:3px solid #9ccce8;padding:6px 8px;margin:8px 0 0;font-size:11px;line-height:1.5;background:#f7fafc}.dirty-indicator{font-size:11px;color:#238361;white-space:nowrap;font-weight:700}.dirty-indicator.dirty{color:#bd711e}@media(max-width:600px){.dirty-indicator{font-size:9px}.preview-heading{align-items:flex-start}.preview-heading .toolbar{flex-wrap:wrap;justify-content:flex-end}}