:root{
 --ink:#14243b;--muted:#718198;--line:#e6ebf3;--blue:#3568e8;--blue2:#244fc2;
 --pale:#f4f7ff;--canvas:#f5f7fb;--green:#16a477;--shadow:0 18px 50px rgba(28,48,86,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
.topbar{height:78px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(calc((100% - 1220px)/2),5%);gap:48px;position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:750;white-space:nowrap;letter-spacing:-.3px}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:linear-gradient(145deg,#4b7df3,#5746c9);border-radius:13px;color:#fff;font-size:22px;box-shadow:0 7px 16px #3568e833}
.brand small{display:block;color:#9aa6b7;font-size:9px;letter-spacing:1.6px;font-weight:700}
.topbar nav{display:flex;gap:32px;margin:auto}
.topbar nav a{color:#65758c;text-decoration:none;font-size:13px;font-weight:600;transition:.2s}
.topbar nav a:hover{color:var(--blue)}
.privacy{font-size:12px;color:#64758d;white-space:nowrap;background:#f4fbf8;padding:8px 12px;border-radius:30px}
.privacy i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#20b982;margin-right:7px;box-shadow:0 0 0 3px #20b98220}
main{max-width:1220px;margin:auto;padding:0 24px}
.intro{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:65px;padding:72px 0 68px}
.eyebrow{color:var(--blue);font-size:10px;font-weight:850;letter-spacing:1.9px}
.intro h1{font-size:52px;line-height:1.08;letter-spacing:-2.3px;margin:15px 0 18px;font-weight:800}
.intro h1 em{font-style:normal;background:linear-gradient(90deg,#3568e8,#7658d8);-webkit-background-clip:text;background-clip:text;color:transparent}
.intro p{color:#718198;max-width:500px;font-size:16px;line-height:1.8;margin:0}
.intro-art{position:relative;padding:20px 10px 24px 20px}
.art-window{background:linear-gradient(145deg,#172a48,#101e35);color:#dce8fa;border-radius:20px;padding:18px 24px 22px;box-shadow:0 28px 65px #192f552e;transform:rotate(1deg);border:1px solid #ffffff15}
.dots{display:flex;gap:6px;border-bottom:1px solid #ffffff20;padding-bottom:14px}
.dots i{width:8px;height:8px;border-radius:50%;background:#7b8ca7}
.art-window pre{font:12px/2 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;color:#b8c8de}
.art-window pre b{color:#8fb5ff}
.art-chip{position:absolute;right:-2px;bottom:3px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 16px;box-shadow:0 10px 30px #1729431c;font-size:12px;font-weight:700}
.art-chip b{color:#20a879;margin-left:8px}
.workspace{background:#fff;border:1px solid #e8edf4;border-radius:20px;padding:28px;box-shadow:var(--shadow)}
.section-head,.panel-title,.panel-title>div,.import-actions,.editor-actions,.output-actions,.generate-row,.paste-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
.section-head{margin-bottom:24px}
.section-head h2,.how h2{font-size:26px;margin:5px 0 0;letter-spacing:-.8px;font-weight:780}
.step-pill{font-size:11px;color:#708098;background:#f5f7fb;border:1px solid #edf0f5;border-radius:30px;padding:9px 14px;font-weight:650}
.import-panel,.editor-panel,.settings-panel,.output-panel{border:1px solid #e7ecf3;border-radius:14px;margin-top:17px;overflow:hidden;background:#fff}
.panel-title{padding:18px 20px;border-bottom:1px solid #edf0f5;min-height:72px}
.panel-title>div:first-child{justify-content:flex-start}
.panel-title b{display:block;font-size:14px;font-weight:750;letter-spacing:-.1px}
.panel-title small,.generate-row small{display:block;color:#8a97a9;font-size:11px;margin-top:3px}
.icon{width:36px;height:36px;display:grid;place-items:center;background:#edf3ff;color:var(--blue);border-radius:11px;font-weight:750;font-size:17px;flex:0 0 auto}
.icon.blue{background:#edf3ff}
.icon.purple{background:#f1efff;color:#7255d6}
.icon.green{background:#e9f8f2;color:#14996b}
.btn{border:1px solid transparent;border-radius:9px;padding:10px 15px;font-weight:700;font-size:12px;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,#3972f0,#2859d1);color:#fff;box-shadow:0 5px 12px #3568e82c}
.btn-primary:hover{box-shadow:0 8px 18px #3568e844}
.btn-light{background:#fff;border-color:#dfe6f0;color:#52647c}
.btn-light:hover{background:#f7f9fc;border-color:#cbd7e8}
.import-panel textarea{display:block;width:calc(100% - 40px);margin:20px;height:132px;resize:vertical;border:1px dashed #cbd6e5;border-radius:11px;padding:16px;background:#fafcff;font:12px/1.7 ui-monospace,monospace;outline:none;color:#33445a;transition:.2s}
.import-panel textarea:focus{border:1px solid #83a8f5;box-shadow:0 0 0 4px #2865df12;background:#fff}
.paste-footer{padding:0 20px 16px;color:#97a2b2;font-size:11px}
.text-btn{border:0;background:none;color:var(--blue);font-weight:750;cursor:pointer}
.text-btn:hover{text-decoration:underline}
.table-wrap{overflow:auto;max-height:410px}
table{border-collapse:separate;border-spacing:0;width:100%;min-width:700px;font-size:12px}
th,td{border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:0;min-width:140px}
th{background:#f6f8fc;text-align:left;padding:11px 12px;color:#5c6e86;font-size:11px;position:sticky;top:0;z-index:1;font-weight:750}
th:first-child{min-width:42px;width:42px}
td input{border:0;border-radius:0;padding:11px 12px;width:100%;min-width:120px;font:12px ui-monospace,monospace;color:#33445a;outline:none;background:transparent}
td input:focus{background:#f1f6ff;box-shadow:inset 0 0 0 1px #8eb2ff}
.row-index{width:42px;min-width:42px;text-align:center;background:#fafbfd;color:#96a2b2;padding:9px;font-size:11px}
.empty{text-align:center;padding:48px;color:#9aa6b5}
.table-note{padding:11px 18px;color:#98a3b2;font-size:10px;background:#fbfcfe}
.settings-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:20px}
.settings-grid label{font-size:11px;color:#64748b;font-weight:750}
.settings-grid input,.settings-grid select{display:block;width:100%;margin-top:8px;border:1px solid #dce4ef;border-radius:9px;padding:11px;background:#fff;color:#33445a;font-size:12px;outline:none;transition:.2s}
.settings-grid input:focus,.settings-grid select:focus{border-color:#83a8f5;box-shadow:0 0 0 4px #2865df12}
.option-row{display:flex;flex-wrap:wrap;gap:20px;padding:0 20px 19px;border-bottom:1px solid #edf0f5}
.option-row label{font-size:11px;color:#63738a;font-weight:600}
.option-row input{accent-color:var(--blue);vertical-align:middle;margin-right:5px}
.generate-row{padding:18px 20px}
.btn-generate{padding:12px 20px;font-size:12px}
.btn-generate span{margin-left:12px}
.sql-output{margin:0;padding:22px;min-height:190px;max-height:480px;overflow:auto;background:#14243c;color:#dce8fa;font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;border-top:0}
.placeholder{color:#8294ad}
.how{padding:72px 0}
.how h2{margin:8px 0 26px}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.how-grid article{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;box-shadow:0 6px 20px #253e5c06}
.how-grid article>b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf3ff;color:var(--blue);font-size:11px}
.how-grid h3{font-size:15px;margin:15px 0 6px}
.how-grid p{color:#7b899c;font-size:12px;margin:0;line-height:1.7}
footer{display:flex;justify-content:space-between;padding:23px max(calc((100% - 1170px)/2),5%);background:#fff;border-top:1px solid var(--line);color:#8b98a9;font-size:11px}
@media(max-width:850px){.topbar{padding:0 20px;gap:15px}.topbar nav{display:none}.privacy{margin-left:auto}.intro{grid-template-columns:1fr;gap:24px;padding:50px 0}.intro h1{font-size:43px}.intro-art{max-width:560px;width:100%;margin:auto}.workspace{padding:17px}.step-pill{display:none}.settings-grid{grid-template-columns:repeat(2,1fr)}.how-grid{grid-template-columns:1fr}}
@media(max-width:520px){main{padding:0 13px}.topbar{height:68px;padding:0 14px}.privacy{font-size:0;padding:9px}.privacy i{width:9px;height:9px;margin:0}.brand-mark{width:37px;height:37px}.intro{padding:38px 0}.intro h1{font-size:36px;letter-spacing:-1.5px}.intro p{font-size:14px}.workspace{padding:12px;border-radius:15px}.section-head h2,.how h2{font-size:22px}.panel-title{align-items:flex-start;flex-wrap:wrap;padding:15px}.import-actions{flex-wrap:wrap}.editor-actions,.output-actions{width:100%;flex-wrap:wrap}.settings-grid{grid-template-columns:1fr;padding:16px}.option-row{gap:12px;padding:0 16px 16px}.generate-row{align-items:flex-start;flex-direction:column;padding:16px}.btn-generate{width:100%}.import-panel textarea{width:calc(100% - 28px);margin:14px;height:125px}.paste-footer{padding:0 15px 14px;align-items:flex-start;flex-direction:column}.how{padding:50px 0}footer{padding:18px 15px;gap:8px;flex-wrap:wrap}}
