@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/bricolage-grotesque-vietnamese-wght-normal.03f_1bxrvnkfd.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/bricolage-grotesque-latin-ext-wght-normal.37g1whwfgt7kp.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/bricolage-grotesque-latin-wght-normal.1iqnhac4m3hwo.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(../media/instrument-sans-latin-ext-wght-normal.2jfp7v6ns64yg.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(../media/instrument-sans-latin-wght-normal.3h2wr6o8p949u.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--brand:#3b3f8f;--brand-dark:#272a6b;--bg:#f6f7fb;--ink:#1c1f2a;--muted:#6b7085;--line:#e6e8f0}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.45}a{color:inherit;text-decoration:none}h1,h2,h3{line-height:1.2}.btn{background:var(--brand);color:#fff;border:1px solid var(--brand);cursor:pointer;text-align:center;border-radius:10px;justify-content:center;align-items:center;padding:12px 18px;font-size:15px;font-weight:700;display:inline-flex}.btn:hover{background:var(--brand-dark)}.btn:disabled,.btn.disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.btn-small{padding:8px 14px;font-size:14px}.btn-block{width:100%}.btn-outline{color:var(--brand);background:#fff}.btn-outline:hover{background:#eef0fb}.btn-ghost{color:#fff;background:0 0;border-color:#fff9}.btn-ghost:hover{background:#ffffff1f}.link-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:6px 0;font-size:13px;text-decoration:underline}.site-header{z-index:10;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0}.site-header-inner{justify-content:space-between;align-items:center;max-width:1080px;margin:0 auto;padding:12px 16px;display:flex}.logo{align-items:center;gap:8px;font-size:18px;font-weight:800;display:flex}.logo-mark{background:var(--brand);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;display:inline-flex}.card{background:#fff;border-radius:14px;margin-bottom:14px;padding:18px;box-shadow:0 1px 3px #14182814}.card h2{color:var(--brand);margin:0 0 10px;font-size:16px}.muted{color:var(--muted);margin:0 0 10px;font-size:14px}.error{color:#b42318;margin:6px 0;font-size:13px}.hint{color:var(--muted);margin:10px 0 2px;font-size:12px}.grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;display:grid}@media (max-width:560px){.grid{grid-template-columns:1fr}}.field{flex-direction:column;gap:6px;margin-bottom:12px;font-size:14px;font-weight:600;display:flex}.grid .field{margin-bottom:0}input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],input:not([type]),textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #d3d6e0;border-radius:10px;width:100%;padding:10px 12px;font-size:16px;font-weight:400}input:focus,textarea:focus{border-color:var(--brand);outline:2px solid #c5c8ee}textarea{resize:vertical}.check-field{align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.check-field input{width:20px;height:20px;accent-color:var(--brand)}.editor{grid-template-columns:1fr;gap:20px;max-width:1080px;margin:0 auto;padding:20px 16px 110px;display:grid}.page-title{margin:4px 0 16px;font-size:26px}@media (min-width:960px){.editor{grid-template-columns:minmax(0,1fr) 340px;padding-bottom:40px}.editor-side{align-self:start;position:sticky;top:76px}.total-bar{display:none!important}}.item-wrap{border-top:1px solid #eef0f5}.item-wrap:first-of-type{border-top:none}.item{cursor:pointer;align-items:center;gap:12px;padding:10px 0;display:flex}.item input{width:20px;height:20px;accent-color:var(--brand);flex-shrink:0}.item-label{flex:1}.item-label small{color:#8a8fa3;margin-left:4px}.item-price{white-space:nowrap;font-weight:600}.note-input{margin:0 0 10px;padding:8px 10px!important;font-size:14px!important}.custom-row{grid-template-columns:1fr 130px 36px;gap:8px;padding:10px 0 8px;display:grid}.icon-btn{cursor:pointer;color:var(--muted);background:#fff;border:1px solid #d3d6e0;border-radius:10px;font-size:20px}.brand-row{align-items:center;gap:14px;margin-bottom:14px;display:flex}.logo-preview{color:#9aa0b5;border:1px dashed #c4c8d8;border-radius:12px;justify-content:center;align-items:center;width:72px;height:72px;font-size:13px;display:flex;overflow:hidden}.logo-preview img{object-fit:contain;max-width:100%;max-height:100%}.brand-actions{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.swatches{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.swatch{cursor:pointer;border:2px solid #fff;border-radius:50%;width:30px;height:30px;box-shadow:0 0 0 1px #d3d6e0}.swatch.active{box-shadow:0 0 0 2px var(--ink)}.swatches input[type=color]{cursor:pointer;background:0 0;border:none;width:36px;height:32px;padding:0}.summary-head{justify-content:space-between;align-items:baseline;display:flex}.summary-head small{color:var(--muted)}.summary-lines{margin:0 0 10px;padding:0;font-size:14px;list-style:none}.summary-lines li{border-bottom:1px solid #f0f1f6;justify-content:space-between;gap:10px;padding:6px 0;display:flex}.summary-lines b{white-space:nowrap;font-weight:600}.summary-sub{color:var(--muted);justify-content:space-between;padding:4px 0;font-size:14px;display:flex}.summary-total{background:var(--brand);color:#fff;border-radius:10px;justify-content:space-between;align-items:center;margin:10px 0 14px;padding:12px 14px;display:flex}.summary-total strong{font-size:20px}.share-row{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.total-bar{background:var(--brand);color:#fff;z-index:20;justify-content:space-between;align-items:center;padding:12px 16px;display:flex;position:fixed;bottom:0;left:0;right:0}.total-bar small{opacity:.8;display:block}.total-bar strong{font-size:20px}.total-bar .btn{color:var(--brand);background:#fff}.hero{background:linear-gradient(135deg, var(--brand) 0%, #5a3fa0 100%);color:#fff;padding:56px 16px 64px;position:relative;overflow:hidden}.blob{filter:blur(60px);opacity:.35;pointer-events:none;border-radius:50%;position:absolute}.blob-a{background:#ff9f68;width:340px;height:340px;animation:9s ease-in-out infinite float;top:-120px;right:-60px}.blob-b{background:#5ad1c3;width:300px;height:300px;animation:11s ease-in-out infinite reverse float;bottom:-140px;left:-80px}@keyframes float{0%,to{transform:translate(0)}50%{transform:translate(24px,18px)}}.hero-grid{grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;max-width:1080px;margin:0 auto;display:grid;position:relative}@media (max-width:880px){.hero-grid{text-align:center;grid-template-columns:1fr}.hero-actions{justify-content:center}}.eyebrow{text-transform:uppercase;letter-spacing:.08em;opacity:.85;margin:0 0 12px;font-size:12px;font-weight:700}.hero h1{margin:0 0 14px;font-size:clamp(28px,5vw,44px)}.hero-sub{opacity:.92;max-width:520px;margin:0 0 26px;font-size:18px}@media (max-width:880px){.hero-sub{margin-left:auto;margin-right:auto}}.hero-actions{flex-wrap:wrap;gap:10px;display:flex}.demo{height:452px;color:var(--ink);background:#fff;border-radius:16px;width:100%;max-width:440px;margin:0 auto;transition:opacity .7s;position:relative;overflow:hidden;box-shadow:0 24px 60px #0a0c2859}.demo.fading{opacity:0}.demo-bar{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:6px;padding:12px 14px;font-size:13px;display:flex}.demo-bar i{background:#e4e6ee;border-radius:50%;width:10px;height:10px}.demo-bar span{margin-left:8px;font-weight:600}.demo-body{padding:16px 18px}.demo-field small{color:var(--muted);font-size:12px;font-weight:600}.demo-input{border:1px solid #d3d6e0;border-radius:10px;min-height:42px;margin-top:4px;padding:10px 12px;font-size:15px}.caret{background:var(--brand);vertical-align:-3px;width:2px;height:16px;margin-left:2px;animation:1s step-end infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.demo-lines{margin:14px 0 6px;padding:0;list-style:none}.demo-lines li{opacity:.25;border-bottom:1px solid #f0f1f6;align-items:center;gap:10px;padding:9px 0;font-size:14px;transition:opacity .4s,transform .4s;display:flex;transform:translate(-6px)}.demo-lines li.on{opacity:1;transform:none}.demo-label{flex:1}.demo-lines b{white-space:nowrap;font-weight:600}.demo-check{color:#0000;border:2px solid #c9ccda;border-radius:6px;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;transition:all .3s;display:inline-flex}.demo-lines li.on .demo-check{background:var(--brand);border-color:var(--brand);color:#fff}.demo-total{background:var(--brand);color:#fff;border-radius:10px;justify-content:space-between;align-items:center;margin:12px 0;padding:12px 14px;display:flex}.demo-total strong{font-size:19px}.demo-btn{text-align:center;border:1.5px solid var(--brand);color:var(--brand);border-radius:10px;padding:11px;font-size:14px;font-weight:700;transition:all .25s}.demo-btn.pressed{background:var(--brand);color:#fff;transform:scale(.97)}.demo-sheet{border-top:4px solid var(--brand);background:#fff;border-radius:12px 12px 0 0;padding:16px;transition:transform .7s cubic-bezier(.2,.8,.2,1);position:absolute;inset:96px 22px -10px;transform:translateY(110%);box-shadow:0 -10px 34px #14183c38}.demo-sheet.up{transform:translateY(0)}.sheet-head{color:var(--brand);justify-content:space-between;align-items:baseline;margin-bottom:8px;display:flex}.sheet-head small{color:var(--muted)}.sheet-client{background:#f3f4fa;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:13px;font-weight:600}.sheet-row{border-bottom:1px solid #eef0f5;justify-content:space-between;gap:8px;padding:6px 0;font-size:12.5px;display:flex}.sheet-total{background:var(--brand);color:#fff;border-radius:6px;justify-content:space-between;margin-top:10px;padding:8px 10px;font-size:13px;font-weight:700;display:flex}.demo-toast{opacity:0;color:#fff;white-space:nowrap;background:#14653a;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:600;transition:all .45s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:16px;left:50%;transform:translate(-50%,20px)}.demo-toast.show{opacity:1;transform:translate(-50%)}.section{max-width:960px;margin:0 auto;padding:48px 16px 8px}.section-title{text-align:center;margin:0 0 18px;font-size:26px}.section-sub{text-align:center;color:var(--muted);margin:-10px 0 22px}.mini{max-width:520px;margin:0 auto}.mini-total{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:6px;padding:14px 0 12px;display:flex}.mini-total strong{color:var(--brand);font-size:22px}.steps{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}@media (max-width:760px){.steps{grid-template-columns:1fr}}.steps .card{margin-bottom:0}.steps h3{margin:6px 0;font-size:17px}.steps p{color:var(--muted);margin:0;font-size:15px}.step-n{width:30px;height:30px;color:var(--brand);background:#eef0fb;border-radius:50%;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.cta{text-align:center;padding:56px 16px}.cta h2{margin:0 0 16px;font-size:24px}.nav{align-items:center;gap:14px;display:flex}.nav-link{color:var(--brand);font-size:15px;font-weight:600}.narrow{max-width:720px;margin:0 auto;padding:24px 16px 60px}.center{text-align:center}.center-card{text-align:center;padding:32px 18px}.auth{max-width:420px;margin:24px auto}.auth h1{margin:0 0 4px;font-size:24px}.auth-switch{text-align:center;color:var(--muted);margin:14px 0 0;font-size:14px}.info{color:#0f766e;margin:8px 0;font-size:14px}.link{color:var(--brand);font-weight:600;text-decoration:underline}.back{color:var(--muted);margin-bottom:4px;font-size:14px;display:inline-block}.danger{color:#b42318}.actions{flex-wrap:wrap;align-items:center;gap:16px;margin:4px 0 18px;display:flex}.row-between{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.row-between h2{margin:0}.project-card{justify-content:space-between;align-items:center;gap:12px;display:flex}.project-card strong{display:block}.project-card .muted{margin:2px 0 0;display:block}.badge{color:var(--brand);white-space:nowrap;background:#eef0fb;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}.status-brouillon{color:#5b6070;background:#eef0f5}.status-envoyé{color:#92580a;background:#fff4d6}.status-accepté{color:#14653a;background:#dcf5e7}.status-refusé{color:#a12020;background:#fde2e2}.status-en-cours{color:#1d4ba0;background:#e1ecff}.status-terminé{color:#0f6b5d;background:#d7f3ee}.status-reporté{color:#5b2ea6;background:#f0e6ff}.status-annulé{color:#a12020;background:#fde2e2}.quote-row{border-top:1px solid #eef0f5;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.quote-row-right{align-items:center;gap:10px;display:flex}select{font:inherit;color:var(--ink);background:#fff;border:1px solid #d3d6e0;border-radius:10px;width:100%;padding:10px 12px;font-size:16px;font-weight:400}.save-box{border-top:1px solid var(--line);margin:0 0 12px;padding-top:12px}.save-box .field{margin-bottom:8px}.found{margin:12px 0 0;padding-left:18px;font-size:14px}.found small{color:var(--muted)}.editor-main textarea+.btn{margin-top:10px}.tune{padding:2px 0 12px 32px}.tune-fields{flex-wrap:wrap;gap:12px;margin-bottom:6px;display:flex}.tune-field{color:var(--muted);flex-direction:column;gap:4px;font-size:12px;font-weight:600;display:flex}.tune-field>input{width:140px;padding:8px 10px;font-size:15px}.stepper{align-items:center;gap:4px;display:flex}.stepper input{text-align:center;width:64px;padding:8px 4px;font-size:15px}.stepper button{cursor:pointer;width:36px;height:36px;color:var(--brand);background:#fff;border:1px solid #d3d6e0;border-radius:10px;font-size:20px;line-height:1}.tune-info{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.range{color:var(--muted)}.warn{color:#92580a;background:#fff4d6;border-radius:999px;padding:2px 8px;font-weight:600}.tune .note-input{margin-bottom:0}.round-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.round-row .muted{margin:0}@media (max-width:560px){.tune{padding-left:0}}.site-footer{border-top:1px solid var(--line);background:#fff;margin-top:30px;padding:28px 16px 22px}.footer-inner{flex-wrap:wrap;justify-content:space-between;gap:20px;max-width:1080px;margin:0 auto;display:flex}.footer-brand p{color:var(--muted);max-width:320px;margin:8px 0 0;font-size:14px}.footer-links{color:var(--brand);flex-direction:column;gap:8px;font-size:14px;font-weight:600;display:flex}.footer-note{max-width:1080px;color:var(--muted);border-top:1px solid #f0f1f6;margin:20px auto 0;padding-top:14px;font-size:12.5px}.reveal{opacity:0;transition:opacity .6s,transform .6s;transform:translateY(18px)}.reveal.in{opacity:1;transform:none}.btn{transition:background .2s,transform .15s,box-shadow .2s}.btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #3b3f8f47}.btn:active{transform:translateY(0)}.steps .card,.feature{transition:transform .25s,box-shadow .25s}.steps .card:hover{transform:translateY(-4px);box-shadow:0 10px 28px #14183c1f}.feature-icon{width:44px;height:44px;color:var(--brand);background:#eef0fb;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.feature h3{margin:10px 0 6px;font-size:17px}.feature p{color:var(--muted);margin:0;font-size:15px}.summary-total strong,.total-bar strong,.mini-total strong{animation:.35s pop;display:inline-block}@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.08)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transition:none;transform:none}.blob,.caret,.summary-total strong,.total-bar strong,.mini-total strong{animation:none}}.steps .reveal{display:flex}.steps .reveal>.card{flex:1}.templates{flex-wrap:wrap;gap:12px;display:flex}.template{cursor:pointer;font:inherit;background:#fff;border:2px solid #0000;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:8px 10px;font-size:13px;font-weight:600;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 0 0 1px #d3d6e0}.template:hover{transform:translateY(-2px)}.template.active{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand), 0 6px 16px #3b3f8f33}.presets{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.chip{font:inherit;color:var(--brand);cursor:pointer;background:#eef0fb;border:1px solid #0000;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:600;transition:all .15s}.chip:hover{border-color:var(--brand)}.plan-preview{margin:4px 0 0;padding:0;font-size:14px;list-style:none}.plan-preview li{border-top:1px solid #eef0f5;justify-content:space-between;gap:10px;padding:8px 0;display:flex}.plan-preview b{white-space:nowrap}.legal{line-height:1.65}.legal h1{margin-bottom:4px}.legal h2{margin:26px 0 6px;font-size:17px}.legal p,.legal li{font-size:15px}.legal ul{padding-left:20px}.check-field a{color:var(--brand);font-weight:600;text-decoration:underline}.auth .check-field{align-items:flex-start;margin:4px 0 14px;font-weight:400;line-height:1.5}.auth .check-field input{flex-shrink:0;margin-top:2px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.page-head .page-title{margin:0}.form-actions{flex-wrap:wrap;gap:10px;display:flex}.empty-state{padding:34px 20px}.empty-icon{margin-bottom:6px;font-size:40px}@media (max-width:560px){.page-head .btn{width:100%}.form-actions .btn{flex:1}}.btn-light{color:var(--brand);background:#eef0fb;border-color:#0000}.btn-light:hover{background:#e2e5f7}.tabs{background:#eceef7;border-radius:12px;gap:6px;margin-bottom:14px;padding:4px;display:flex}.tab{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1;padding:9px 10px;font-size:14px;font-weight:700}.tab.on{color:var(--brand);background:#fff;box-shadow:0 1px 3px #1e235a1f}.tab-count{background:#dfe2f3;border-radius:999px;margin-left:4px;padding:1px 8px;font-size:12px}.chip-on{background:var(--brand);color:#fff}.muted.block,small.block{margin-top:2px;display:block}@media (max-width:560px){.quote-row{flex-wrap:wrap}.quote-row-right{justify-content:space-between;width:100%}}.ai-card{background:linear-gradient(#fbfbff,#fff);border:1px solid #d9dcf5}.ai-head{align-items:center;gap:12px;margin-bottom:10px;display:flex}.ai-head h2{margin:0}.ai-spark{background:var(--brand);color:#fff;border-radius:12px;place-items:center;width:38px;height:38px;font-size:18px;display:grid}.ai-messages{flex-direction:column;gap:10px;max-height:320px;padding:4px 2px 8px;display:flex;overflow-y:auto}.ai-msg{border-radius:14px;max-width:92%;padding:10px 13px;font-size:15px;line-height:1.45;animation:.25s aiIn}.ai-msg p{margin:0}.ai-msg.assistant{color:var(--ink);background:#eef0fb;border-bottom-left-radius:4px;align-self:flex-start}.ai-msg.user{background:var(--brand);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.ai-steps{color:#2f3a8f;gap:3px;margin:8px 0 0;padding:0;font-size:13.5px;list-style:none;display:grid}.ai-steps li{animation:.25s aiIn}.ai-warn{color:#92580a;margin-top:6px;display:block}.ai-dots{gap:5px;padding:4px 2px;display:inline-flex}.ai-dots i{background:var(--brand);opacity:.35;border-radius:50%;width:7px;height:7px;animation:1s infinite aiDot}.ai-dots i:nth-child(2){animation-delay:.15s}.ai-dots i:nth-child(3){animation-delay:.3s}.ai-form{gap:8px;margin-top:4px;display:flex}.ai-form input{flex:1;min-width:0}.ai-card .presets{margin:8px 0 10px}.chip:disabled{opacity:.5;cursor:default}@keyframes aiIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes aiDot{0%,to{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.ai-msg,.ai-steps li,.ai-dots i{animation:none}}@media (max-width:560px){.ai-msg{max-width:100%}.ai-form .btn{padding-left:14px;padding-right:14px}}.agreed-row{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.agreed-row>div{flex-direction:column;gap:2px;padding-bottom:12px;display:flex}.agreed-row small{color:var(--muted)}.agreed-row .field{flex:1;min-width:200px;margin-bottom:0}.pay-summary{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:15px;display:flex}.progress{background:#eceef7;border-radius:999px;height:10px;margin-bottom:12px;overflow:hidden}.progress i{background:#1fa971;border-radius:999px;height:100%;transition:width .4s;display:block}.pay-row{border-top:1px solid #eef0f5;padding:12px 0}.pay-row.is-paid .pay-main{color:#14653a}.pay-main{justify-content:space-between;gap:10px;font-size:14.5px;display:flex}.pay-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.pay-actions input[type=date]{width:auto;padding:6px 8px;font-size:14px}.pay-toggle{font:inherit;color:var(--brand);cursor:pointer;background:#fff;border:1px solid #cfd3e8;border-radius:999px;padding:7px 12px;font-size:13.5px;font-weight:700}.pay-toggle.on{color:#14653a;background:#dcf5e7;border-color:#b6e6c9}.proof{align-items:center;gap:10px;display:inline-flex}.sub-title{margin:18px 0 8px;font-size:15px}.tracking .hint{margin-top:8px}@media (max-width:560px){.pay-actions .btn,.pay-toggle{text-align:center;flex:auto}}.due{color:var(--muted,#6b7280);margin-top:.2rem;font-size:.85rem;display:block}.due.soon,.due-row .soon{color:#b45309;font-weight:600}.due.late,.due-row .late{color:#b91c1c;font-weight:600}.due-banner h2{margin:0 0 .5rem;font-size:1.05rem}.due-row{color:inherit;border-top:1px solid #00000014;justify-content:space-between;gap:1rem;padding:.6rem 0;text-decoration:none;display:flex}.due-row:first-of-type{border-top:0}.due-right{flex-direction:column;align-items:flex-end;display:flex}.stat-grid{grid-template-columns:repeat(2,1fr);gap:.75rem;margin:.75rem 0;display:grid}.stat{background:#0000000a;border-radius:12px;padding:.75rem}.stat b{font-size:1.25rem;display:block}.stat small{color:var(--muted,#6b7280)}.bars{align-items:flex-end;gap:.5rem;height:110px;margin-top:.75rem;display:flex}.bar-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;height:100%;font-size:.75rem;display:flex}.bar-col i{background:var(--accent,#2563eb);border-radius:6px 6px 0 0;width:100%;min-height:2px;display:block}.danger-zone{border:1px solid #fecaca}.btn-danger{color:#fff;background:#b91c1c}@media (max-width:520px){.nav{flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.nav .nav-link,.nav .link-btn{font-size:.85rem}.nav .btn-small{white-space:nowrap;padding:.4rem .6rem;font-size:.85rem}}.ai-msg p{white-space:pre-line}.ai-choices{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.check-row{grid-column:1/-1;align-items:center;gap:8px;font-size:15px;display:flex}
:root{--brand:#1b3fa8;--brand-dark:#122d7e;--bg:#f1f2f4;--ink:#14171c;--muted:#565d6b;--line:#d9dce2;--paper:#fff;--font-body:"Instrument Sans Variable", system-ui, -apple-system, "Segoe UI", sans-serif;--font-head:"Bricolage Grotesque Variable", "Instrument Sans Variable", system-ui, sans-serif}body{font-family:var(--font-body);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;line-height:1.5}h1,h2,h3,.logo,.page-title{font-family:var(--font-head);letter-spacing:-.015em}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.btn{letter-spacing:0;border-radius:6px;padding:11px 18px;font-weight:600;transition:background .15s,border-color .15s}.btn:hover{box-shadow:none;transform:none}.btn-outline{background:var(--paper);color:var(--ink);border-color:#b9bdc7}.btn-outline:hover{background:var(--bg);border-color:var(--ink)}.btn-light{background:var(--paper);color:var(--ink);border-color:#b9bdc7}.link-btn{color:var(--muted)}.site-header{background:var(--bg);border-bottom:1px solid var(--line)}.logo{font-size:19px;font-weight:700}.logo-mark{border-radius:5px;width:26px;height:26px;font-size:15px;font-weight:700}.nav-link{color:var(--ink);font-weight:500}.card{border:1px solid var(--line);box-shadow:none;border-radius:8px;padding:20px}.card h2{color:var(--ink);margin-bottom:12px;font-size:17px;font-weight:600}.page-title{font-size:28px;font-weight:700}input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],input:not([type]),textarea,select{border-color:#c2c6cf;border-radius:6px}input:focus,textarea:focus,select:focus{outline:2px solid var(--brand);outline-offset:0;border-color:var(--brand)}.field{font-weight:500}.item-wrap{border-top:1px dotted #b9bdc7}.summary-lines li,.demo-lines li,.plan-preview li,.sheet-row{border-top:0;border-bottom:1px dotted #b9bdc7}.quote-row,.pay-row,.plan-preview li{border-top-style:dotted;border-top-color:#b9bdc7}.item-price,.summary-lines b{font-weight:600}.summary-total,.demo-total,.sheet-total{color:var(--ink);border-top:2px solid var(--ink);border-bottom:1px solid var(--ink);background:0 0;border-radius:0;margin:12px 0 16px;padding:12px 0}.summary-total strong,.demo-total strong{font-family:var(--font-head);font-size:24px;font-weight:700}.sheet-total{margin-top:10px;padding:8px 0;font-weight:700}.mini-total{border-top:2px solid var(--ink)}.mini-total strong{color:var(--ink);font-family:var(--font-head);font-size:26px}.total-bar{background:var(--paper);color:var(--ink);border-top:2px solid var(--ink)}.total-bar small{opacity:1;color:var(--muted)}.total-bar .btn{background:var(--brand);color:#fff}.summary-total strong,.total-bar strong,.mini-total strong{animation:none}.hero{background:var(--bg);color:var(--ink);border-bottom:1px solid var(--line);padding:64px 16px 72px}.hero-grid{gap:56px}@media (max-width:880px){.hero-grid{text-align:left}.hero-actions{justify-content:flex-start}.hero-sub{margin-left:0;margin-right:0}}.hero h1{letter-spacing:-.025em;margin-bottom:18px;font-size:clamp(32px,5.4vw,54px);font-weight:700;line-height:1.05}.hero-sub{color:var(--muted);font-size:18px}.demo{border:1px solid var(--line);box-shadow:0 1px 0 var(--line), 0 18px 40px -24px #14171c59;border-radius:8px}.demo-bar i{background:#d3d6dd}.demo-input,.sheet-client{border-radius:6px}.sheet-client{background:var(--bg)}.demo-sheet{border-top-color:var(--ink);border-radius:8px 8px 0 0;box-shadow:0 -10px 30px #14171c26}.sheet-head{color:var(--ink)}.demo-btn{border-color:var(--brand);border-radius:6px}.demo-toast{background:#1d6b45;border-radius:6px}.section{max-width:1080px;padding:64px 16px 8px}.section-title{text-align:left;margin-bottom:8px;font-size:clamp(26px,3.4vw,34px);font-weight:700}.section-sub{text-align:left;margin:0 0 24px;font-size:17px}.mini{max-width:560px;margin:0}.steps{gap:28px}.steps .card,.steps .feature{border:0;border-top:2px solid var(--ink);box-shadow:none;background:0 0;border-radius:0;padding:16px 0 0;transform:none}.steps .card:hover{box-shadow:none;transform:none}.step-n{width:auto;height:auto;color:var(--brand);font-family:var(--font-head);background:0 0;border-radius:0;font-size:28px;font-weight:700}.steps h3{margin:4px 0 8px;font-size:19px;font-weight:600}.steps p{font-size:16px}.cta{text-align:left;border-top:1px solid var(--line);max-width:1080px;margin:56px auto 0;padding:40px 16px 56px}.cta h2{font-size:clamp(24px,3vw,30px);font-weight:700}.tabs{border-bottom:1px solid var(--line);background:0 0;border-radius:0;gap:22px;padding:0}.tab{border-bottom:2px solid #0000;border-radius:0;flex:none;margin-bottom:-1px;padding:10px 2px;font-weight:600}.tab.on{box-shadow:none;color:var(--ink);border-bottom-color:var(--ink);background:0 0}.tab-count{background:var(--bg);border-radius:4px}.chip{background:var(--paper);color:var(--ink);border:1px solid #b9bdc7;border-radius:6px;font-weight:500}.chip:hover{border-color:var(--ink)}.chip-on{background:var(--ink);color:#fff;border-color:var(--ink)}.badge{background:var(--bg);color:var(--ink);border-radius:4px;font-weight:600}[class^=status-],[class*=\ status-]{border-radius:4px}.pay-toggle{color:var(--ink);border-color:#b9bdc7;border-radius:6px;font-weight:500}.stepper button,.icon-btn{color:var(--ink);border-radius:6px}.template{border-radius:8px}.template.active{box-shadow:0 0 0 1px var(--brand)}.swatch{box-shadow:0 0 0 1px #b9bdc7}.ai-card{background:var(--paper);border:1px solid var(--line)}.ai-spark{border-radius:6px}.ai-msg{border-radius:8px;animation:none}.ai-msg.assistant{background:var(--bg);border-bottom-left-radius:8px}.ai-msg.user{background:var(--brand);border-bottom-right-radius:8px}.ai-steps{color:var(--brand-dark)}.ai-steps li{animation:none}.stat{background:var(--bg);border-radius:6px}.stat b{font-family:var(--font-head)}.bar-col i{background:var(--brand);border-radius:2px 2px 0 0}.progress,.progress i{border-radius:4px}.danger-zone{border-color:#e7b4ae}.site-footer{border-top:1px solid var(--line);background:0 0;margin-top:56px}.footer-links{color:var(--ink);font-weight:500}.footer-note{border-top-style:dotted}.reveal,.reveal.in{opacity:1;transition:none;transform:none}.hero-grid{padding:0 16px}.ai-spark{font-family:var(--font-head);width:36px;height:36px;font-size:14px;font-weight:700}.sheet{background:var(--paper);border:1px solid var(--line);width:100%;max-width:440px;box-shadow:0 1px 0 var(--line), 0 30px 50px -30px #14171c73;border-radius:4px;margin:0 auto;padding:30px 32px 26px;font-size:14px;transform:rotate(1.2deg)}.sheet-top{border-bottom:2px solid var(--ink);justify-content:space-between;gap:16px;padding-bottom:18px;display:flex}.sheet-top div{flex-direction:column;gap:2px;display:flex}.sheet-top strong{font-family:var(--font-head);font-size:17px}.sheet-top span,.sheet-for span,.sheet-pay{color:var(--muted);font-size:12.5px}.sheet-ref{text-align:right}.sheet-for{flex-direction:column;gap:2px;padding:16px 0;display:flex}.sheet-lines{margin:0;padding:0;list-style:none}.sheet-lines li{border-bottom:1px dotted #b9bdc7;justify-content:space-between;gap:12px;padding:9px 0;display:flex}.sheet-lines b{white-space:nowrap;font-weight:600}.sheet-sum{justify-content:space-between;align-items:baseline;padding:14px 0 6px;display:flex}.sheet-sum strong{font-family:var(--font-head);font-size:26px}.sheet-pay{border-top:1px solid var(--line);margin:0;padding-top:10px}@media (max-width:880px){.sheet{max-width:100%;transform:none}}.editor-main>.card{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;margin-bottom:0;padding:28px 0 8px}.editor-main>.card:first-child{border-top:0;padding-top:0}.editor-main>.card h2{margin-bottom:14px;font-size:20px;font-weight:700}.editor-main>.ai-card{background:var(--paper);border:1px solid var(--line);border-radius:8px;margin-bottom:24px;padding:20px}.editor-main>.ai-card+.card{border-top:0;padding-top:4px}.editor-side .card{background:var(--paper)}.empty-state{text-align:left;align-items:flex-start;padding:28px 24px}.empty-state h2{font-size:20px}.flag-row{border-top:1px dotted #b9bdc7;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.flag-actions{align-items:flex-start;gap:8px;display:flex}.flag-row .danger{color:#b3261e;border-color:#e7b4ae}:root{--bg:#eceef3;--radius:18px}.btn{border-radius:999px;padding:12px 22px}.btn-small{padding:9px 16px}.btn-light{color:var(--brand);background:#fff;border-color:#fff}.btn-light:hover{background:#eef1ff}.chip{border-radius:999px}.card{border-radius:var(--radius);border:0}.editor-main>.card{border-radius:0}.editor-main>.ai-card{border-radius:var(--radius);border:0}.editor-side .card{border-radius:22px}input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],input:not([type]),textarea,select{border-radius:12px}.hero{border-bottom:0;padding-top:72px}.hero h1{letter-spacing:-.035em;font-size:clamp(36px,6.2vw,68px);line-height:1}.sheet{border-radius:10px}.section-title{letter-spacing:-.03em;max-width:16ch;font-size:clamp(30px,4.4vw,46px);line-height:1.05}.mini.card{border-radius:22px}.bento{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px;display:grid}.tile{background:#fff;border-radius:26px;flex-direction:column;gap:10px;min-height:280px;padding:30px;display:flex;overflow:hidden}.tile h3{letter-spacing:-.025em;max-width:14ch;margin:0;font-size:26px;line-height:1.08}.tile p{color:var(--muted);max-width:34ch;margin:0;font-size:16px}.tile small{color:inherit;opacity:.75;margin-top:auto}.tile-ai{background:var(--brand);color:#fff;grid-column:span 2}.tile-ai h3{max-width:18ch;font-size:34px}.tile-ai p{color:#ffffffd1}.mock-chat{flex-direction:column;gap:10px;max-width:420px;margin:8px 0 4px;display:flex}.mock-user{color:var(--ink);background:#fff;border-radius:18px 18px 4px;align-self:flex-end;padding:10px 14px;font-size:14.5px}.mock-ticks{background:#ffffff24;border-radius:18px 18px 18px 4px;gap:6px;margin:0;padding:12px 14px;font-size:14.5px;list-style:none;display:grid}.mock-ticks li:before{content:"✓";margin-right:10px;font-weight:700}.tile-pdf{background:#fff}.mock-pdfs{gap:10px;margin-top:auto;display:flex}.mock-pdfs span{aspect-ratio:3/4;border-top:6px solid var(--c);box-shadow:0 1px 0 var(--line);background:#f6f7f9;border-radius:6px;flex-direction:column;flex:1;gap:7px;padding:12px 10px;display:flex}.mock-pdfs i{background:#d3d6dd;border-radius:2px;height:4px;display:block}.mock-pdfs i:nth-child(2){width:70%}.mock-pdfs i:nth-child(3){background:var(--c);width:45%}.mock-tags{flex-wrap:wrap;gap:8px;margin-top:auto;display:flex}.mock-tags span{background:var(--bg);border-radius:999px;padding:7px 13px;font-size:14px;font-weight:500}.mock-progress{flex-direction:column;gap:8px;margin-top:auto;display:flex}.mock-progress>div{background:var(--bg);border-radius:999px;height:12px;overflow:hidden}.mock-progress i{background:#1d8a5b;border-radius:999px;height:100%;display:block}.mock-progress b{font-family:var(--font-head);font-size:20px}.mock-progress small{color:var(--muted);opacity:1;margin:0}.mock-bars{align-items:flex-end;gap:10px;height:110px;margin-top:auto;display:flex}.mock-bars i{background:var(--bg);border-radius:8px;flex:1}.mock-bars i:last-child{background:var(--brand)}@media (max-width:880px){.bento{grid-template-columns:1fr}.tile-ai{grid-column:auto}.tile{min-height:0}.mock-pdfs,.mock-tags,.mock-progress,.mock-bars{margin-top:12px}.mock-pdfs span{max-width:110px}}.cta{background:var(--brand);color:#fff;border-top:0;border-radius:32px;max-width:1048px;margin:72px auto 0;padding:56px 40px}.cta h2{letter-spacing:-.03em;max-width:14ch;margin-bottom:24px;font-size:clamp(30px,5vw,52px);line-height:1.02}@media (max-width:1080px){.cta{margin-left:16px;margin-right:16px}}@media (max-width:560px){.cta{border-radius:26px;padding:40px 24px}}.ai-form{align-items:flex-end}.ai-form textarea{resize:none;min-width:0;min-height:46px;max-height:200px;line-height:1.4;font:inherit;flex:1;padding:11px 14px;font-size:16px;overflow-y:auto}.ai-files{opacity:.8;margin-top:6px;font-size:13px;display:block}.ai-pending{flex-wrap:wrap;gap:8px;margin:10px 0 0;padding:0;list-style:none;display:flex}.ai-pending li{background:var(--bg);border-radius:999px;align-items:center;gap:6px;max-width:100%;padding:5px 6px 5px 12px;font-size:13px;display:inline-flex}.ai-pending li span{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.ai-pending button{cursor:pointer;background:#fff;border:0;border-radius:50%;width:22px;height:22px;line-height:1}.ai-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.ai-foot .muted{margin:0}.ai-form{flex-wrap:wrap;align-items:stretch}.ai-form textarea{flex:100%}.ai-form .btn{flex:1 1 0}.ai-form{flex-wrap:nowrap;align-items:flex-end;gap:10px}.ai-box{flex:1;min-width:0;position:relative}.ai-box textarea{width:100%;padding-right:52px}.ai-form .btn{flex:none;min-height:46px}.ai-plus{background:var(--bg);width:32px;height:32px;color:var(--brand);cursor:pointer;border:0;border-radius:50%;place-items:center;font-size:22px;line-height:1;display:grid;position:absolute;bottom:7px;right:8px}.ai-plus:hover:not(:disabled){background:var(--line)}.ai-plus:disabled{opacity:.5;cursor:default}.ai-box textarea{scrollbar-width:thin;padding-right:92px;overflow-y:hidden}.ai-tools{gap:6px;display:flex;position:absolute;bottom:7px;right:8px}.ai-tool{background:var(--bg);width:32px;height:32px;color:var(--brand);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.ai-tool:hover:not(:disabled){background:var(--line)}.ai-tool:disabled{opacity:.5;cursor:default}.ai-tool.on{color:#fff;background:#d4351c;animation:1.2s ease-in-out infinite ai-pulse}@keyframes ai-pulse{50%{box-shadow:0 0 0 6px #d4351c2e}}@media (prefers-reduced-motion:reduce){.ai-tool.on{animation:none}}.admin-layout{grid-template-columns:200px minmax(0,1fr);align-items:start;gap:24px;display:grid}.admin-nav{flex-direction:column;gap:4px;display:flex;position:sticky;top:16px}.admin-nav button{text-align:left;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;padding:10px 14px}.admin-nav button:hover{color:var(--ink);background:#fff}.admin-nav button.on{color:var(--brand);box-shadow:0 1px 0 var(--line);background:#fff;font-weight:600}.admin-main{min-width:0}.admin-tools{flex-wrap:wrap;gap:10px;margin-bottom:8px;display:flex}.admin-tools input{flex:220px}.table-wrap{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:14px}.admin-table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:8px 10px;font-weight:600}.admin-table td{border-bottom:1px solid var(--line);white-space:nowrap;padding:10px}@media (max-width:760px){.admin-layout{grid-template-columns:1fr;gap:12px}.admin-nav{flex-direction:row;position:static;overflow-x:auto}.admin-nav button{white-space:nowrap}}@media (min-width:1100px){.admin-layout{margin-inline:calc(50% - 520px)}}.admin-title{grid-column:1/-1;margin-bottom:0}.pw-wrap{display:block;position:relative}.pw-wrap input{width:100%;padding-right:48px}.pw-eye{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.pw-eye:hover{background:var(--bg);color:var(--ink)}.receipt{border-bottom:1px dotted var(--line);padding:10px 0}.receipt-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:12px;margin-top:12px;display:grid}.receipt-buttons{flex-wrap:wrap;grid-column:1/-1;gap:10px;display:flex}.logo-svg{vertical-align:middle;flex:none;margin-right:4px;display:inline-block}
