.quote-module{color-scheme:light;--blue:#103b89;--orange:#ff6b00;--bg:#f3f6fa;--line:#dce3ee;--muted:#64748b;--ink:#162339;--card:#fff;--soft:#eef3fb}.quote-module *{box-sizing:border-box}.quote-module{margin:0;background:var(--bg);color:var(--ink);font:14px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.quote-module button,.quote-module input,.quote-module select,.quote-module textarea{font:inherit}.quote-module button{cursor:pointer;min-height:38px;border:1px solid var(--line);border-radius:9px;padding:8px 13px;color:var(--blue);background:var(--card);font-weight:650}.quote-module button:hover{border-color:#8aa4d0;background:#f1f5fc}.quote-module button:focus-visible,.quote-module input:focus-visible,.quote-module select:focus-visible,.quote-module textarea:focus-visible{outline:3px solid #a6c4f4;outline-offset:2px}.quote-module .primary{background:var(--orange);border-color:var(--orange);color:white}.quote-module .primary:hover{background:#df5e00;color:#fff;border-color:#df5e00}.quote-module .secondary{background:var(--blue);color:#fff;border-color:var(--blue)}.quote-module .secondary:hover{background:#164ca8;color:#fff}.quote-module header.app-head{background:var(--blue);color:white;padding:16px max(18px,calc((100% - 1140px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}.quote-module .brand{display:flex;align-items:center;gap:13px}.quote-module .brand img{width:54px;height:54px;padding:4px;background:white;border-radius:12px}.quote-module .brand strong{display:block;font-size:24px;font-weight:850;letter-spacing:-.7px}.quote-module .brand strong span{color:#ff7a20}.quote-module .brand small{color:#d4e1ff}.quote-module .preview-badge{border:1px solid #7696cd;border-radius:20px;padding:6px 12px;color:#fff;font-size:12px;white-space:nowrap}.quote-module .demo-strip{background:#fff3e5;border-bottom:1px solid #f7d5b2;text-align:center;padding:9px 16px;color:#8d4300;font-size:12px}.quote-module .layout{max-width:1140px;margin:24px auto;display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;padding:0 18px}.quote-module .sidebar{background:var(--card);border:1px solid var(--line);padding:10px;border-radius:14px;align-self:start}.quote-module .nav-note{color:var(--muted);font-size:11px;padding:8px}.quote-module .nav-row{padding:12px 10px;border-radius:9px;display:flex;gap:12px;color:#8390a2;font-size:13px}.quote-module .nav-row.active{background:var(--blue);color:#fff;font-weight:750}.quote-module .nav-icon{width:18px;text-align:center}.quote-module .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.quote-module .section-title h1{font-size:26px;letter-spacing:-.6px;margin:0}.quote-module .section-title p{margin:5px 0 0;color:var(--muted);font-size:12px}.quote-module .panel{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:18px;margin-bottom:14px}.quote-module .panel h2{font-size:15px;margin:0 0 14px}.quote-module .metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:18px}.quote-module .metrics>div{background:var(--card);border:1px solid var(--line);padding:14px 16px;border-radius:12px}.quote-module .metrics span{display:block;color:var(--muted);font-size:12px}.quote-module .metrics strong{display:block;font-size:23px;margin-top:4px}.quote-module .list-tools{display:flex;gap:10px;margin-bottom:12px}.quote-module .list-tools input{flex:1}.quote-module .quote-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 135px;align-items:center;width:100%;border-radius:0;border-width:0 0 1px;padding:13px 4px;gap:12px;text-align:left;color:var(--ink);font-weight:400}.quote-module .quote-row:last-child{border-bottom:0}.quote-module .quote-row strong{font-size:14px}.quote-module .quote-row small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.quote-module .numeric{text-align:right;font-variant-numeric:tabular-nums}.quote-module .arrow{color:#86a0c6;margin-left:5px}.quote-module .badge{display:inline-block;font-size:10px;padding:5px 8px;text-align:center;border-radius:20px;background:#eef2f7;color:#52627a;font-weight:700}.quote-module .badge.enviada{background:#e6efff;color:#1d4f9e}.quote-module .badge.aceptada{background:#e5f5ec;color:#22764a}.quote-module .badge.vencida{background:#ffeded;color:#a13a3a}.quote-module .empty{text-align:center;padding:38px 12px}.quote-module .empty-icon{display:inline-flex;width:54px;height:54px;background:var(--soft);color:var(--blue);align-items:center;justify-content:center;border-radius:15px;font-size:30px}.quote-module .empty h3{font-size:17px;margin:15px 0 6px}.quote-module .empty p{color:var(--muted);font-size:13px;max-width:360px;margin:0 auto 20px;line-height:1.6}.quote-module .small-actions{display:flex;gap:8px;justify-content:flex-end}.quote-module .small-actions button{font-size:12px;min-height:32px}.quote-module .grid-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.quote-module .fields-three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.quote-module label{display:block;color:#536178;font-size:12px;font-weight:650}.quote-module input,.quote-module select,.quote-module textarea{width:100%;border:1px solid #cad4e2;border-radius:8px;background:var(--card);color:var(--ink);padding:10px;min-height:39px;margin-top:6px}.quote-module textarea{resize:vertical;min-height:75px;font-weight:400}.quote-module .hint{display:block;color:var(--muted);font-size:11px;margin-top:5px}.quote-module .search-wrap{position:relative}.quote-module .results{position:absolute;top:100%;left:0;right:0;z-index:4;background:var(--card);border:1px solid #b8c9e2;box-shadow:0 8px 20px #15304b20;border-radius:10px;max-height:240px;overflow:auto}.quote-module .results button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;border-radius:0;border-bottom:1px solid var(--line);text-align:left;font-size:12px;color:var(--ink)}.quote-module .results button small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.quote-module .results p{font-size:12px;padding:0 12px;color:var(--muted)}.quote-module .line{display:grid;grid-template-columns:minmax(130px,1fr) 58px 100px 95px 28px;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.quote-module .line-title strong{display:block;font-size:12px}.quote-module .line-title small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.quote-module .line label{font-size:10px}.quote-module .line input{padding:7px;min-height:34px;margin-top:4px;font-size:12px}.quote-module .line-total{text-align:right;font-size:13px}.quote-module .remove{min-height:29px;width:28px;padding:0;border:0;font-size:22px;color:#aa4c50}.quote-module .items-empty{font-size:12px;color:var(--muted);margin:20px 0 4px}.quote-module .totals{background:var(--soft);border-radius:10px;padding:13px 16px;margin-top:12px}.quote-module .totals p{display:flex;justify-content:space-between;margin:7px 0;font-size:12px}.quote-module .totals p.total{font-size:20px;font-weight:800;color:var(--blue);border-top:1px solid #cfdbed;padding-top:12px;margin-top:12px}.quote-module .discount-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quote-module .editor-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}.quote-module .error{color:#ac303b;font-size:12px;min-height:15px;line-height:1.5;margin:8px 0 0}.quote-module .preview-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.quote-module .paper{background:white;color:#1c2b40;border:1px solid var(--line);padding:30px;border-radius:12px}.quote-module .paper-brand{display:flex;justify-content:space-between;align-items:center;gap:15px}.quote-module .paper-brand img{width:90px}.quote-module .paper-brand strong{display:block;color:var(--blue);font-size:23px}.quote-module .paper-brand span{display:block;text-align:right;margin-top:5px;font-size:12px}.quote-module .paper-warning{color:#9a6b21;font-size:10px;margin:18px 0 12px}.quote-module .paper-meta{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px}.quote-module .paper-meta small{display:block;color:var(--muted);font-size:10px}.quote-module .paper-meta h2{font-size:17px;margin:4px 0}.quote-module .paper-meta span{font-size:11px}.quote-module .paper-table{width:100%;border-collapse:collapse;font-size:11px}.quote-module .paper-table th{text-align:left;background:var(--soft);padding:9px 6px;color:var(--blue)}.quote-module .paper-table td{padding:11px 6px;border-bottom:1px solid var(--line)}.quote-module .paper-table td small{display:block;color:var(--muted);margin-top:4px}.quote-module .paper-table th:not(:first-child),.quote-module .paper-table td:not(:first-child){text-align:right;white-space:nowrap}.quote-module .paper-totals{max-width:300px;margin:18px 0 20px auto}.quote-module .paper-totals p{display:flex;justify-content:space-between;font-size:12px}.quote-module .paper-grand{border-top:1px solid var(--line);padding-top:12px;font-size:17px!important;color:var(--blue)}.quote-module .paper-notes{border-top:1px solid var(--line);padding-top:14px;font-size:11px}.quote-module .paper-notes p{white-space:pre-wrap;line-height:1.6}.quote-module .paper footer{font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;line-height:1.7;margin-top:20px}.quote-module .footnote{font-size:11px;color:var(--muted);line-height:1.6}.quote-module .toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#162b4d;color:white;padding:12px 18px;border-radius:10px;z-index:10;box-shadow:0 5px 25px #0002;font-size:13px;max-width:90%;width:max-content}.quote-module [hidden]{display:none!important}@media(max-width:800px){.quote-module .layout{grid-template-columns:1fr;margin:18px auto;gap:0}.quote-module .sidebar{display:none}.quote-module .line{grid-template-columns:minmax(100px,1fr) 50px 87px 75px 25px;gap:7px}.quote-module .metrics strong{font-size:20px}.quote-module .paper{padding:22px}}@media(max-width:520px){.quote-module header.app-head{padding:12px 15px}.quote-module .brand img{width:43px;height:43px}.quote-module .brand strong{font-size:20px}.quote-module .brand small{font-size:10px}.quote-module .preview-badge{font-size:10px;padding:5px 8px}.quote-module .layout{padding:0 12px}.quote-module .section-title h1{font-size:23px}.quote-module .section-title{align-items:flex-start}.quote-module .section-title>button{font-size:12px;padding:8px 10px}.quote-module .panel{padding:13px}.quote-module .metrics{gap:6px}.quote-module .metrics>div{padding:11px 9px}.quote-module .metrics span{font-size:10px}.quote-module .metrics strong{font-size:18px}.quote-module .grid-two{grid-template-columns:1fr}.quote-module .fields-three{grid-template-columns:1fr 1fr}.quote-module .fields-three label:last-child{grid-column:1/-1}.quote-module .line{grid-template-columns:minmax(0,1fr) 53px 92px 24px;gap:8px;position:relative;padding-bottom:20px}.quote-module .line-title{grid-column:1/4;grid-row:1}.quote-module .line-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quote-module .line .remove{grid-column:4;grid-row:1}.quote-module .line .qty{grid-column:2;grid-row:2}.quote-module .line .price{grid-column:3;grid-row:2}.quote-module .line-total{grid-column:1;grid-row:2;text-align:left;padding-top:15px;font-size:14px}.quote-module .quote-row{grid-template-columns:minmax(0,1fr) 64px 93px;gap:6px}.quote-module .quote-row strong{font-size:12px}.quote-module .badge{font-size:9px;padding:4px}.quote-module .paper{padding:16px}.quote-module .paper-brand img{width:66px}.quote-module .paper-brand strong{font-size:20px}.quote-module .paper-meta{gap:10px}.quote-module .paper-table{font-size:9px}.quote-module .paper-table td,.quote-module .paper-table th{padding:9px 4px}.quote-module .paper-meta h2{font-size:15px}.quote-module .preview-toolbar button{font-size:12px;flex:1}.quote-module .editor-footer button{flex:1;font-size:12px}}html[data-theme="dark"] .quote-module{color-scheme:dark;--bg:#101722;--ink:#e8eef9;--card:#1d2a3b;--line:#34465f;--muted:#acbbcf;--soft:#152136}html[data-theme="dark"] .quote-module .sidebar .nav-row.active{background:#2354a0}html[data-theme="dark"] .quote-module .demo-strip{background:#3a2a19;color:#ffd3a1;border-color:#6c4828}html[data-theme="dark"] .quote-module label{color:#b9c7da}html[data-theme="dark"] .quote-module input,html[data-theme="dark"] .quote-module select,html[data-theme="dark"] .quote-module textarea{border-color:#52647e}html[data-theme="dark"] .quote-module button{color:#c4d8ff}html[data-theme="dark"] .quote-module button:hover{background:#24364e}html[data-theme="dark"] .quote-module .primary,html[data-theme="dark"] .quote-module .secondary{color:white}html[data-theme="dark"] .quote-module .paper{--line:#dce3ee;--muted:#64748b;--soft:#eef3fb}html[data-theme="dark"] .quote-module .paper .paper-grand{color:#103b89}html[data-theme="dark"] .quote-module .totals p.total{color:#b2d0ff}html[data-theme="dark"] .quote-module .totals p.total{border-color:#385174}html[data-theme="dark"] .quote-module .paper-brand strong{color:#103b89}html[data-theme="dark"] .quote-module .paper-table th{color:#103b89}html[data-theme="dark"] .quote-module .badge.borrador{color:#c2d2e9;background:#30425b}@media print{.quote-module{background:white}.quote-module .app-head,.quote-module .demo-strip,.quote-module .sidebar,.quote-module .preview-toolbar,.quote-module .footnote,.quote-module .toast{display:none!important}.quote-module .layout{display:block;margin:0;padding:0}.quote-module .paper{border:0;border-radius:0;padding:0}.quote-module .paper-brand,.quote-module .paper-meta,.quote-module .paper-totals,.quote-module tr{break-inside:avoid}}
.quote-module{color:var(--text);--ink:var(--text);--card:var(--white);--soft:#edf3fc;--bg:transparent;font-size:14px}.quote-module .section-title{margin-bottom:18px}.quote-module .paper{color:#1c2b40;background:#fff}.quote-module header.paper-brand{position:static;background:transparent;box-shadow:none;padding:0;color:#1c2b40;z-index:auto}.quote-module .paper h2,.quote-module .paper strong{color:inherit}.quote-module .paper-brand strong{color:#103b89}.quote-module .paper{--ink:#1c2b40;--line:#dce3ee;--muted:#64748b;--soft:#eef3fb}.quote-module .paper-grand{color:#103b89}.quote-module #q-pdfStatus{align-self:center}html[data-theme="dark"] .quote-module{--card:var(--white);--ink:var(--text);--soft:#152136}html[data-theme="dark"] .quote-module .paper{--line:#dce3ee;--muted:#64748b;--soft:#eef3fb} .quote-module input[type="search"]{min-width:0}@media(max-width:760px){.bottom{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom a{font-size:10px}}

.quote-module .quote-followup:empty{display:none}.quote-module .quote-followup{margin:10px 0 14px;font-size:12px}.quote-module .quote-followup p{margin:5px 0}.quote-module .quote-followup details{padding:8px 0;color:var(--muted)}.quote-module .quote-send-confirm{padding:14px;background:var(--soft);border:1px solid var(--line);border-radius:10px;margin:10px 0}.quote-module .badge.vendida{background:#dff3eb;color:#206744}.quote-module .quote-scan{margin-top:10px}.quote-module #q-autosave{font-size:11px;line-height:1.7}.quote-sale-items{display:grid;gap:8px}.quote-sale-items>div{padding:9px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px}.quote-sale-items small{display:block}.quote-sale-client-results button{display:block;width:100%;text-align:left;margin-top:5px}
