:root{color-scheme:light;--carbon:#111b18;--green:#087f36;--brand:#36b875;--pale:#e4f3ea;--paper:#fff;--ground:#eff3f1;--ink:#1f2933;--muted:#53635e;--border:#d2ddd6;--amber:#795216;--amber-bg:#fff5df;--radius:14px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none;font-size:15px;scrollbar-color:#a5b9ae var(--ground)}
*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button,a,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green);text-underline-offset:.2em}button:disabled{cursor:default;opacity:.48}button,textarea,a{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--green)}::selection{background:#bee8cf;color:var(--carbon)}textarea{caret-color:var(--green)}svg{display:block;flex-shrink:0}button svg,.pending-section svg,.back-web svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-60px;z-index:20;background:white;padding:12px}.skip-link:focus{top:10px}
.topbar{height:56px;display:flex;align-items:center;gap:24px;padding:0 clamp(16px,2vw,28px);background:var(--carbon);color:#f0f5f2}.company-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.company-brand>svg{width:32px;height:32px}.brand-text{display:grid;gap:2px}.brand-name{font-size:24px;font-weight:780;line-height:1;letter-spacing:-.04em}.brand-name>span{color:var(--brand)}.brand-sub{font-size:6px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.app-name{margin:0;line-height:1.25;letter-spacing:0;font-size:15px;font-weight:600;border-left:1px solid #37463f;padding-left:24px}.back-web{margin-left:auto;display:flex;align-items:center;gap:8px;color:#e0e8e2;text-decoration:none;font-size:13px}.back-web:hover{color:var(--brand)}.topbar :focus-visible{outline-color:#79cfa0}
main{max-width:1520px;margin:auto;padding:10px clamp(16px,2vw,28px) 16px}.page-heading{display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(21px,2vw,29px);letter-spacing:-.025em;line-height:1.2;font-weight:680}.page-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid transparent;border-radius:8px;font-weight:650;text-decoration:none;font-size:13px;line-height:1.2;transition:background .15s ease-out}.primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:#06652b}.secondary{background:var(--paper);color:var(--ink);border-color:var(--border)}.secondary:hover{background:#e4ece7}.text-button{background:transparent;color:var(--muted)}.text-button:hover:not(:disabled){background:#e0e9e3;color:var(--ink)}.mobile-tabs{display:none}
.workspace{display:grid;grid-template-columns:minmax(320px,.86fr) minmax(380px,1.14fr);gap:16px}.chat-pane,.quote-pane{min-width:0;min-height:0;background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);display:flex;flex-direction:column;overflow:hidden}.conversation{flex:1;min-height:0;overflow:auto;padding:25px 22px;scroll-behavior:smooth;overscroll-behavior:contain}.welcome h3{font-size:22px;font-weight:650;letter-spacing:-.025em;line-height:1.25;max-width:21ch}.welcome>p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:12px;max-width:48ch}.examples{margin-top:24px;display:grid;gap:3px}.examples>button{display:flex;align-items:center;gap:13px;min-width:0;text-align:left;padding:15px 4px;border:0;border-bottom:1px solid #e2e9e5;color:var(--ink);background:none}.examples>button:hover{background:var(--ground)}.examples svg{width:24px;height:24px;color:var(--green)}.examples strong{display:block;font-size:14px;font-weight:600}.examples button>span>span{font-size:12px;color:var(--muted);display:block;margin-top:4px}.examples .arrow{margin-left:auto;color:var(--green);font-size:20px}.message{font-size:14px;line-height:1.6;overflow-wrap:anywhere;margin:0 0 20px;max-width:100%}.message .speaker{display:block;font-size:11px;font-weight:700;margin-bottom:5px;color:var(--muted)}.message.user{background:#e4f3ea;border-radius:12px 12px 3px 12px;padding:12px 15px;margin-left:28px}.message.assistant{padding-right:15px}.message.assistant .speaker{color:var(--green)}.message.error{padding:12px 14px;background:#fff0ed;border-radius:9px;color:#8b3024}.message p{white-space:pre-wrap}.message ul{padding-left:20px;margin:10px 0 0}.message li+li{margin-top:6px}.thinking{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--green);margin-top:4px}.thinking svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.chat-status{background:var(--amber-bg);color:var(--amber);padding:12px 20px;font-size:13px;line-height:1.4;border-top:1px solid #e5d5b4}.composer{margin:0 16px;border:1px solid #adc3b6;border-radius:10px;background:#fbfdfc;flex-shrink:0}.composer:focus-within{border-color:var(--green);outline:2px solid #cee7d8;outline-offset:1px}.composer textarea{display:block;width:100%;border:0;border-radius:10px;padding:14px 14px 5px;resize:none;min-height:70px;max-height:160px;background:transparent;color:var(--ink);font-size:14px;line-height:1.5;outline:none}.composer textarea::placeholder{color:#617469}.composer textarea:focus-visible{outline:none}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px}.composer-actions>span{font-size:11px;color:var(--muted);max-width:25ch}.composer .button{min-height:36px;padding:8px 12px}.composer .button svg{width:17px;height:17px}.privacy-note{font-size:11px;line-height:1.5;color:var(--muted);margin:10px 20px 13px}.inline-button{font:inherit;padding:0;color:var(--green);border:0;background:none;text-decoration:underline;text-underline-offset:.2em}.privacy-detail{font-size:11px;line-height:1.5;color:var(--muted);padding:0 20px 12px}
.quote-scroll{padding:24px 28px;flex:1;overflow:auto;min-height:0;overscroll-behavior:contain}.quote-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;min-height:200px;text-align:center}.quote-empty>svg{width:70px;height:87px;stroke:#789786;fill:none;stroke-width:2;margin-bottom:24px}.quote-empty h3{font-size:20px;font-weight:600;letter-spacing:-.02em}.quote-empty p{margin-top:10px;color:var(--muted);font-size:14px;line-height:1.65;max-width:34ch}.quote-empty>span{font-size:11px;color:var(--muted);margin-top:28px}.document-heading h3{font-size:22px;letter-spacing:-.025em;font-weight:650;line-height:1.25;overflow-wrap:anywhere}.document-heading p{font-size:11px;color:var(--muted);margin-top:7px}.quote-table-wrap{margin-top:25px}.quote-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.quote-table th{color:var(--muted);font-weight:500;text-align:right;font-size:11px;padding:0 0 10px 12px;white-space:nowrap}.quote-table th:first-child{text-align:left;padding-left:0;width:50%}.quote-table td{padding:14px 0 14px 10px;vertical-align:top;text-align:right;border-top:1px solid #e1e9e4;white-space:nowrap}.quote-table td:first-child{padding-left:0;text-align:left;white-space:normal}.quote-table td:first-child strong{font-weight:600;display:block;font-size:12px}.quote-table td:first-child small{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.4}.quote-table .changed{animation:partida 1.8s cubic-bezier(.16,1,.3,1) both}@keyframes partida{from{background:#ccebd9}to{background:transparent}}.totals{border-top:1px solid var(--border);padding-top:15px}.totals>p{display:flex;justify-content:space-between;gap:14px;font-size:12px;line-height:1.5;margin-bottom:8px}.totals>p>strong{font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.totals .grand-total{align-items:center;font-size:14px;padding-top:10px;margin-top:10px;border-top:1px solid var(--border)}.grand-total strong{font-size:25px!important;font-weight:680!important;letter-spacing:-.025em;color:var(--green)}.totals .partial-note{display:block;font-size:11px;color:var(--amber);margin-top:8px}.pending-section{margin-top:24px;padding:16px;background:var(--amber-bg);border-radius:9px}.pending-section h4{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:var(--amber)}.pending-section svg{width:17px;height:17px}.pending-section ul,.scope-details ul{padding-left:18px;font-size:12px;line-height:1.55;margin:10px 0 0}.pending-section li+li,.scope-details li+li{margin-top:7px}.scope-details{margin-top:20px;border-top:1px solid var(--border);padding-top:14px;font-size:12px;color:var(--muted)}.scope-details summary{cursor:pointer;color:var(--ink);font-weight:600}.quote-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 22px;border-top:1px solid var(--border);background:#f7faf8;flex-shrink:0}.quote-footer>p{font-size:11px;font-weight:550;line-height:1.5}.quote-footer>p>span{font-weight:400;color:var(--muted)}
.tariff-panel{background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);padding:28px 30px}.tariff-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.tariff-heading h2{font-size:26px;letter-spacing:-.025em;font-weight:650}.tariff-heading p{font-size:13px;color:var(--muted);margin-top:6px}.tariff-notice{font-size:13px;line-height:1.6;margin:20px 0;color:var(--muted);max-width:75ch}.tariff-table{width:100%;border-collapse:collapse;font-size:13px}.tariff-table th{text-align:left;font-size:11px;color:var(--muted);font-weight:600;padding:10px 12px;border-bottom:1px solid var(--border)}.tariff-table td{padding:13px 12px;border-bottom:1px solid #e1e9e4;line-height:1.5;vertical-align:top}.tariff-table th:first-child,.tariff-table td:first-child{padding-left:0;width:26%;font-weight:550}.tariff-table th:nth-child(2){width:55%}.tariff-table td:nth-child(2){color:var(--muted)}.tariff-table td:last-child,.tariff-table th:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.tariff-notes{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:28px;font-size:12px;line-height:1.65;color:var(--muted)}.tariff-notes h3{font-size:15px;color:var(--ink);font-weight:650;margin-bottom:10px}.tariff-notes ul{padding-left:18px;margin:0}.tariff-notes li{margin-bottom:10px}.tariff-notes #tariff-sources{margin-top:12px}.tariff-notes a{font-weight:600}.source-detail{display:block;margin-top:3px}.noscript{padding:20px;background:white;border:1px solid var(--border)}
@media(min-width:1500px){.workspace{gap:28px}.conversation{padding:30px}.quote-scroll{padding:30px 36px}}
@media(max-width:1050px){.workspace{gap:16px;grid-template-columns:minmax(290px,1fr) minmax(340px,1.1fr)}.page-actions{gap:4px}.quote-scroll{padding:22px 20px}.conversation{padding:22px 18px}.quote-footer{padding:14px 18px}.quote-footer .button{padding:10px;font-size:12px}}
@media(max-width:760px){:root{font-size:14px}.topbar{height:64px;padding:10px 16px;gap:12px}.company-brand>svg{width:32px;height:32px}.brand-name{font-size:23px}.brand-sub{font-size:6px}.company-brand{gap:6px}.app-name{font-size:12px;padding-left:12px;max-width:150px;line-height:1.35}.back-web{padding:8px;margin-left:auto}.back-web span{display:none}main{padding:15px 12px 12px}.page-heading{align-items:start;gap:10px;flex-wrap:wrap;margin-bottom:12px}.page-actions{gap:6px}.page-heading>.page-actions{width:100%;justify-content:space-between}.page-heading .button{font-size:12px;padding:8px 10px;min-height:36px}.mobile-tabs{display:flex;margin-bottom:10px;background:#dfe8e2;border-radius:9px;padding:4px;gap:4px}.mobile-tabs>button{flex:1;min-height:37px;border:0;background:transparent;border-radius:6px;color:var(--muted);font-size:12px;font-weight:650}.mobile-tabs>button.selected{background:var(--paper);color:var(--green)}.mobile-tabs #quote-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;font-size:11px;margin-left:4px;border-radius:4px;background:#e4f3ea;color:#266744}.workspace{display:block}.chat-pane,.quote-pane{height:100%;border-radius:11px}.workspace[data-mobile-view=chat] .quote-pane,.workspace[data-mobile-view=quote] .chat-pane{display:none}.conversation{padding:20px 16px}.welcome h3{font-size:21px;max-width:none}.welcome>p{font-size:13px}.examples{margin-top:16px}.examples>button{padding:13px 2px}.examples strong{font-size:13px}.examples button>span>span{font-size:11px}.composer{margin:0 10px}.composer textarea{font-size:16px;min-height:66px;padding:12px 12px 2px}.composer-actions>span{font-size:11px;max-width:24ch}.privacy-note{font-size:11px;margin:8px 14px 10px}.quote-scroll{padding:20px 16px}.document-heading h3{font-size:20px}.quote-table th{font-size:11px;padding-left:8px}.quote-table td{font-size:11px;padding-left:8px}.quote-table td:first-child strong{font-size:11px}.quote-table td:first-child small{font-size:11px}.quote-table th:first-child{width:43%}.quote-footer{padding:12px 14px}.quote-footer .button{font-size:12px;padding:10px}.quote-footer>p{font-size:11px}.grand-total strong{font-size:23px!important}.tariff-panel{padding:20px 16px}.tariff-heading{display:block}.tariff-heading h2{font-size:24px}.tariff-heading .page-actions{margin-top:15px;justify-content:space-between}.tariff-table{font-size:12px}.tariff-table th:nth-child(2),.tariff-table td:nth-child(2){display:none}.tariff-table th:first-child,.tariff-table td:first-child{width:62%}.tariff-table td{padding:12px 8px}.tariff-table .mobile-scope{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}.tariff-notes{grid-template-columns:1fr;gap:20px}.privacy-detail{max-height:80px;overflow:auto}.message{font-size:13px}.quote-empty h3{font-size:19px}.quote-empty p{font-size:13px}}
@media(min-width:761px){.mobile-scope{display:none}}
@media(max-width:360px){.app-name{font-size:11px;max-width:125px}.topbar{gap:8px;padding:10px 12px}.quote-table td:first-child small{display:none}.quote-footer>p{max-width:14ch}.quote-table td,.quote-table th{padding-left:5px}.composer-actions>span{max-width:19ch}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media(max-height:650px) and (min-width:761px){.welcome h3{font-size:20px}.examples>button{padding:10px 2px}.examples{margin-top:14px}.conversation{padding:18px}}
/* The shell occupies the viewport; only working areas scroll. */
html,body{height:100%;overflow:hidden}body{height:100dvh;display:flex;flex-direction:column}.topbar{flex-shrink:0}main{width:100%;min-height:0;flex:1;display:flex;flex-direction:column;margin:0 auto}.page-heading,.mobile-tabs{flex-shrink:0}.workspace{height:auto;min-height:0;max-height:none;flex:1}.tariff-panel{min-height:0;overflow:auto;flex:1}.privacy-note{font-size:11px}.footer-total{display:grid;gap:3px;min-width:0}.footer-total>span{font-size:11px;color:var(--muted)}.footer-total>strong{font-size:27px;letter-spacing:-.025em;color:var(--green);font-variant-numeric:tabular-nums;line-height:1.1;white-space:nowrap}.footer-total>small{font-size:11px;color:var(--muted)}.quote-footer{min-height:90px}.quote-table td:first-child small{max-width:45ch}
@media(max-width:760px){.quote-table td:first-child small{display:none}.quote-table td{padding-top:12px;padding-bottom:12px}.quote-table-wrap{margin-top:20px}.privacy-note{font-size:11px}.footer-total>strong{font-size:24px}.footer-total>small{font-size:11px}.quote-footer{min-height:82px}.tariff-panel{overscroll-behavior:contain}}

.quote-updated{display:block;font-size:11px;color:var(--green);font-weight:650;margin-top:2px}.quote-updated:empty{display:none}.download-error{padding:12px 16px;background:#fff0ed;color:#8b3024;font-size:12px;line-height:1.5;flex-shrink:0}

/* Compact application shell: identity, actions, then the working area. */
.page-heading .button{min-height:38px;padding:8px 12px}
@media(max-width:760px){
  .topbar{height:56px;padding:0 12px;gap:12px}
  .app-name{padding-left:12px}
  main{padding:8px 12px 12px}
  .page-heading{margin-bottom:8px}
  .page-actions{width:100%;justify-content:space-between}
  .mobile-tabs{margin-bottom:8px}
  .conversation{padding:18px 16px}
  .welcome h3{font-size:20px;max-width:none}
  .welcome>p{margin-top:8px}
  .examples{margin-top:16px}
}

/* La ayuda de teclado queda en equipos con teclado y espacio suficiente. */
@media (max-width:760px), (pointer:coarse) {
  #input-help { display:none; }
  .composer-actions { justify-content:flex-end; }
}
