:root{--bg:#87919e;--surface:#e8edf4c7;--surface-strong:#f7f9fceb;--ink:#0b1020;--muted:#617089;--line:#0f172a29;--gold:#d8b45e;--gold-strong:#b88924;--blue:#3c7cff;--cyan:#35c2d8;--dark:#111723;--dark-soft:#202938}*{box-sizing:border-box}html,body{max-width:100%;min-height:100%;margin:0;overflow-x:hidden}body{color:var(--ink);background:linear-gradient(90deg,#ffffff2e 1px,#0000 1px) 0 0/96px 96px,linear-gradient(0deg,#ffffff24 1px,#0000 1px) 0 0/96px 96px,linear-gradient(135deg,#111723eb,#5e6b7cd6 36%,#c9cfd8eb 64%,#525e6fe6),#8f99a6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body:before{content:"";pointer-events:none;mix-blend-mode:screen;background:linear-gradient(120deg,#d8b45e3d,#0000 22% 78%,#35c2d826),repeating-linear-gradient(135deg,#ffffff12 0 1px,#0000 1px 18px);position:fixed;inset:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{height:100dvh;position:relative;overflow:hidden}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(135deg,#0e131ee6,#2a3342d1);border-bottom:1px solid #ffffff2e;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:16px;min-height:74px;padding:12px 28px;display:grid;box-shadow:0 18px 50px #04081238}.brand{align-items:center;gap:13px;min-width:0;display:flex}.brand>div{min-width:0}.brand img{border:1px solid #d8b45e7a;border-radius:15px;width:50px;height:50px;box-shadow:0 10px 26px #00000047,inset 0 0 22px #ffffff1f}.brand strong{color:#fffaf0;font-size:20px;font-weight:900;display:block}.brand span,.panel-title span,.preview-header span,.checkout-card p,.dark-card p,.card p,.card li{color:var(--muted)}.brand span{color:#ebf2ffb3}.topbar-status{align-items:center;gap:8px;min-width:0;display:flex}.topbar-status span,.document-toolbar span{color:#f8fafce0;white-space:nowrap;background:#ffffff14;border:1px solid #ffffff24;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:850}.topbar-status span:last-child{color:#ffe6a8;background:#d8b45e29;border-color:#d8b45e8c}.topbar nav{justify-content:flex-end;gap:10px;display:flex}.topbar button,.preview-header button,.checkout-card button,.card button{min-height:42px;color:var(--ink);background:#ffffffc7;border:1px solid #0f172a24;border-radius:11px;padding:0 16px;font-weight:900;box-shadow:0 10px 24px #0f172a14}.topbar button{color:#f8fafc;background:#ffffff1a;border-color:#ffffff2e}.topbar .primary,.preview-header button,.checkout-card button{color:#fff;background:linear-gradient(135deg,#161d2b,#313b4f 48%,#d8b45e 160%);border-color:#d8b45e8c}button:disabled{cursor:not-allowed;opacity:.55}.workspace{grid-template-columns:minmax(360px,430px) minmax(0,1fr) minmax(292px,330px);gap:18px;height:calc(100dvh - 74px);min-height:0;padding:18px 26px 22px;display:grid;overflow:hidden}.panel,.preview-wrap{background:linear-gradient(180deg, #ffffffdb, #e1e7f0c7), var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #ffffff38;border-radius:18px;min-width:0;box-shadow:0 28px 70px #070c1642}.editor,.side,.preview-wrap{scrollbar-gutter:stable;height:100%;min-height:0;overflow:auto}.editor,.side{padding:18px}.editor::-webkit-scrollbar{width:10px}.side::-webkit-scrollbar{width:10px}.preview-wrap::-webkit-scrollbar{width:10px}.editor::-webkit-scrollbar-thumb{background:#27324457 padding-box padding-box;border:3px solid #0000;border-radius:999px}.side::-webkit-scrollbar-thumb{background:#27324457 padding-box padding-box;border:3px solid #0000;border-radius:999px}.preview-wrap::-webkit-scrollbar-thumb{background:#27324457 padding-box padding-box;border:3px solid #0000;border-radius:999px}.panel-title{justify-content:space-between;gap:12px;margin-bottom:14px;display:flex}.panel-title small,.preview-header small{color:var(--gold-strong);letter-spacing:1.7px;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:950;display:block}.panel-title p{color:#070b15;margin:0 0 6px;font-size:22px;font-weight:950}.panel-title strong{color:#5a3d06;background:linear-gradient(135deg,#fff8e1f5,#e1c47985);border:1px solid #b8892473;border-radius:999px;align-self:flex-start;padding:8px 11px;font-size:12px;box-shadow:inset 0 1px #ffffffbf}.workflow-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 14px;display:grid}.workflow-strip span{color:#4c5a70;text-align:center;background:#ffffffa3;border:1px solid #0f172a1f;border-radius:12px;min-height:38px;padding:10px 8px;font-size:12px;font-weight:900}.workflow-strip .active{color:#fff2c8;background:linear-gradient(135deg,#111723,#2d3749);border-color:#d8b45e8c}.trust-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:-2px 0 14px;display:grid}.trust-strip span{color:#203047;text-align:center;background:linear-gradient(135deg,#38bdf81f,#d8b45e1c);border:1px solid #38bdf833;border-radius:11px;min-height:34px;padding:9px 8px;font-size:11px;font-weight:950}.card,.checkout-card,.share-card,.dark-card{background:linear-gradient(145deg, #ffffffe0, #e9eff8c7), var(--surface-strong);border:1px solid #ffffff57;border-radius:16px;margin-bottom:14px;padding:15px;box-shadow:inset 0 1px #ffffffc7,0 14px 30px #0f172a14}.card h2,.share-card h2{color:#8a6518;letter-spacing:.8px;text-transform:uppercase;margin:0 0 12px;font-size:13px;font-weight:950}label{color:#151b28;margin-bottom:12px;font-size:13px;font-weight:900;display:block}input,select,textarea{width:100%;min-height:40px;color:var(--ink);background:#ffffffc2;border:1px solid #2b364829;border-radius:11px;outline:none;margin-top:7px;padding:10px 12px;font-weight:780;box-shadow:inset 0 1px #ffffffc7}input:focus,select:focus,textarea:focus{border-color:#3c7cff9e;box-shadow:0 0 0 4px #3c7cff1f}textarea{resize:vertical;min-height:96px}.field-grid{gap:10px;display:grid}.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.file-pill{color:#5b4316;overflow-wrap:anywhere;background:linear-gradient(135deg,#fffae8db,#e9eff8cc);border:1px dashed #b8892480;border-radius:12px;padding:10px;font-weight:850}.country-cue{color:#354258;background:linear-gradient(135deg,#fff8e1d1,#ecf1f8b8);border:1px solid #d8b45e59;border-radius:12px;margin:12px 0 0;padding:11px 12px;font-size:12px;font-weight:780;line-height:1.45}.country-cue strong{color:#755316}.segmented{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px;display:grid}.segmented .active{color:#fff;background:#151b26;border-color:#0f172ae6}.signature-pad{touch-action:none;background:#fff;border:1px solid #1118272e;border-radius:14px;width:100%;height:150px}.items-editor{gap:12px;display:grid}.quote-item{background:#ffffff8f;border:1px solid #0f172a1a;border-radius:14px;padding:12px}.quote-item button{width:100%;min-height:36px}.preview-wrap{background:linear-gradient(#f8fafce6,#d1d9e5e6),repeating-linear-gradient(90deg,#1018280d 0 1px,#0000 1px 72px);flex-direction:column;display:flex}.preview-header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffbf;justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:16px 18px;display:flex}.preview-header strong{font-size:19px;font-weight:950;display:block}.document-toolbar{flex-wrap:wrap;gap:8px;padding:14px 18px 0;display:flex}.document-toolbar span{color:#2c384d;overflow-wrap:anywhere;background:#ffffffad;border-color:#0f172a1a}.document-toolbar span:first-child{color:#174ea6;background:#3c7cff1a;border-color:#3c7cff47}.paper{background:#fffefa;width:min(816px,100% - 42px);min-height:1056px;margin:20px auto 60px;padding:56px 64px;position:relative;overflow:hidden;box-shadow:0 38px 95px #060a1442}.rule{background:linear-gradient(90deg, #283b4a, var(--gold), var(--cyan));height:4px;margin-bottom:34px}.kicker{color:#8b6b22;letter-spacing:2px;text-transform:uppercase;font-size:12px;font-weight:900}.paper h1{margin:8px 0;font-size:36px;line-height:1.05}.paper h2{text-transform:uppercase;border-bottom:2px solid #d6ad4f;margin-top:28px;padding-bottom:8px;font-size:15px}.paper p,.paper li{color:#202733;font-size:14px;line-height:1.6}.paper .legal-note{color:#5f4512;background:#fff8df;border:1px solid #b8892459;border-radius:10px;padding:12px;font-weight:900}.meta{color:var(--muted)}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:24px 0;display:grid}.summary-grid span{color:#5f4512;background:#fff8df;border:1px solid #d6ad4f57;border-radius:10px;padding:10px;font-size:11px;font-weight:900}.summary-grid strong{color:#111827;overflow-wrap:anywhere;margin-top:5px;display:block}.quote-table{border:1px solid #11182724;border-radius:12px;margin:16px 0 20px;display:grid;overflow:hidden}.quote-head,.quote-row{grid-template-columns:minmax(0,1fr) 72px 112px 112px;gap:0;display:grid}.quote-head{color:#fff;letter-spacing:.7px;text-transform:uppercase;background:#111723;font-size:11px;font-weight:900}.quote-head span,.quote-row span{padding:10px}.quote-row{color:#1f2937;background:#f8fafcbd;border-top:1px solid #1118271a;font-size:12px}.quote-row strong{margin-bottom:4px;display:block}.quote-row small{color:#647084;line-height:1.4;display:block}.totals-box{background:#fff8df;border:1px solid #d8b45e59;border-radius:12px;gap:7px;width:min(320px,100%);margin:0 0 20px auto;padding:12px;display:grid}.totals-box span{color:#5f4512;justify-content:space-between;gap:12px;font-size:12px;font-weight:850;display:flex}.totals-box span:last-child{color:#111827;border-top:1px solid #b8892447;padding-top:9px;font-size:16px}.label-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 24px;display:grid}.sku-label{background:#fff;border:1px solid #11182729;border-radius:12px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:4px 9px;min-height:76px;padding:8px;display:grid}.sku-label img,.sku-label>span{border:1px solid #1118271f;border-radius:6px;grid-row:span 3;width:46px;height:46px}.sku-label strong,.sku-label small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sku-label strong{font-size:11px}.sku-label small{color:#647084;font-size:10px;font-weight:800}.signature-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:60px;display:grid}.signature-preview div{border-top:2px solid #111827;min-height:92px;padding-top:10px}.signature-preview img{object-fit:contain;max-width:190px;max-height:58px;margin-top:-64px;display:block}.signature-preview strong{font-size:24px;font-style:italic;display:block}.signature-preview span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900}.watermark{color:#0f172a14;pointer-events:none;text-align:center;text-transform:uppercase;font-size:clamp(42px,7vw,76px);font-weight:900;position:absolute;top:45%;left:18%;right:18%;transform:rotate(-18deg)}.side-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.side-kpis div{color:#fff;background:linear-gradient(145deg,#111723f0,#313b4de6);border:1px solid #d8b45e57;border-radius:16px;padding:14px;box-shadow:0 18px 34px #060a142e}.side-kpis span{color:#f0cf78;letter-spacing:1px;text-transform:uppercase;font-size:11px;font-weight:950;display:block}.side-kpis strong{margin-top:7px;font-size:15px;line-height:1.15;display:block}.dark-card{background:linear-gradient(135deg, #111723f5, #2e384af0), var(--dark);color:#fff;border-color:#d8b45e57}.dark-card span,.checkout-card span{color:#f4d77d;letter-spacing:1px;text-transform:uppercase;font-size:12px;font-weight:900}.dark-card h2,.checkout-card strong{margin:8px 0;font-size:24px;display:block}.checkout-card button{width:100%;margin-top:8px}.share-card div{gap:8px;display:grid}.share-card a,.suite-card a{color:var(--ink);background:#ffffffad;border:1px solid #1118271f;border-radius:11px;padding:10px 11px;font-weight:900;text-decoration:none}.suite-card{background:linear-gradient(145deg, #111723f0, #313b4de6), var(--dark);color:#fff;border:1px solid #38bdf842;border-radius:16px;margin-bottom:14px;padding:15px;box-shadow:0 18px 34px #060a142e}.suite-card h2{color:#f4d77d;letter-spacing:.8px;text-transform:uppercase;margin:0 0 8px;font-size:13px;font-weight:950}.suite-card p{color:#e2e8f0c7;margin:0 0 12px;font-size:13px;line-height:1.45}.suite-card div{gap:8px;display:grid}.suite-card a{color:#f8fafc;background:#ffffff12;border-color:#ffffff1a}.suite-card a strong,.suite-card a span{display:block}.suite-card a span{color:#cbd5e1b8;margin-top:3px;font-size:12px;font-weight:750}.checkout-modal{z-index:50;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#070c16ad;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.checkout-dialog{background:linear-gradient(145deg,#fffffff7,#e5ebf4f5),#f8fafc;border:1px solid #d8b45e94;border-radius:20px;width:min(460px,100%);padding:26px;position:relative;box-shadow:0 34px 90px #0f172a6b}.checkout-dialog>span{color:#8b6b22;letter-spacing:1.4px;text-transform:uppercase;font-size:12px;font-weight:900}.checkout-dialog h2{margin:8px 0 10px;font-size:27px;line-height:1.05}.checkout-dialog p,.checkout-dialog small{color:var(--muted);line-height:1.55}.checkout-dialog strong{color:#4b3712;text-align:center;background:linear-gradient(135deg,#fff7d8,#f8e6aa);border:1px solid #d8b45e7a;border-radius:14px;margin:18px 0;padding:14px;font-size:25px;display:block}.checkout-actions{gap:10px;margin-bottom:14px;display:grid}.checkout-actions button{color:#fff;background:linear-gradient(135deg,#111521,#30394a);border:1px solid #0f172adb;border-radius:12px;min-height:48px;font-weight:900}.checkout-actions .mercado{color:#111827;background:linear-gradient(135deg,#ffe600,#f7c948);border-color:#305cbe7a}.modal-close{width:34px;height:34px;color:var(--ink);background:#fff;border:1px solid #11182724;border-radius:999px;font-size:18px;font-weight:700;position:absolute;top:12px;right:12px}@media (max-width:1260px){.topbar{grid-template-columns:1fr auto}.topbar-status{order:3;grid-column:1/-1;padding-bottom:2px;overflow-x:auto}}@media (max-width:1100px){.workspace{grid-template-columns:1fr;height:auto;overflow:visible}.app-shell{height:auto;min-height:100dvh;overflow:visible}.editor,.side,.preview-wrap{height:auto;max-height:none}}@media (max-width:720px){.topbar,.topbar nav{grid-template-columns:1fr;display:grid}.topbar{padding:12px}.topbar-status{grid-column:auto;grid-template-columns:1fr;width:100%;display:grid;overflow:visible}.topbar-status span{white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center;min-width:0;padding:8px 6px;font-size:11px;line-height:1.2}.workspace{max-width:100vw;padding:12px;overflow-x:hidden}.panel,.preview-wrap{max-width:calc(100vw - 24px)}.brand{align-items:flex-start}.brand strong{font-size:18px;line-height:1.15}.brand span{overflow-wrap:anywhere;font-size:13px;line-height:1.25;display:block}.field-grid.two,.summary-grid,.label-grid,.signature-preview,.side-kpis{grid-template-columns:1fr}.quote-head,.quote-row{grid-template-columns:minmax(0,1fr)}.quote-head span:not(:first-child){display:none}.workflow-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:0;overflow:visible}.trust-strip{grid-template-columns:1fr}.preview-header{flex-direction:column;align-items:stretch}.paper{width:100%;min-height:0;margin:12px auto;padding:36px 24px}.paper h1{font-size:28px}}
