:root{color-scheme:dark;--bg:#0b1115;--surface:#101a1d;--surface2:#142126;--surface3:#19282c;--line:#29383b;--line2:#38514b;--text:#eff5ee;--muted:#95a7a0;--faint:#70877f;--green:#abf6bb;--green2:#69d98a;--red:#fc9c94;--amber:#efc38a;--blue:#95bdef;--radius:18px; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 80% 28% at 50% -2%,#152722 0%,transparent 78%),var(--bg);color:var(--text);font-size:14px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,a:focus-visible,label.choose-file:focus-within{outline:2px solid var(--green);outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.site-wrap{max-width:1420px;margin:0 auto;padding:0 48px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #24332f}.brand{display:flex;align-items:center;gap:11px;font-size:15px;font-weight:500;letter-spacing:.13em;white-space:nowrap}.brand strong{font-weight:800;letter-spacing:.12em}.brand-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:var(--green)}.brand-icon svg{width:34px}.version{letter-spacing:.03em;font-size:9px;padding:4px 7px;border:1px solid #3c514b;border-radius:4px;color:#9cb9a9;margin-left:2px}.top-actions{display:flex;align-items:center;gap:32px}.privacy-pill{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--green);border:1px solid #335645;background:#14241d;padding:9px 12px;border-radius:100px;white-space:nowrap}.pulse{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:5px;box-shadow:0 0 9px #9af4a8}.top-link{font-size:12px;color:#b2c4bc}.top-link span{color:var(--green);margin-left:3px}.top-link:hover,.text-button:hover{color:white}.hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.75fr);min-height:320px;align-items:center;position:relative;padding:42px 0 25px;border-bottom:1px solid #1e2f2d}.hero-copy{position:relative;z-index:1}.eyebrow,.step-number{font-size:10px;color:var(--green);font-weight:760;letter-spacing:.17em}.eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:22px;white-space:nowrap}.eyebrow-dash{height:1px;width:15px;background:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:clamp(35px,4.45vw,61px);line-height:1.13;letter-spacing:-.055em;font-weight:760}h1 span{color:var(--green)}.hero-copy>p{max-width:620px;line-height:1.75;color:var(--muted);font-size:15px;margin-top:20px}.hero-art{position:relative;height:265px;display:flex;align-items:center;justify-content:center;overflow:hidden;mask-image:linear-gradient(to right,transparent,black 10%,black 90%,transparent)}.hero-art:before{content:"";position:absolute;width:265px;height:265px;left:calc(50% - 132px);top:0;background:radial-gradient(circle,#1a4d35 0%,#10271d 35%,transparent 69%);opacity:.8}.orbit{position:absolute;border-radius:50%;border:1px solid #426349;transform:rotate(-18deg);opacity:.48}.orbit-outer{width:258px;height:174px}.orbit-inner{width:186px;height:232px;transform:rotate(24deg);border-color:#345849}.art-core{border-radius:50%;background:radial-gradient(circle,#1c3e2d,#0f211a 64%,#0b1714);width:155px;height:155px;border:1px solid #477352;display:flex;align-items:center;justify-content:center;box-shadow:0 0 70px #407c4c30, inset 0 0 35px #4a9b4d12;z-index:1}.art-core svg{width:86px;filter:drop-shadow(0 0 14px #a3f5b75c)}.orbit-dot{width:6px;height:6px;background:var(--green);border-radius:50%;position:absolute;box-shadow:0 0 14px #a5f4b4}.d1{left:18%;top:41%}.d2{right:21%;top:29%}.d3{right:28%;bottom:14%}.art-label{position:absolute;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;letter-spacing:.13em;color:#83af91}.art-label.top{top:10px;right:16px}.art-label.bottom{bottom:12px;left:19px}.workspace{padding-top:39px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{font-size:27px;letter-spacing:-.045em;margin:8px 0 5px;font-weight:700}.section-heading p{font-size:12px;color:var(--muted);line-height:1.5}.section-heading code{color:#c9eace;background:#16271e;padding:2px 5px;border-radius:4px}.text-button{padding:9px 0;background:none;border:0;color:var(--green);font-weight:680;font-size:12px;white-space:nowrap}.upload-grid{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:16px;align-items:center}.upload-card{position:relative;min-width:0;overflow:hidden;border-radius:16px;border:1px dashed #456252;background:linear-gradient(135deg,#12231b,#101b1a 60%,#10191c);height:238px;transition:border-color .18s,background .18s}.upload-card:hover,.upload-card.dragging{border-color:var(--green);background:#162c22}.target-card{background:linear-gradient(140deg,#1b2223,#151d21 62%,#10191c);border-color:#435456}.target-card:hover,.target-card.dragging{background:#1c2929}.upload-card.has-file{border-style:solid;border-color:#65987b}.card-glow{position:absolute;pointer-events:none;right:-50px;bottom:-115px;width:200px;height:200px;border-radius:50%;background:#3f96512e;filter:blur(55px)}.target-card .card-glow{background:#4f84932a}.upload-top{display:flex;align-items:center;justify-content:space-between;padding:16px 19px;position:relative;z-index:1}.env-badge{font-size:9px;font-weight:760;letter-spacing:.14em}.env-source{color:#9eecad}.env-target{color:#b4c4d9}.file-state{font-size:9px;color:#839b91;font-weight:700;letter-spacing:.09em}.upload-card.has-file .file-state{color:var(--green)}.upload-inner{text-align:center;position:relative;z-index:1;display:flex;align-items:center;flex-direction:column}.upload-icon{width:37px;height:37px;color:#aac7b6;margin:-2px 0 9px}.upload-icon svg{width:100%;height:100%}.upload-inner h3{font-size:18px;letter-spacing:-.035em}.upload-inner h3 span{color:#86a192;font-weight:430}.target-card .upload-inner h3 span{color:#9faeaf}.upload-inner p{color:var(--muted);font-size:11px;margin:6px 0 11px}.choose-file{display:inline-flex;align-items:center;gap:13px;border:1px solid #597768;background:#21362a;color:#cbf6d3;font-weight:700;font-size:11px;padding:9px 14px;border-radius:7px;cursor:pointer;transition:background .18s}.choose-file:hover{background:#315340}.target-card .choose-file{background:#263339;border-color:#53636d;color:#d1e0e4}.target-card .choose-file:hover{background:#334750}input[type=file]{position:absolute;inline-size:1px;block-size:1px;opacity:0;overflow:hidden;pointer-events:none}.selected-file{font-size:10px;color:#b7d9c4;margin-top:6px;max-width:93%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:12px}.between-uploads{display:flex;flex-direction:column;align-items:center;gap:10px}.between-uploads>span{writing-mode:vertical-rl;font-size:8px;letter-spacing:.17em;color:#789487}.swap-button{width:37px;height:37px;background:#1b2d2a;color:var(--green);border:1px solid #3a574a;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s,transform .2s}.swap-button:hover{background:#2c4c38;transform:rotate(180deg)}.swap-button svg{width:18px}.runbar{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#111c1d;border:1px solid #293936;border-radius:12px;padding:15px 17px}.runbar-note{display:flex;align-items:center;gap:11px}.runbar-note svg{width:24px;height:24px;color:var(--green);flex:none}.runbar-note div{display:flex;flex-direction:column;gap:3px}.runbar-note strong{font-size:11px;font-weight:700}.runbar-note span{font-size:10px;color:var(--muted);line-height:1.5}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:44px;padding:12px 19px;border-radius:8px;border:1px solid #b6fbbd;background:var(--green);color:#0c2417;font-size:12px;font-weight:800;white-space:nowrap;transition:filter .2s,transform .2s}.primary-button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.primary-button span{font-size:16px}.inline-error{margin-top:12px;background:#3d2525;border:1px solid #86574d;color:#ffb5a9;border-radius:9px;padding:13px;font-size:12px}.results{padding-top:58px;scroll-margin-top:22px}.result-header{margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:17px}.stat{background:#142020;border:1px solid #283b36;border-radius:13px;padding:18px 19px;position:relative;overflow:hidden}.stat-green{--accent:#8be5aa}.stat-amber{--accent:#e9c28c}.stat-red{--accent:#e39b94}.stat-total{--accent:#a1d9b4}.stat:after{content:"";width:46px;height:2px;background:var(--accent,#88c2a1);position:absolute;bottom:0;left:17px}.stat-label{font-size:10px;color:var(--muted);font-weight:600;letter-spacing:.05em}.stat-value{font-size:31px;line-height:1.2;letter-spacing:-.05em;font-weight:760;margin-top:8px}.stat-value.green{color:var(--green)}.stat-value.amber{color:var(--amber)}.stat-value.red{color:var(--red)}.issues{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.issue{border:1px solid #67573b;background:#29241a;border-radius:9px;padding:11px 14px;font-size:11px;color:#eac99a;line-height:1.65}.issue.error{border-color:#764643;background:#30201f;color:#ffb2a7}.issue strong{font-weight:800}.diff-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:16px;align-items:start}.diff-main,.migration-panel{border-radius:14px;border:1px solid var(--line);background:#111b1e;min-width:0}.diff-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid var(--line);flex-wrap:wrap}.filter-tabs{display:flex;gap:3px;flex-wrap:wrap}.filter-tab{background:none;border:0;color:#899c99;padding:8px 10px;border-radius:6px;font-size:10px;font-weight:750}.filter-tab:hover{color:white;background:#1c2c2e}.filter-tab.active{color:#c7f8d0;background:#254033}.searchbox{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #354943;background:#162326;border-radius:6px;min-width:180px}.searchbox svg{width:14px;height:14px;color:#839995;flex-shrink:0}.searchbox input{background:transparent;border:0;outline:none;color:var(--text);font-size:10px;width:165px;min-width:0}.searchbox input::placeholder{color:#768c85}.select-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 15px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.select-bar>div{display:flex;gap:11px}.mini-button{background:none;border:0;color:var(--green);font-size:10px;font-weight:650;padding:2px}.mini-button:hover{text-decoration:underline}.diff-list{max-height:650px;overflow:auto}.table-group+.table-group{border-top:1px solid #263739}.group-heading{display:flex;align-items:center;gap:9px;padding:13px 15px;background:#162225;color:#d7e7da;font-size:12px;font-weight:730}.group-heading svg{width:16px;height:16px;color:#91b8a0}.group-heading .group-count{font-size:10px;font-weight:500;color:#839b91;margin-left:auto}.change-row{display:flex;align-items:flex-start;gap:11px;padding:14px 15px;border-top:1px solid #233335;transition:background .2s}.change-row:hover{background:#182729}.change-checkbox{appearance:none;width:16px;height:16px;min-width:16px;margin:2px 0 0;border:1px solid #61766f;background:#102020;border-radius:4px;cursor:pointer;position:relative}.change-checkbox:checked{background:#a4f4b3;border-color:#a4f4b3}.change-checkbox:checked:after{content:'✓';position:absolute;color:#0d2919;font-size:12px;font-weight:900;left:2px;top:-1px}.change-body{flex:1;min-width:0}.change-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.change-name{font-size:12px;font-weight:650;overflow-wrap:anywhere}.change-description{font-size:10px;line-height:1.55;color:#9bafa7;margin-top:6px}.change-risk{font-size:9px;line-height:1;padding:5px 7px;border-radius:5px;font-weight:800;letter-spacing:.06em;white-space:nowrap}.risk-safe{background:#183827;color:#92e8a4}.risk-caution{background:#3d3421;color:#efd09d}.risk-danger{background:#482723;color:#ffaaa0}.change-kind{font-size:9px;color:#a3b7ad}.details-toggle{border:0;background:none;color:#a1cdb1;font-size:10px;padding:7px 0 0;text-align:left}.change-code{display:none;max-width:100%;overflow:auto;background:#0b1418;border:1px solid #2a403e;color:#c0d8c6;border-radius:7px;margin:9px 0 0;padding:11px;font-size:10px;line-height:1.7;white-space:pre;tab-size:2}.change-row.expanded .change-code{display:block}.empty-state{padding:38px 20px;text-align:center;color:var(--muted);line-height:1.8}.empty-state strong{display:block;color:var(--text);font-size:15px}.migration-panel{padding:20px;position:sticky;top:16px}.panel-header h3{font-size:20px;letter-spacing:-.035em;margin:8px 0 6px}.panel-header p{font-size:11px;color:var(--muted);line-height:1.65;margin-bottom:18px}.script-summary{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-top:1px solid #293a39;color:#a6bbb0;font-size:11px}.script-summary strong{color:var(--text);font-size:17px}.script-summary .risk-count{color:var(--amber)}.preview-wrap{border:1px solid #314340;border-radius:9px;overflow:hidden;margin-top:13px}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:7px;background:#19292a;padding:10px 11px;font-size:9px;letter-spacing:.09em;color:#9aada7;font-weight:740}.icon-button{border:0;background:none;color:var(--green);font-size:9px;font-weight:750;white-space:nowrap}.sql-preview{background:#0a1416;color:#b6d4c0;font-size:10px;line-height:1.65;height:205px;overflow:auto;white-space:pre;margin:0;padding:12px;tab-size:2}.confirm-row{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #78553e;background:#2b251b;border-radius:8px;margin:10px 0;font-size:10px;line-height:1.5;color:#e9cba5;cursor:pointer}.confirm-row input{accent-color:#c0f2bb;flex-shrink:0;margin-top:2px}.export-warning{font-size:10px;color:var(--amber);line-height:1.6;margin:10px 0}.download-button{width:100%;margin-top:11px}.safety-note{font-size:10px;line-height:1.6;color:#91a49b;margin-top:13px}.safety-note>span{color:var(--amber);margin-right:4px}.bottom-info{border-top:1px solid #23332d;margin-top:74px;padding:32px 0 53px}.info-title h2{font-size:25px;letter-spacing:-.04em;margin-top:8px}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-top:24px}.info-grid article{padding-right:15px}.info-icon{color:var(--green);font-size:11px;font-family:ui-monospace,monospace;font-weight:800;letter-spacing:.1em;border-bottom:1px solid #47654c;padding-bottom:8px;width:28px}.info-grid h3{font-size:13px;margin-top:15px;margin-bottom:8px}.info-grid p{font-size:11px;line-height:1.8;color:var(--muted)}footer{border-top:1px solid #23332d;padding:24px 0 34px;display:flex;justify-content:space-between;gap:12px;color:#7e978c;font-size:9px;letter-spacing:.07em}.foot-divider{margin:0 8px;color:#506c5a}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,18px);background:#b2f9c0;color:#0d2c19;border:1px solid #f2fff5;padding:11px 18px;border-radius:8px;font-size:12px;font-weight:780;opacity:0;transition:opacity .18s,transform .18s;pointer-events:none;z-index:20;box-shadow:0 12px 40px #0007}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1090px){.site-wrap{padding:0 28px}.diff-layout{grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr)}.filter-tab{padding:8px 7px}.searchbox{flex-grow:1}.searchbox input{width:100%}}
@media(max-width:760px){.site-wrap{padding:0 18px}.topbar{height:69px}.top-actions{gap:12px}.top-link{display:none}.privacy-pill{font-size:8px;padding:7px 8px}.brand{font-size:12px;gap:7px}.brand-icon,.brand-icon svg{width:29px;height:29px}.version{font-size:8px}.hero{grid-template-columns:1fr;min-height:auto;padding:48px 0 35px}.hero-art{display:none}.eyebrow{font-size:8px;white-space:normal}h1{font-size:clamp(31px,8.4vw,48px)}.hero-copy>p{font-size:13px}.section-heading{align-items:start}.section-heading h2{font-size:23px}.upload-grid{grid-template-columns:1fr;gap:12px}.upload-card{height:222px}.between-uploads{flex-direction:row;justify-content:center;gap:12px}.between-uploads>span{writing-mode:initial}.runbar{flex-direction:column;align-items:stretch}.primary-button{width:100%}.stats{grid-template-columns:repeat(2,1fr)}.diff-layout{grid-template-columns:1fr}.migration-panel{position:static}.diff-list{max-height:unset}.info-grid{grid-template-columns:1fr;gap:24px}.bottom-info{margin-top:48px}.info-grid article{padding-right:0}footer{flex-direction:column;gap:8px}.result-header{gap:6px}.searchbox{width:100%}}
@media(max-width:410px){.site-wrap{padding:0 13px}.privacy-pill{font-size:7px;letter-spacing:.02em}.brand{letter-spacing:.05em;font-size:11px}.version{display:none}.section-heading{flex-wrap:wrap}.section-heading .text-button{margin-left:auto}.filter-tab{font-size:9px;padding:8px}.stats{gap:8px}.stat{padding:14px}.stat-value{font-size:26px}.diff-toolbar{padding:11px}.change-row{padding:12px 10px}.select-bar{padding:10px}.select-bar>div{gap:6px}.migration-panel{padding:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* In-app structure-only extraction assistant */
.extract-banner{display:flex;align-items:center;gap:16px;padding:18px 20px;background:linear-gradient(115deg,#14261c,#18272b 80%);border:1px solid #3b6049;border-radius:14px;margin:0 0 18px}
.extract-banner-icon{display:flex;align-items:center;justify-content:center;flex:none;border:1px solid #476f55;background:#23402d;color:var(--green);font-size:17px;font-family:ui-monospace,monospace;font-weight:900;border-radius:11px;width:44px;height:44px}
.extract-banner-copy{flex:1;min-width:0}.extract-banner-copy .step-number{font-size:9px}.extract-banner-copy h3{font-size:16px;letter-spacing:-.025em;margin:5px 0}.extract-banner-copy p{font-size:11px;line-height:1.5;color:var(--muted)}.extract-banner-copy p strong{color:#d4eee0}
.guide-button{background:#274334;border:1px solid #649375;padding:12px 16px;color:#d7ffe0;border-radius:9px;font-size:11px;font-weight:800;white-space:nowrap;transition:background .2s,transform .2s}.guide-button:hover{background:#335844;transform:translateY(-1px)}.guide-button span{padding-left:9px}
.export-help-link{border:none;background:none;color:#a1d9b4;font-size:10px;font-weight:700;padding:6px;margin-top:1px}.export-help-link:hover{text-decoration:underline;color:#d4ffe2}
.upload-card{height:259px}
.export-dialog{width:min(820px,calc(100vw - 28px));max-height:min(92dvh,920px);padding:0;color:var(--text);background:#0f191c;border:1px solid #4a6958;border-radius:18px;box-shadow:0 25px 90px #000a;overflow:auto}
.export-dialog::backdrop{background:rgba(1,9,11,.78);backdrop-filter:blur(5px)}
.guide-top{position:sticky;top:0;z-index:2;display:flex;align-items:start;gap:15px;justify-content:space-between;padding:25px 29px 20px;background:#111d20;border-bottom:1px solid #293b36}.guide-top h2{font-size:25px;letter-spacing:-.045em;margin:8px 0}.guide-top p{font-size:12px;color:var(--muted);line-height:1.5}.guide-close{background:#1f302e;color:#d0e8d9;border:1px solid #456056;border-radius:8px;width:33px;height:33px;flex:none;font-size:15px}.guide-close:hover{background:#2b4840}
.guide-content{padding:20px 29px 24px}.guide-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:19px}.guide-steps span{font-size:10px;color:#abc4b6;border-radius:30px;background:#1c2d29;padding:7px 10px;border:1px solid #2c4539}.guide-steps span:first-child{background:#264d36;color:var(--green)}
.guide-env-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:19px}.env-option{background:#152427;color:#a8c1b4;border:1px solid #2c4644;padding:11px 13px;text-align:left;font-size:13px;font-weight:750;border-radius:9px}.env-option small{font-size:10px;font-weight:400;display:block;margin-top:3px}.env-option.active{border-color:#82bf96;color:#d6ffe0;background:#193328}
.guide-method-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid #375047}.guide-tab{background:transparent;border:0;border-bottom:2px solid transparent;padding:11px 13px;color:#95aa9e;white-space:nowrap;font-size:12px;font-weight:750}.guide-tab:hover{color:#e9fff0}.guide-tab.active{border-bottom-color:var(--green);color:var(--green)}.method-tag{display:inline-block;font-size:8px;color:#173321;background:#a2eeb6;border-radius:4px;padding:3px 4px;margin-left:5px}
.guide-panel{padding:24px 0 17px;min-height:225px}.guide-panel h3{font-size:18px;letter-spacing:-.035em;margin-bottom:11px}.guide-list{counter-reset:steps;padding:0;list-style:none;display:flex;flex-direction:column;gap:11px}.guide-list li{counter-increment:steps;position:relative;padding:0 0 0 34px;font-size:12px;color:#bccfc3;line-height:1.7}.guide-list li::before{content:counter(steps);position:absolute;top:1px;left:0;background:#254131;border:1px solid #467556;color:var(--green);width:24px;height:24px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:800}.guide-list strong,.guide-panel strong{color:#e6f4e9}
.guide-note{background:#1a3027;border-left:3px solid #6cbb83;border-radius:4px;padding:12px 14px;color:#bfd6c6;font-size:11px;line-height:1.7;margin-top:19px}.guide-note.warning{background:#332a1d;border-left-color:#ddaf70;color:#ebd7b5}.guide-note code,.guide-muted code,.sql-template p code{color:var(--green);background:#162b20;padding:2px 5px;border-radius:3px}
.guide-muted{font-size:11px;line-height:1.7;color:#acc0b7;margin-bottom:13px}.guide-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 17px}.guide-fields label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#c4d5ca}.guide-fields label:last-child{grid-column:1/-1}.guide-fields input,.guide-fields select{min-width:0;width:100%;background:#142426;color:#f0f7ef;border:1px solid #40574e;padding:11px;border-radius:7px;font-size:12px;outline:none}.guide-fields input:focus,.guide-fields select:focus{border-color:var(--green)}
.guide-code-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#213330;border:1px solid #354c43;border-bottom:0;border-radius:8px 8px 0 0;padding:10px 12px;font-size:10px;color:#a7bfb3;letter-spacing:.04em}.guide-copy{border:0;background:transparent;color:var(--green);font-size:10px;font-weight:700;white-space:nowrap}.guide-copy:hover{text-decoration:underline}.guide-code{background:#071215;color:#b3efc4;border:1px solid #354c43;border-radius:0 0 8px 8px;padding:15px;font-size:11px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:0 0 12px;max-height:260px;overflow:auto;font-family:ui-monospace,Menlo,Consolas,monospace}
.sql-template-list{display:flex;flex-direction:column;gap:8px}.sql-template{border-radius:9px;border:1px solid #354b43;background:#142123;overflow:hidden}.sql-template summary{padding:13px;cursor:pointer;font-size:12px;font-weight:700;color:#daeede;list-style-position:inside}.sql-template summary span{font-size:9px;color:var(--green);margin-left:7px}.sql-template>p{padding:0 13px 12px;color:#abc1b5;font-size:11px;line-height:1.65}.sql-template .guide-code-head{border-radius:0;border-left:0;border-right:0}.sql-template .guide-code{border-radius:0;border:0;margin:0}
.guide-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px;border-top:1px solid #2f4940;margin-top:12px}.guide-footer span{font-size:10px;color:#9bbda6}.guide-done{background:var(--green);color:#0d2517;border:1px solid #d2ffd8;border-radius:8px;padding:12px 13px;font-size:11px;font-weight:800;white-space:nowrap}.guide-done:hover{filter:brightness(1.08)}
@media(max-width:760px){.extract-banner{align-items:start;flex-wrap:wrap;padding:15px;gap:10px}.extract-banner-icon{width:37px;height:37px}.extract-banner-copy{flex-basis:calc(100% - 50px)}.extract-banner .guide-button{width:100%}.upload-card{height:249px}.export-dialog{width:calc(100vw - 18px);max-height:94dvh;border-radius:12px}.guide-top{padding:18px 16px}.guide-top h2{font-size:20px}.guide-content{padding:15px 16px 19px}.guide-fields{grid-template-columns:1fr}.guide-fields label:last-child{grid-column:auto}.guide-steps{gap:4px}.guide-steps span{font-size:9px;padding:6px 7px}.guide-tab{padding:10px 9px;font-size:11px}.guide-footer{align-items:stretch;flex-direction:column}.guide-done{width:100%}}
@media(max-width:390px){.guide-steps span{font-size:8px}.method-tag{display:none}}

/* v1.2 — refined export assistant / cache-safe deployment */
.extract-banner {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; gap:20px;
  padding:21px 23px; margin-bottom:20px;
  border:1px solid #3e6450; border-radius:17px;
  background:linear-gradient(105deg,#172c25 0%,#142421 55%,#182a2c 100%);
  box-shadow:inset 0 1px #d3ffdf0c,0 14px 42px #0000001a;
}
.extract-banner::after {
  content:""; position:absolute; right:130px; top:-115px; z-index:-1;
  width:300px;height:300px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,#4a95632c,transparent 66%);
}
.extract-banner-icon {
  flex:none;width:52px;height:52px;border-radius:14px;
  background:linear-gradient(155deg,#294c37,#1a3629);
  border:1px solid #4b8360;color:#bcffd0;box-shadow:0 9px 24px #0002;
}
.extract-banner-icon svg{width:26px;height:26px}
.extract-banner-copy .step-number{font-size:9px;letter-spacing:.13em;color:#86d6a1}
.extract-banner-copy h3{font-size:17px;line-height:1.25;letter-spacing:-.03em;margin:6px 0}
.extract-banner-copy p{max-width:630px;font-size:12px;line-height:1.65;color:#a5bdb2}
.guide-button {
  flex:none; display:inline-flex; align-items:center; justify-content:space-between;
  min-height:52px; min-width:210px; gap:17px;
  padding:7px 8px 7px 17px;
  background:#b5f5c5; border:1px solid #d0ffdc; border-radius:11px;
  color:#143521; font-size:12px; font-weight:800;
  box-shadow:0 8px 26px #07170e38;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.guide-button:hover{background:#d1ffdd;box-shadow:0 10px 27px #0d302241;transform:translateY(-2px)}
.guide-button:active{transform:translateY(0)}
.guide-button-label{text-align:left;display:flex;flex-direction:column;gap:3px;white-space:nowrap}
.guide-button-label small{font-size:9px;color:#426b50;font-weight:600}
.guide-button .button-arrow{
  flex:none;display:grid;place-items:center;width:34px;height:34px;
  padding:0;margin:0;border-radius:8px;background:#1e5630;color:#d9ffe1;
  font-size:18px;font-weight:500;transition:transform .18s;
}
.guide-button:hover .button-arrow{transform:translateX(2px)}

.export-dialog{
  position:fixed;inset:0;
  width:min(870px,calc(100vw - 32px));max-width:none;
  max-height:min(92dvh,910px);margin:auto;padding:0;
  color:#eff6f0;background:#101b1c;
  border:1px solid #416654;border-radius:20px;
  box-shadow:0 36px 110px #000c,0 0 0 1px #8bffa509,inset 0 1px #ffffff0b;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:#3a5a49 #101b1c;
}
.export-dialog[open]{animation:guide-appear .22s cubic-bezier(.2,.65,.2,1) both}
@keyframes guide-appear{from{opacity:0;transform:translateY(12px) scale(.988)}to{opacity:1;transform:translateY(0) scale(1)}}
.export-dialog::backdrop{background:#03090bd9;backdrop-filter:blur(9px)}
.guide-top{
  position:sticky;top:0;z-index:5;display:flex;align-items:flex-start;
  justify-content:space-between;gap:18px;
  padding:27px 31px 23px;
  background:linear-gradient(125deg,#142322 0%,#101b1d 75%);
  border-bottom:1px solid #2a433a;
}
.guide-kicker{display:flex;align-items:center;gap:9px;color:#a6f4b9;font-size:9px;font-weight:800;letter-spacing:.14em}
.guide-kicker-dot{width:7px;height:7px;background:#a8f2b5;border-radius:100%;box-shadow:0 0 0 4px #2e73413d}
.guide-safe-label{color:#8fac9d;font-size:9px;font-weight:700;padding:4px 8px;border:1px solid #385545;border-radius:100px;margin-left:8px}
.guide-heading h2{margin:11px 0 8px;font-size:clamp(21px,3vw,29px);line-height:1.15;letter-spacing:-.045em;font-weight:780}
.guide-title-dot{color:#aef0b9}
.guide-heading p{color:#a4b9b1;font-size:12px;line-height:1.6}
.guide-close{
  flex:none;display:grid;place-items:center;width:39px;height:39px;
  background:#1d3330;border:1px solid #38564c;border-radius:11px;
  color:#c9e8d5;padding:0;transition:background .18s,transform .18s;
}
.guide-close:hover{background:#2a4940;transform:rotate(90deg)}
.guide-content{padding:21px 31px 25px}
.guide-steps{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
  padding:7px;margin:0 0 24px;background:#0d1719;
  border:1px solid #2c403c;border-radius:12px;
}
.guide-steps>span{display:flex;gap:9px;align-items:center;min-width:0;padding:9px 10px;border-radius:8px;color:#8fa69a;font-size:11px;font-weight:630;white-space:nowrap;background:transparent;border:none}
.guide-steps>span.current{color:#cfffdb;background:#1f3a2b}
.guide-steps .step-index{font:800 10px ui-monospace,Menlo,Consolas,monospace;color:#729a83}
.guide-steps .current .step-index{color:#aaf4bd}
.guide-steps .step-copy{overflow:hidden;text-overflow:ellipsis}
.guide-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.guide-section-label{color:#cbe0d3;font-size:10px;font-weight:800;letter-spacing:.11em}
.guide-section-hint{color:#78998a;font-size:10px}
.guide-env-switch{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:24px}
.env-option{
  display:flex;align-items:center;gap:12px;position:relative;
  width:100%;min-height:78px;text-align:left;padding:12px 13px;
  background:#152426;border:1px solid #334941;border-radius:12px;
  color:#d7e6dc;transition:border-color .16s,background .16s,transform .16s;
}
.env-option:hover{border-color:#638b6c;background:#1b302c}
.env-option.active{background:linear-gradient(115deg,#1d3a2b,#1c332b);border-color:#8adea3;box-shadow:inset 0 0 0 1px #8adea319}
.env-mark{display:grid;place-items:center;flex:none;width:39px;height:39px;background:#304b3c;color:#b6ebc7;border:1px solid #476b55;border-radius:9px;font-size:16px;font-weight:800}
.env-mark.target-mark{background:#2b3b44;border-color:#46616c;color:#bfd6e6}
.env-option.active .env-mark{background:#356f4a;border-color:#66b77c;color:#e8fff0}
.env-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.env-copy strong{font-size:13px;line-height:1.2;font-weight:760;color:#ecf7ef}
.env-copy small{font-size:10px;font-weight:500;color:#90aa9c}
.env-check{margin-left:auto;display:grid;place-items:center;flex:none;width:21px;height:21px;border-radius:50%;border:1px solid #4a6656;color:transparent;font-size:11px}
.env-option.active .env-check{background:#a6f3bc;border-color:#a6f3bc;color:#154126}
.guide-method-label{margin-top:2px;margin-bottom:10px}
.guide-method-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;background:#0c1719;border:1px solid #2b403c;border-radius:12px;overflow:visible}
.guide-tab{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:43px;padding:10px 12px;background:transparent;border:1px solid transparent;border-radius:9px;color:#90a99c;font-weight:680;font-size:12px;white-space:nowrap;transition:background .16s,color .16s,border-color .16s}
.guide-tab svg{width:17px;height:17px;flex:none;opacity:.85}
.guide-tab:hover{background:#1b3029;color:#f0f7f0}
.guide-tab.active{background:#234431;border-color:#477858;box-shadow:0 4px 15px #0003;color:#d8ffe0}
.method-tag{display:inline-block;margin:0;padding:3px 5px;border-radius:4px;background:#a1ecc0;color:#173827;font-size:8px;font-weight:850;line-height:1.2}
.guide-panel{padding:22px 0 22px;min-height:unset}
.guide-panel h3{font-size:19px;line-height:1.35;margin-bottom:16px;font-weight:750;letter-spacing:-.028em}
.guide-list{display:flex;flex-direction:column;gap:9px;counter-reset:steps;list-style:none;padding:0}
.guide-list li{counter-increment:steps;position:relative;margin:0;padding:12px 14px 12px 52px;font-size:12px;line-height:1.75;border:1px solid #2b433d;border-radius:10px;background:#162527;color:#bdcec4}
.guide-list li::before{content:counter(steps);display:grid;place-items:center;position:absolute;top:14px;left:14px;width:25px;height:25px;border-radius:8px;border:1px solid #537a5f;background:#294c36;color:#c6ffd4;font-size:11px;font-weight:800}
.guide-list li strong,.guide-panel strong{color:#edf9ef}
.guide-note{padding:14px 16px;margin-top:15px;background:#203a2d;border:1px solid #355a41;border-left:3px solid #7ed49a;border-radius:9px;color:#bdd6c5;font-size:11px;line-height:1.8}
.guide-note.warning{border-color:#695538;border-left-color:#dda86e;background:#342b20;color:#ead3ad}
.guide-fields{gap:12px;margin:14px 0 17px}
.guide-fields label{gap:8px;font-size:11px;color:#b6d4c3}
.guide-fields input,.guide-fields select{border-radius:9px;padding:12px 13px;background:#122123;border-color:#3a5750}
.guide-fields input:focus,.guide-fields select:focus{border-color:#9be5af;box-shadow:0 0 0 3px #67e39120}
.guide-code-head{padding:11px 13px;background:#213730;border-color:#3e584c;border-radius:10px 10px 0 0}
.guide-code{background:#081315;border-color:#3e584c;border-radius:0 0 10px 10px}
.guide-copy{border-radius:6px;padding:6px 7px;background:#2d4e3c;color:#c4fbd1}
.guide-copy:hover{text-decoration:none;background:#386548}
.sql-template{border-radius:10px}
.sql-template summary{padding:15px;color:#dcefe0}
.guide-footer{position:relative;display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:18px;margin-top:3px;border-top:1px solid #2e463f}
.guide-privacy{display:flex;gap:9px;align-items:center;color:#91b09a;font-size:11px;line-height:1.5}
.guide-privacy svg{color:#a3f6bd;width:19px;height:19px;flex:none}
.guide-done{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:44px;padding:11px 16px;background:#a9efb9;color:#14351f;border:1px solid #c5ffd0;border-radius:9px;font-size:12px;font-weight:800;box-shadow:0 7px 22px #0002}
.guide-done:hover{filter:brightness(1.1)}
.guide-done span{font-size:17px}
@media(max-width:760px){
  .extract-banner{gap:13px;padding:16px;align-items:flex-start}
  .extract-banner-icon{width:44px;height:44px;border-radius:12px}
  .extract-banner-icon svg{width:23px;height:23px}
  .extract-banner-copy{flex:1 1 calc(100% - 60px)}
  .extract-banner-copy h3{font-size:16px}
  .extract-banner .guide-button{min-width:0;width:100%;margin-top:4px}
  .export-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}
  .guide-top{padding:20px 18px 18px;gap:9px}
  .guide-heading h2{font-size:21px}
  .guide-heading p{font-size:11px}
  .guide-close{width:35px;height:35px}
  .guide-safe-label{font-size:8px;margin-left:0}
  .guide-content{padding:16px 17px 20px}
  .guide-steps{gap:3px;padding:4px;margin-bottom:19px}
  .guide-steps>span{font-size:9px;padding:8px 5px;gap:5px}
  .guide-steps .step-index{font-size:9px}
  .guide-env-switch{gap:8px;margin-bottom:21px}
  .env-option{min-height:72px;padding:9px 10px;gap:8px}
  .env-mark{width:31px;height:34px;font-size:12px}
  .env-copy strong{font-size:11px}
  .env-copy small{font-size:9px}
  .env-check{width:17px;height:17px}
  .guide-tab{gap:6px;font-size:10px;padding:10px 5px}
  .guide-tab svg{width:15px;height:15px}
  .guide-panel{padding:19px 0 16px}
  .guide-panel h3{font-size:17px}
  .guide-list li{font-size:11px;padding:12px 11px 12px 42px}
  .guide-list li::before{left:10px;width:22px;height:22px}
  .guide-privacy{font-size:10px}
  .guide-done{width:100%}
}
@media(max-width:460px){
  .guide-kicker{font-size:8px}
  .guide-safe-label{display:none}
  .guide-section-hint{display:none}
  .guide-steps>span{justify-content:center;flex-direction:column;text-align:center;line-height:1.3;min-height:48px}
  .guide-steps .step-copy{white-space:normal;overflow:visible}
  .env-check{display:none}
  .env-option{gap:7px}
  .env-mark{width:28px}
  .env-copy small{font-size:8px}
  .method-tag{display:none}
  .guide-tab{flex-direction:column;gap:5px;min-height:55px}
  .guide-footer{flex-direction:column;align-items:stretch;gap:13px}
}
@media(max-height:540px) and (min-width:580px){
  .export-dialog{max-height:calc(100dvh - 16px);border-radius:12px}
  .guide-top{padding:12px 22px}
  .guide-heading h2{font-size:19px;margin:6px 0 3px}
  .guide-heading p{font-size:10px}
  .guide-content{padding:12px 22px 18px}
  .guide-steps{margin-bottom:12px}
  .guide-env-switch{margin-bottom:13px}
  .env-option{min-height:57px}
}
@media(prefers-reduced-motion:reduce){.export-dialog[open]{animation:none}}
/* Reset the inherited v1.1 step chips: nested labels must not become badges. */
.guide-steps .step-index,
.guide-steps .step-copy,
.guide-steps .step-index:first-child,
.guide-steps .step-copy:first-child {
  display:inline;min-height:0;width:auto;height:auto;margin:0;padding:0;
  background:transparent;border:0;border-radius:0;box-shadow:none;
}
.guide-steps .step-index{color:#799b87}
.guide-steps .current .step-index{color:#b6ffca}
.guide-steps .step-copy{color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:0}
/* Keep the exit action within reach while long instructions scroll. */
.guide-footer{
  position:sticky;bottom:-1px;z-index:3;
  background:linear-gradient(180deg,#101b1cec,#101b1c 25%);
  padding:15px 0 5px;
  box-shadow:0 -12px 22px #101b1cbe;
}
@media(max-height:540px){.guide-footer{position:relative;box-shadow:none}}
.guide-footer{background:#101b1c;border-top:1px solid #335046}
.guide-done span{color:#14351f}
