:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14243c;background:#f5f8fc;--blue:#267ce8;--muted:#69798e;--line:#dfe7f0;--panel:#fff;--pale:#eaf4ff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}input,select{max-width:100%;background:#fff;border:1px solid #dbe4ee;border-radius:9px;color:#1b3048;padding:10px 11px;min-height:39px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8bc2ff;outline-offset:2px}a{color:inherit;text-decoration:none}.skip{position:absolute;top:-50px;left:10px;z-index:20;background:#fff;padding:12px}.skip:focus{top:6px}.topbar{height:64px;display:flex;align-items:center;gap:20px;padding:0 clamp(18px,4vw,56px);background:#fff;border-bottom:1px solid var(--line)}.brand{font-weight:750;letter-spacing:-.5px;font-size:17px;white-space:nowrap}.mark{color:#62acf7;font-size:24px}.slash{color:#b7c5d7;padding:0 5px}.product{color:#667991;font-weight:600}.privacy{margin:auto;font-size:12px;color:#526982;background:#eff8f4;border:1px solid #e2f0e9;border-radius:20px;padding:8px 12px}.dot{display:inline-block;background:#21ab7a;width:7px;height:7px;border-radius:50%;margin-right:6px}.alltools{font-size:13px;color:#526982}main{max-width:1820px;margin:0 auto;padding:0 clamp(12px,2.6vw,42px)}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 12px 23px}.eyebrow,.overline,.pane-heading small{font-size:10px;letter-spacing:1.7px;color:var(--blue);font-weight:800}.intro h1{font-size:clamp(26px,3vw,42px);letter-spacing:-1.5px;margin:8px 0 7px}.intro h1 span{color:#3d93f0}.intro p{color:#667991;font-size:14px;margin:0;line-height:1.6}.intro-badge{min-width:180px;border:1px solid #d7e9f8;border-radius:14px;padding:15px 22px;background:linear-gradient(130deg,#eaf6ff,#fff);display:flex;flex-direction:column;gap:3px}.intro-badge>span{color:#1480db;font-size:11px;letter-spacing:2px;font-weight:800}.intro-badge strong{font-size:20px}.intro-badge small{color:var(--muted);font-size:11px}.actions-bar{border:1px solid var(--line);border-radius:14px 14px 0 0;background:#fff;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.project-title{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;white-space:nowrap}.project-title input{min-width:155px;width:210px;font-weight:650}.action-right{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}.btn,.square{border:1px solid #d7e3ef;padding:10px 13px;border-radius:9px;background:#edf5ff;color:#2567ac;font-size:12px;font-weight:750;white-space:nowrap;transition:background .16s}.btn:hover:not(:disabled),.square:hover:not(:disabled){background:#dceeff}.btn.primary{background:#277be6;border-color:#277be6;color:#fff}.btn.primary:hover{background:#1465d2}.btn.subtle,.square{background:#fff;color:#50657f}.btn.full{width:100%;margin:13px 0}.smallbtn{padding:8px 11px;font-size:11px}.square{min-width:38px;font-size:19px;padding:6px}.workspace{display:grid;grid-template-columns:minmax(210px,250px) minmax(380px,1fr) minmax(295px,360px);align-items:stretch;border:1px solid var(--line);border-top:0;background:#fff;border-radius:0 0 15px 15px;overflow:hidden;min-height:720px}.pane{padding:20px 17px;min-width:0;background:#fff}.schema-pane{border-right:1px solid var(--line)}.sql-pane{border-left:1px solid var(--line);background:#fcfdff}.pane-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 15px}.pane-heading h2{font-size:18px;letter-spacing:-.4px;margin:6px 0 0}.badge,.count{display:inline-flex;border:1px solid #d4e6f6;color:#2e7bc2;background:#eaf5ff;border-radius:20px;font-size:11px;font-weight:750;padding:4px 8px}.badge{font-size:10px}.schema-callout{font-size:11.5px;background:#f3f8ff;border:1px solid #e6eef7;border-radius:10px;padding:12px;color:#60728c;line-height:1.55;margin-bottom:16px}.table-list{display:grid;gap:10px}.table-tile{border:1px solid #e2e9f2;border-radius:11px;overflow:hidden;background:#fff}.table-tile-head{padding:10px 12px;background:#f8fbfe;display:flex;justify-content:space-between;align-items:center;gap:4px}.table-tile-head strong{font-size:12px;overflow-wrap:anywhere}.table-tile-head span{font-size:10px;color:#8493a5}.column-pick{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:#fff;padding:8px 12px;border-top:1px solid #f1f4f7;text-align:left;font-size:12px;color:#435875;gap:5px}.column-pick:hover{background:#edf7ff}.column-pick strong{font-weight:650;overflow-wrap:anywhere}.column-pick span{font-size:10px;color:#889aae;white-space:nowrap}.column-pick .plus{color:#1680dc;font-size:17px}.muted{color:var(--muted)}.small{font-size:11px;line-height:1.6}.builder-pane{min-width:0;background:#f9fbfe}.tabs{position:sticky;top:0;z-index:3;background:#fff;display:flex;gap:15px;padding:0 20px;border-bottom:1px solid var(--line)}.tab{border:0;border-bottom:2px solid transparent;padding:16px 3px 14px;background:0 0;color:#697b91;font-size:12px;font-weight:750}.tab.active{border-color:#318cfa;color:#1c6dbe}.view{padding:20px;min-width:0}.view[hidden]{display:none}.toolbar-line{display:flex;gap:13px;flex-wrap:wrap;align-items:end;padding-bottom:17px}.small-settings>label,.toolbar-line>label{display:flex;gap:6px;flex-direction:column;font-size:11px;color:#60728b;font-weight:700}.toolbar-line label select{min-width:145px}.toolbar-line label.check{flex-direction:row;align-items:center;gap:7px;padding-bottom:10px}.check input{min-height:auto;width:15px;height:15px;accent-color:#277ce5}.editor-card{background:#fff;border:1px solid #e2e9f2;border-radius:13px;margin:0 0 14px;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #f0f3f7;padding:16px}.card-head>div{display:flex;align-items:center;gap:11px}.card-head h3{font-size:14px;margin:0 0 5px;letter-spacing:-.25px}.card-head p{font-size:11px;color:#7b8b9c;margin:0;line-height:1.4}.step{flex:0 0 auto;font-size:11px;font-weight:800;color:#448ddd;background:#eaf5ff;padding:10px;border-radius:10px}.editor-rows{padding:11px 14px}.editor-row{border:1px solid #e9eef5;background:#fcfdff;border-radius:9px;padding:10px;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:7px;align-items:end}.editor-row:last-child{margin-bottom:0}.field{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 92px}.field.wide{flex:2 1 135px}.field.tiny{flex:0 1 100px}.field span{color:#657a91;font-size:10px;font-weight:750}.field input,.field select{width:100%;min-width:0;font-size:11.5px;padding:8px 9px;min-height:36px}.remove{background:#fff5f5;color:#ba5c65;border:1px solid #f6e5e5;border-radius:8px;width:34px;height:35px;font-weight:800}.remove:hover{background:#ffe7e7}.empty{border:1px dashed #dfe8f1;border-radius:9px;padding:12px;color:#90a0b3;font-size:12px;margin:0}.small-settings{padding:11px 16px 0}.small-settings select{font-size:11px;min-height:32px}.subcard{padding:0 14px 8px;border-bottom:1px solid #edf2f7}.subcard:last-child{border:0}.subhead{display:flex;align-items:center;justify-content:space-between;margin:12px 0 4px;gap:9px}.subhead h3,.subhead h4{font-size:12px;margin:0}.linkbtn{border:0;background:0 0;color:#2181de;font-size:11px;font-weight:800;padding:8px}.limits{padding:4px 16px 15px}.limits input{width:130px}.codebox,.param-code{background:#17243a;color:#e1eeff;border:1px solid #243951;border-radius:11px;padding:16px 13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;tab-size:2;max-height:450px;min-height:190px;overflow:auto;margin:9px 0}.sql-toolbar label{display:flex;gap:7px;flex-direction:column;color:#586e85;font-size:11px;font-weight:700}.sql-caption{font-size:10px;color:#899aae;padding-top:15px;text-transform:uppercase;letter-spacing:.8px;font-weight:700}.param-code{background:#f3f7fd;color:#51657d;border-color:#e0eaf4;min-height:40px;max-height:180px;padding:11px;font-size:11px}.export-actions{display:flex;flex-wrap:wrap;gap:7px}.export-actions .btn{flex:1}.preview-note{border:1px solid #dfebf6;background:#f4faff;border-radius:11px;display:flex;align-items:flex-start;gap:8px;padding:12px 10px;margin-top:19px;font-size:17px;color:#2376c3}.preview-note p{font-size:11px;line-height:1.55;margin:0;color:#61758f}.error-panel{background:#fff2f1;color:#9e353b;border:1px solid #f1d6d4;padding:11px;border-radius:10px;font-size:11.5px;line-height:1.6}.snapshots{margin-top:22px;border-top:1px solid #e7edf5}.snapshot{border:1px solid #e2e9f2;background:#fff;border-radius:8px;margin:7px 0;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.snapshot strong{display:block;font-size:11px;overflow-wrap:anywhere}.snapshot small{color:#8c9aab;font-size:10px}.snapshot button{border:0;background:0 0;color:#257ed5;padding:4px;font-size:11px}.snapshot button.danger{color:#bb656c}.schema-head{display:flex;align-items:start;justify-content:space-between;gap:15px;flex-wrap:wrap}.schema-head h2{margin:5px 0;font-size:20px}.schema-head p{color:#74879b;font-size:12px}.schema-head-actions{display:flex;gap:7px;flex-wrap:wrap}.schema-card{border:1px solid #dee7f1;border-radius:12px;background:#fff;margin-bottom:12px;padding:14px}.schema-title{display:flex;gap:8px;align-items:end}.schema-title label{flex:1}.schema-card h3{font-size:13px}.schema-columns{margin:10px 0}.schema-col{display:flex;gap:6px;flex-wrap:wrap;align-items:end;padding:7px 0;border-bottom:1px solid #eef3f8}.schema-col input[type=checkbox]{min-height:auto}.schema-col>label{flex:1 1 100px}.schema-col .field{flex:1}.schema-col .field.tiny{flex:.8}.schema-col .remove{flex:0 0 34px}.note{border:1px solid #e0e9f3;background:#f4f8fd;border-radius:12px;font-size:12px;padding:14px;color:#60738a;line-height:1.6;overflow-wrap:anywhere}.guide{background:#fff;border-radius:12px;border:1px solid #e3eaf2;padding:23px;line-height:1.75;font-size:13px;color:#5e7188}.guide h2,.guide h3{color:#1e344f}.guide ol{padding-left:23px}.guide li{margin:12px 0}footer{color:#8494a9;font-size:11px;padding:23px 8px 37px;display:flex;justify-content:space-between;gap:15px}.toast{position:fixed;bottom:25px;right:25px;max-width:min(460px,calc(100vw - 40px));z-index:20;background:#1d344e;color:#fff;border-radius:12px;padding:14px 20px;box-shadow:0 12px 30px #0f24354d;font-size:13px}.toast[hidden]{display:none}@media(max-width:1200px){.workspace{grid-template-columns:220px minmax(320px,1fr)}.sql-pane{grid-column:1/-1;border-top:1px solid var(--line);border-left:0}.sql-pane .codebox{min-height:130px}.sql-pane .export-actions{justify-content:start}.sql-pane .export-actions .btn{flex:0}}@media(max-width:760px){main{padding:0 10px}.topbar{padding:0 15px;height:57px}.privacy{display:none}.intro{padding:20px 5px}.intro-badge{display:none}.actions-bar{align-items:stretch;flex-direction:column;padding:11px}.action-right{justify-content:flex-start}.workspace{display:flex;flex-direction:column}.schema-pane{border-right:0;border-bottom:1px solid var(--line)}.pane{padding:16px}.table-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.builder-pane{order:0}.schema-pane{order:1}.sql-pane{order:2}.view{padding:13px}.tabs{padding:0 12px}.tab{font-size:11px}.card-head{padding:12px}.card-head p{font-size:10px}.editor-row{padding:7px}.intro h1{letter-spacing:-.9px}.project-title input{width:100%}.project-title{width:100%}.project-title input{flex:1;min-width:0}.schema-head-actions .btn{flex:1}.schema-col .field{flex:1 1 110px}footer{flex-direction:column}}@media(max-width:420px){.table-list{grid-template-columns:1fr}.action-right .btn{flex:1 0 auto}.field{flex:1 1 110px}.card-head{align-items:start}.card-head .btn{padding:8px 9px}.column-pick{padding:7px 9px}}@media(prefers-reduced-motion:reduce){*,::after,::before{scroll-behavior:auto!important;transition:none!important}}