:root{
    --lc-primary:#ff6a00;
    --lc-primary-dark:#e65c00;
    --lc-bg:#f5f6fa;
    --lc-card:#ffffff;
    --lc-border:#e5e7eb;
    --lc-text:#1f2937;
    --lc-muted:#6b7280;
    --lc-radius:12px;
    --lc-shadow:0 4px 12px rgba(0,0,0,.05);
}

body,
body.lcc-cotizacion-publica{
    margin:0;
    background:var(--lc-bg);
    color:var(--lc-text);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.lcc-cotizacion-publica header,
body.lcc-cotizacion-publica footer,
body.lcc-cotizacion-publica #masthead,
body.lcc-cotizacion-publica #colophon{
    display:none !important;
}

body.lcc-cotizacion-publica #page,
body.lcc-cotizacion-publica .site,
body.lcc-cotizacion-publica .site-content,
body.lcc-cotizacion-publica .content-area,
body.lcc-cotizacion-publica .site-main{
    margin:0 !important;
    padding:0 !important;
    max-width:100% !important;
    width:100% !important;
}

.lc-container,
.lcc-wrap{
    max-width:1120px;
    margin:0 auto;
    padding:20px;
    box-sizing:border-box;
    background:transparent;
}

.lc-card,
.lcc-sheet,
.lcc-company-card,
.lcc-doc-info,
.lcc-client-box,
.lcc-terms-box,
.lcc-bank-box,
.lcc-totals-box,
.lcc-lista-filters,
.lcc-items-wrap,
.lcc-lista-header,
.lcc-inline-notice{
    background:var(--lc-card);
    border:1px solid var(--lc-border);
    border-radius:var(--lc-radius);
    box-shadow:var(--lc-shadow);
    box-sizing:border-box;
}

.lcc-sheet{
    padding:20px;
}

#lcc-doc{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}

.lc-title,
.lcc-lista-header h2,
.lcc-company-data h1,
.lcc-company-data h2,
.lcc-client-box h3,
.lcc-terms-box h3,
.lcc-bank-box h3{
    color:var(--lc-text);
    margin:0 0 12px;
    line-height:1.2;
}

.lcc-company-data h1,
.lcc-company-data h2{
    font-size:20px;
    font-weight:700;
}

.lcc-lista-header,
.lcc-doc-info,
.lcc-client-box,
.lcc-terms-box,
.lcc-bank-box,
.lcc-totals-box,
.lcc-lista-filters{
    padding:20px;
}

.lcc-top-grid,
.lcc-bottom,
.lcc-client-fields,
.lcc-lista-filter-grid,
.lcc-right-stack,
.lcc-bottom-left{
    display:grid;
    gap:15px;
}

.lcc-top-grid{
    grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);
    align-items:start;
    margin-bottom:20px;
}

.lcc-bottom{
    grid-template-columns:minmax(0,1fr) 320px;
    margin-top:20px;
    align-items:start;
}

.lcc-company-card{
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    gap:16px;
    align-items:start;
    padding:20px;
}

.lcc-company-logo-wrap{
    width:160px;
    height:160px;
    border-radius:12px;
    border:1px solid var(--lc-border);
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}

.lcc-company-logo{
    width:auto;
    height:auto;
    max-width:130px;
    max-height:130px;
    object-fit:contain;
    display:block;
}

.lcc-logo-placeholder{
    width:46px;
    height:46px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff3eb;
    color:var(--lc-primary);
    font-size:22px;
    font-weight:700;
}

.lcc-company-data p,
.lcc-client-data p,
.lcc-terms-box p,
.lcc-bank-box p,
.lcc-lista-header p{
    margin:0 0 8px;
    color:var(--lc-text);
    font-size:14px;
    line-height:1.45;
}

.lcc-company-data p:last-child,
.lcc-client-data p:last-child,
.lcc-terms-box p:last-child,
.lcc-bank-box p:last-child,
.lcc-lista-header p:last-child{
    margin-bottom:0;
}

.lcc-company-data strong,
.lcc-client-data strong,
.lcc-terms-box strong,
.lcc-bank-box strong{
    color:var(--lc-text);
}

.lcc-company-data p:not(:has(strong)){
    color:var(--lc-muted);
}

.lcc-doc-title,
.lcc-status-pill,
.lc-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:6px 10px;
    border-radius:999px;
    background:#fff3eb;
    color:var(--lc-primary-dark);
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.lcc-doc-meta-line,
.lcc-total-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.lcc-doc-meta-line{
    padding:10px 0;
    border-bottom:1px solid var(--lc-border);
    font-size:14px;
}

.lcc-doc-meta-line:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.lcc-doc-meta-line span,
.lcc-total-line span,
.lc-label,
.lcc-field label,
.lcc-items-note,
.lcc-client-data span,
.lcc-form-message{
    color:var(--lc-muted);
    font-size:13px;
}

.lc-label,
.lcc-field label{
    display:block;
    margin-bottom:5px;
}

.lc-input,
.lc-select,
.lc-textarea,
.lcc-field input,
.lcc-field select,
.lcc-field textarea,
.lcc-cantidad,
.lcc-item-select,
.lcc-descripcion,
.lcc-precio-unitario{
    width:100%;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid var(--lc-border);
    background:#fff;
    color:var(--lc-text);
    font-size:14px;
    line-height:1.4;
    box-sizing:border-box;
    transition:border-color .2s, box-shadow .2s;
}

.lc-textarea,
.lcc-field textarea{
    min-height:90px;
    resize:vertical;
}

.lc-input:focus,
.lc-select:focus,
.lc-textarea:focus,
.lcc-field input:focus,
.lcc-field select:focus,
.lcc-field textarea:focus,
.lcc-cantidad:focus,
.lcc-item-select:focus,
.lcc-descripcion:focus,
.lcc-precio-unitario:focus{
    border-color:var(--lc-primary);
    outline:none;
    box-shadow:0 0 0 3px rgba(255,106,0,.10);
}

.lcc-items-wrap{
    margin-top:20px;
    margin-bottom:18px;
    padding:16px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.lcc-items-note{
    display:block;
    margin-bottom:12px;
    padding:10px 12px;
    border-radius:10px;
    background:#fff;
    border:1px solid var(--lc-border);
}

.lcc-items-table,
.lcc-lista-cotizaciones{
    width:100%;
    min-width:720px;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
}

.lcc-items-table th,
.lcc-items-table td,
.lcc-lista-cotizaciones th,
.lcc-lista-cotizaciones td{
    padding:12px 10px;
    border-bottom:1px solid var(--lc-border);
    vertical-align:top;
    background:#fff;
    font-size:14px;
}

.lcc-items-table thead th,
.lcc-lista-cotizaciones thead th{
    background:#f9fafb;
    color:var(--lc-text);
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.03em;
    border-bottom:1px solid var(--lc-border);
}

.lcc-items-table th:first-child,
.lcc-lista-cotizaciones th:first-child{
    border-top-left-radius:10px;
}

.lcc-items-table th:last-child,
.lcc-lista-cotizaciones th:last-child{
    border-top-right-radius:10px;
}

.lcc-items-table tbody tr:hover td,
.lcc-lista-cotizaciones tbody tr:hover td{
    background:#fcfcfd;
}

.lcc-items-table th:nth-child(1),
.lcc-items-table td:nth-child(1){width:72px; text-align:center;}
.lcc-items-table th:nth-child(3),
.lcc-items-table td:nth-child(3){width:140px;}
.lcc-items-table th:nth-child(4),
.lcc-items-table td:nth-child(4){width:140px; text-align:right;}
.lcc-items-table th:nth-child(5),
.lcc-items-table td:nth-child(5){width:70px; text-align:center;}

.lcc-total-item{
    display:inline-block;
    font-weight:700;
    white-space:nowrap;
    padding-top:10px;
}

.lcc-remove-row{
    width:36px;
    height:36px;
    border-radius:10px;
    border:1px solid var(--lc-border);
    background:#f9fafb;
    color:var(--lc-text);
    cursor:pointer;
    font-size:22px;
    line-height:1;
    padding:0;
}

.lcc-remove-row:hover{
    background:#fff3eb;
    color:var(--lc-primary-dark);
    border-color:#ffd2b5;
}

.lcc-grand-total{
    margin-top:12px;
    padding-top:12px;
    border-top:2px solid var(--lc-border);
}

.lcc-grand-total span,
.lcc-grand-total strong{
    color:var(--lc-primary-dark);
    font-size:18px;
    font-weight:700;
}

.lcc-actions-top,
.lcc-submit-wrap,
.lcc-lista-actions,
.lcc-front-status-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.lcc-actions-top,
.lcc-submit-wrap,
.lcc-lista-actions{
    margin-top:15px;
}

.lcc-submit-wrap{
    justify-content:space-between;
}

.lc-btn,
.lcc-btn,
.lcc-status-action-btn,
.lcc-btn-open{
    min-height:42px;
    padding:10px 16px;
    border-radius:10px;
    border:none;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
}

.lc-btn-primary,
.lcc-btn-primary{
    background:var(--lc-primary);
    color:#fff;
}

.lc-btn-primary:hover,
.lcc-btn-primary:hover{
    background:var(--lc-primary-dark);
}

.lc-btn-secondary,
.lcc-btn-secondary,
.lcc-status-action-btn,
.lcc-btn-open{
    background:#e5e7eb;
    color:var(--lc-text);
}

.lcc-btn-small{
    min-height:36px;
    padding:8px 12px;
}

.lcc-inline-notice{
    margin-bottom:15px;
}

.lcc-inline-notice-success{
    background:#ecfdf5;
    color:#166534;
}

.lcc-inline-notice-error{
    background:#fef2f2;
    color:#991b1b;
}

.lcc-cot-status-aprobada,
.lcc-status-action-btn.is-success{
    background:#ecfdf5;
    color:#166534;
}

.lcc-cot-status-rechazada,
.lcc-status-action-btn.is-danger{
    background:#fef2f2;
    color:#991b1b;
}

.lcc-cot-status-en_espera,
.lcc-status-action-btn.is-warning{
    background:#fff7ed;
    color:#9a3412;
}

.lcc-status-action-btn.is-current{
    opacity:.55;
    cursor:not-allowed;
}

.no-print{display:block;}

body.lcc-pdf-mode{background:#fff !important;}
body.lcc-pdf-mode .no-print{display:none !important;}
body.lcc-pdf-mode .lcc-wrap{padding:0 !important;}
body.lcc-pdf-mode .lcc-sheet,
body.lcc-pdf-mode .lc-card,
body.lcc-pdf-mode .lcc-company-card,
body.lcc-pdf-mode .lcc-doc-info,
body.lcc-pdf-mode .lcc-client-box,
body.lcc-pdf-mode .lcc-terms-box,
body.lcc-pdf-mode .lcc-bank-box,
body.lcc-pdf-mode .lcc-totals-box,
body.lcc-pdf-mode .lcc-items-wrap{
    box-shadow:none !important;
}
body.lcc-pdf-mode #lcc-doc{
    width:198mm !important;
    max-width:198mm !important;
    margin:0 auto !important;
}
body.lcc-pdf-mode .lcc-sheet{
    width:198mm !important;
    padding:10mm !important;
    border:0 !important;
}

@media (max-width:767px){
    .lc-container,
    .lcc-wrap,
    .lcc-sheet{padding:12px;}

    .lcc-top-grid,
    .lcc-bottom,
    .lcc-company-card,
    .lcc-client-fields,
    .lcc-lista-filter-grid{
        grid-template-columns:1fr;
    }

    .lcc-items-table,
    .lcc-lista-cotizaciones{min-width:640px;}
}


/* =========================================================
   LandingClick Cotizador v2.2.0 — OS2 Mobile Client Stack
   Corrige Datos del cliente fuera del área en móvil.
   No afecta tablas de conceptos ni escritorio.
   ========================================================= */
@media(max-width:768px){

  body .lc-container,
  body .lcc-wrap,
  body .lcc-container,
  body #lcc-cotizador,
  body #lcc-doc{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }

  body .lcc-quote-client-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  body .lcc-quote-client-row > *,
  body .lcc-doc-info-head,
  body .lcc-client-box-wide{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  body .lcc-client-box-wide{
    overflow:visible!important;
  }

  body .lcc-client-box-wide .lcc-section-title-row{
    display:block!important;
  }

  body .lcc-client-box-wide .lcc-section-title-row h3{
    font-size:22px!important;
    line-height:1.15!important;
    margin:0 0 6px!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    white-space:normal!important;
  }

  body .lcc-client-box-wide .lcc-section-title-row span{
    display:block!important;
    font-size:13px!important;
    line-height:1.3!important;
    color:var(--lc-muted)!important;
  }

  body .lcc-client-fields{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  body .lcc-client-fields .lcc-field,
  body .lcc-client-fields label,
  body .lcc-client-fields input{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  body .lcc-client-fields input{
    min-height:40px!important;
    padding:8px 10px!important;
    font-size:14px!important;
    border-radius:10px!important;
  }

  body .lcc-doc-info-head .lcc-doc-title{
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}

@media(max-width:480px){
  body .lc-container,
  body .lcc-wrap,
  body .lcc-container{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  body .lcc-doc-info-head,
  body .lcc-client-box-wide{
    padding:14px!important;
    border-radius:14px!important;
  }

  body .lcc-client-box-wide .lcc-section-title-row h3{
    font-size:20px!important;
  }
}

/* =========================================================
   LandingClick Cotizador v2.2.1 — LC OS2 Universal Shell
   HeadOS2 + TabsOS2 + WorkAreaOS2 + ActionsOS2.
   Mobile-first. No cambia la lógica del cotizador.
   ========================================================= */
:root{
  --lc-os2-orange:#ff6a00;
  --lc-os2-orange-dark:#e65f00;
  --lc-os2-bg:#f5f6f8;
  --lc-os2-card:#ffffff;
  --lc-os2-border:#e6e8ee;
  --lc-os2-text:#111827;
  --lc-os2-muted:#6b7280;
  --lc-os2-shadow:0 12px 32px rgba(17,24,39,.08);
  --lc-os2-radius:20px;
}

.lcc-front-v218 .lcc-sheet{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}

.lc-os2-shell{
  width:100%;
  max-width:1130px;
  margin:0 auto;
  background:var(--lc-os2-bg);
  border:1px solid var(--lc-os2-border);
  border-radius:26px;
  overflow:hidden;
  box-shadow:var(--lc-os2-shadow);
  color:var(--lc-os2-text);
}

.lc-os2-head{
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:68px;
  padding:12px 16px;
  background:linear-gradient(135deg,var(--lc-os2-orange),#ff8a2a);
  color:#fff;
}

.lc-os2-head-left,
.lc-os2-head-right{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.lc-os2-head-left{flex:1 1 auto;}
.lc-os2-head-right{flex:0 0 auto;}

.lc-os2-icon-btn,
.lc-os2-apps-btn,
.lc-os2-user-menu > summary{
  min-width:42px;
  min-height:42px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:14px;
  background:rgba(255,255,255,.16);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  box-sizing:border-box;
  backdrop-filter:blur(8px);
}

.lc-os2-icon-btn:hover,
.lc-os2-apps-btn:hover,
.lc-os2-user-menu > summary:hover{
  background:rgba(255,255,255,.25);
  color:#fff;
}

.lc-os2-brandmark{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:15px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:var(--lc-os2-orange);
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.lc-os2-brandmark img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:5px;
  box-sizing:border-box;
}

.lc-os2-titlebox{min-width:0;}
.lc-os2-title{
  font-size:18px;
  font-weight:900;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lc-os2-subtitle{
  margin-top:3px;
  font-size:12px;
  font-weight:600;
  color:rgba(255,255,255,.86);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:320px;
}


.lc-os2-apps-btn{
  gap:7px;
}
.lc-os2-apps-icon{
  font-size:18px;
  line-height:1;
}
.lc-os2-apps-text{
  font-size:13px;
  font-weight:900;
}

.lc-os2-user-menu{
  position:relative;
  z-index:50;
}
.lc-os2-user-menu > summary{
  list-style:none;
  gap:6px;
  max-width:154px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lc-os2-user-menu > summary::-webkit-details-marker{display:none;}
.lc-os2-user-menu > summary:after{content:'▾';font-size:11px;margin-left:4px;}
.lc-os2-user-dropdown{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:220px;
  padding:8px;
  background:#fff;
  color:var(--lc-os2-text);
  border:1px solid var(--lc-os2-border);
  border-radius:16px;
  box-shadow:0 18px 44px rgba(17,24,39,.16);
}
.lc-os2-user-dropdown a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:9px 11px;
  border-radius:12px;
  color:var(--lc-os2-text);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}
.lc-os2-user-dropdown a:hover{
  background:#fff3eb;
  color:var(--lc-os2-orange-dark);
}

.lc-os2-tabs{
  position:sticky;
  top:68px;
  z-index:30;
  display:flex;
  gap:8px;
  padding:12px 14px;
  background:rgba(245,246,248,.94);
  border-bottom:1px solid var(--lc-os2-border);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.lc-os2-tabs::-webkit-scrollbar{display:none;}
.lc-os2-tab{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 14px;
  border:1px solid var(--lc-os2-border);
  border-radius:999px;
  background:#fff;
  color:var(--lc-os2-muted);
  font-size:14px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(17,24,39,.04);
}
.lc-os2-tab:hover{color:var(--lc-os2-orange-dark);background:#fffaf6;}
.lc-os2-tab.is-active{
  background:var(--lc-os2-orange);
  color:#fff;
  border-color:var(--lc-os2-orange);
  box-shadow:0 10px 22px rgba(255,106,0,.24);
}

.lc-os2-workarea{
  padding:16px;
}

.lc-os2-workarea .lc-card,
.lc-os2-workarea .lcc-doc-info,
.lc-os2-workarea .lcc-client-box,
.lc-os2-workarea .lcc-items-wrap,
.lc-os2-workarea .lcc-terms-box,
.lc-os2-workarea .lcc-bank-box,
.lc-os2-workarea .lcc-totals-box,
.lc-os2-workarea .lcc-lista-header,
.lc-os2-workarea .lcc-lista-filters{
  border-radius:var(--lc-os2-radius);
  border-color:var(--lc-os2-border);
  box-shadow:0 8px 22px rgba(17,24,39,.055);
}

.lc-os2-workarea .lcc-company-row .lcc-head-main{
  border-radius:var(--lc-os2-radius)!important;
  border-color:var(--lc-os2-border)!important;
  box-shadow:0 8px 22px rgba(17,24,39,.055)!important;
}

.lc-os2-actions{
  position:static;
  z-index:35;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  align-items:center;
  padding:12px 14px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  border-top:1px solid var(--lc-os2-border);
  box-shadow:0 -8px 20px rgba(17,24,39,.04);
  backdrop-filter:blur(10px);
}
.lc-os2-actions .lcc-form-message{
  grid-column:1 / -1;
  margin:0;
  min-height:0;
}
.lc-os2-actions .lc-btn,
.lc-os2-actions .lcc-btn{
  width:100%;
  min-height:48px;
  border-radius:16px;
  font-weight:900;
}

.lcc-form-cotizador .lcc-submit-wrap,
.lcc-form-cotizador .lcc-actions-top{display:none!important;}

@media(max-width:768px){
  body:not(.lcc-pdf-mode) .lc-container,
  body:not(.lcc-pdf-mode) .lcc-wrap{
    padding:0!important;
  }
  .lc-os2-shell{
    min-height:100dvh;
    border-radius:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
  }
  .lc-os2-head{
    min-height:62px;
    padding:10px 10px;
  }
  .lc-os2-brandmark{
    width:38px;
    height:38px;
    min-width:38px;
    border-radius:13px;
  }
  .lc-os2-title{font-size:16px;}
  .lc-os2-subtitle{max-width:155px;font-size:11px;}
  .lc-os2-icon-btn,
  .lc-os2-apps-btn,
  .lc-os2-user-menu > summary{
    min-width:38px;
    min-height:38px;
    border-radius:13px;
    padding:0 10px;
    font-size:13px;
  }
  .lc-os2-apps-btn{
    min-width:42px;
    padding:0 9px;
  }
  .lc-os2-apps-text{display:none;}
  .lc-os2-apps-icon{font-size:20px;}
  .lc-os2-user-menu > summary{
    max-width:44px;
    font-size:0;
  }
  .lc-os2-user-menu > summary:before{content:'👤';font-size:15px;}
  .lc-os2-user-menu > summary:after{font-size:10px;margin-left:3px;}
  .lc-os2-user-dropdown{
    right:0;
    min-width:210px;
  }
  .lc-os2-tabs{
    top:62px;
    padding:10px;
  }
  .lc-os2-tab{
    min-height:36px;
    padding:8px 12px;
    font-size:13px;
  }
  .lc-os2-workarea{
    padding:12px 10px 86px;
  }
  .lc-os2-workarea .lcc-company-row,
  .lc-os2-workarea .lcc-quote-client-row{
    margin-bottom:12px!important;
  }
  .lc-os2-actions{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    grid-template-columns:1fr 1fr;
    padding:10px 10px calc(10px + env(safe-area-inset-bottom));
    box-shadow:0 -12px 28px rgba(17,24,39,.10);
  }
  .lc-os2-actions .lc-btn,
  .lc-os2-actions .lcc-btn{
    min-height:46px;
    border-radius:15px;
    padding:10px 12px;
    font-size:13px;
  }
  .lc-os2-workarea .lcc-items-wrap{
    margin-top:12px;
    padding:12px;
  }
}

@media(max-width:420px){
  .lc-os2-titlebox{max-width:145px;}
  .lc-os2-head-left{gap:7px;}
  .lc-os2-head-right{gap:6px;}
  .lc-os2-icon-btn:first-child{display:none;}
}

@media print{
  .lc-os2-head,
  .lc-os2-tabs,
  .lc-os2-actions{display:none!important;}
  .lc-os2-shell{border:0!important;box-shadow:none!important;background:#fff!important;}
  .lc-os2-workarea{padding:0!important;}
}

/* LC OS2 v2.2.2 - secciones funcionales */
.lcc-sheet-interacciones{
  width:100%;
  max-width:1130px;
  margin:0 auto;
  box-sizing:border-box;
}
.lcc-os2-interactions-list{
  display:grid;
  gap:12px;
  margin:16px 0 0;
}
.lcc-os2-interaction-card{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:16px;
  border-radius:16px;
  border:1px solid #e6e8ee;
  background:#fff;
}
.lcc-os2-interaction-main{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.lcc-os2-interaction-main strong{
  color:#111827;
  font-size:15px;
  line-height:1.25;
}
.lcc-os2-interaction-main span{
  color:#6b7280;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.lcc-os2-interaction-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
  color:#6b7280;
  font-size:12px;
}
.lcc-os2-interaction-meta span{
  background:#f8fafc;
  border:1px solid #eef0f4;
  border-radius:999px;
  padding:6px 9px;
  white-space:nowrap;
}
.lcc-empty-state{
  padding:22px;
  text-align:center;
  border-radius:18px;
  border:1px dashed #d8dce4;
  background:#fff;
}
.lcc-empty-state h3{margin:0 0 6px;color:#111827;font-size:17px;}
.lcc-empty-state p{margin:0;color:#6b7280;font-size:14px;}
@media (max-width: 720px){
  .lcc-os2-interaction-card{
    flex-direction:column;
    border-radius:18px;
    padding:14px;
  }
  .lcc-os2-interaction-meta{
    justify-content:flex-start;
    width:100%;
  }
  .lcc-os2-interaction-meta span{
    white-space:normal;
  }
}

/* =========================================================
   LC OS2 Cotizador v2.2.5 — PDF carta unificado
   Mismo PDF desde móvil y escritorio. No cambia el layout visual.
   Estructura PDF:
   1) Empresa | Cotización
   2) Cliente | Condiciones comerciales
   3) Desglose completo
   4) Transferencia | Total
   ========================================================= */
body.lcc-pdf-mode{
    background:#fff!important;
}
body.lcc-pdf-mode .no-print,
body.lcc-pdf-mode .lcc-actions,
body.lcc-pdf-mode .lcc-doc-credit{
    display:none!important;
}
body.lcc-pdf-mode .lcc-wrap{
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    overflow:visible!important;
}
body.lcc-pdf-mode #lcc-doc,
body.lcc-pdf-mode .lcc-sheet{
    width:203mm!important;
    max-width:203mm!important;
    min-width:203mm!important;
    margin:0 auto!important;
    padding:7mm!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    background:#fff!important;
    overflow:visible!important;
}
body.lcc-pdf-mode .lcc-sheet{
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr)!important;
    grid-template-areas:
        "empresa cotizacion"
        "cliente condiciones"
        "desglose desglose"
        "transferencia total"!important;
    gap:5mm!important;
    align-items:start!important;
}
body.lcc-pdf-mode .lcc-top-grid,
body.lcc-pdf-mode .lcc-right-stack,
body.lcc-pdf-mode .lcc-bottom,
body.lcc-pdf-mode .lcc-bottom-left,
body.lcc-pdf-mode .lcc-bottom-right{
    display:contents!important;
}
body.lcc-pdf-mode .lcc-company-card{grid-area:empresa!important;}
body.lcc-pdf-mode .lcc-doc-info{grid-area:cotizacion!important;}
body.lcc-pdf-mode .lcc-client-box{grid-area:cliente!important;}
body.lcc-pdf-mode .lcc-terms-box{grid-area:condiciones!important;}
body.lcc-pdf-mode .lcc-items-wrap{grid-area:desglose!important;}
body.lcc-pdf-mode .lcc-bank-box{grid-area:transferencia!important;}
body.lcc-pdf-mode .lcc-totals-box{grid-area:total!important;}
body.lcc-pdf-mode .lc-card,
body.lcc-pdf-mode .lcc-company-card,
body.lcc-pdf-mode .lcc-doc-info,
body.lcc-pdf-mode .lcc-client-box,
body.lcc-pdf-mode .lcc-terms-box,
body.lcc-pdf-mode .lcc-bank-box,
body.lcc-pdf-mode .lcc-totals-box,
body.lcc-pdf-mode .lcc-items-wrap{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:5mm!important;
    border:1px solid #e5e7eb!important;
    border-radius:4mm!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
    background:#fff!important;
    color:#111827!important;
}
body.lcc-pdf-mode .lcc-company-card{
    display:grid!important;
    grid-template-columns:22mm minmax(0, 1fr)!important;
    gap:4mm!important;
    align-items:start!important;
}
body.lcc-pdf-mode .lcc-company-logo-wrap,
body.lcc-pdf-mode .lcc-company-logo,
body.lcc-pdf-mode .lcc-logo-placeholder{
    width:20mm!important;
    height:20mm!important;
    max-width:20mm!important;
    max-height:20mm!important;
}
body.lcc-pdf-mode h1,
body.lcc-pdf-mode h2,
body.lcc-pdf-mode h3,
body.lcc-pdf-mode p{
    margin-top:0!important;
}
body.lcc-pdf-mode .lcc-company-data h1{
    font-size:15pt!important;
    line-height:1.15!important;
    margin-bottom:2mm!important;
}
body.lcc-pdf-mode .lcc-doc-title{
    font-size:17pt!important;
    line-height:1.1!important;
    margin-bottom:4mm!important;
    color:var(--lcc-accent, #f97316)!important;
}
body.lcc-pdf-mode h3{
    font-size:12pt!important;
    line-height:1.2!important;
    margin-bottom:3mm!important;
}
body.lcc-pdf-mode p,
body.lcc-pdf-mode .lcc-doc-meta-line,
body.lcc-pdf-mode .lcc-client-data p,
body.lcc-pdf-mode .lcc-total-line{
    font-size:9.5pt!important;
    line-height:1.35!important;
    margin-bottom:2mm!important;
}
body.lcc-pdf-mode .lcc-items-table{
    width:100%!important;
    min-width:0!important;
    border-collapse:collapse!important;
    table-layout:fixed!important;
    font-size:9pt!important;
}
body.lcc-pdf-mode .lcc-items-table th,
body.lcc-pdf-mode .lcc-items-table td{
    padding:2.5mm 2mm!important;
    border-bottom:1px solid #e5e7eb!important;
    vertical-align:top!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
}
body.lcc-pdf-mode .lcc-items-table th:nth-child(1),
body.lcc-pdf-mode .lcc-items-table td:nth-child(1){width:15%!important;}
body.lcc-pdf-mode .lcc-items-table th:nth-child(2),
body.lcc-pdf-mode .lcc-items-table td:nth-child(2){width:45%!important;}
body.lcc-pdf-mode .lcc-items-table th:nth-child(3),
body.lcc-pdf-mode .lcc-items-table td:nth-child(3){width:20%!important;}
body.lcc-pdf-mode .lcc-items-table th:nth-child(4),
body.lcc-pdf-mode .lcc-items-table td:nth-child(4){width:20%!important;}
body.lcc-pdf-mode .lcc-grand-total{
    border-top:1px solid #e5e7eb!important;
    padding-top:3mm!important;
    margin-top:2mm!important;
    font-size:13pt!important;
    color:var(--lcc-accent, #f97316)!important;
}


/* =========================================================
   LC OS2 Cotizador v2.2.7 — Logo PDF cuadrado definitivo
   Corrige la deformación del logo tanto en vista como en PDF.
   El contenedor es cuadrado; la imagen conserva proporción real.
   ========================================================= */
.lcc-cotizacion-publica .lcc-company-card{
    grid-template-columns:160px minmax(0, 1fr);
    align-items:start;
}
.lcc-cotizacion-publica .lcc-company-logo-wrap{
    width:160px!important;
    height:160px!important;
    min-width:160px!important;
    max-width:160px!important;
    min-height:160px!important;
    max-height:160px!important;
    padding:12px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    background:#fff!important;
}
.lcc-cotizacion-publica .lcc-company-logo-wrap .lcc-company-logo,
body .lcc-company-logo-wrap img.lcc-company-logo{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    flex:0 0 auto!important;
}
body.lcc-pdf-mode .lcc-company-card{
    display:grid!important;
    grid-template-columns:34mm minmax(0, 1fr)!important;
    gap:4mm!important;
    align-items:start!important;
    padding:4mm!important;
}
body.lcc-pdf-mode .lcc-company-logo-wrap{
    width:32mm!important;
    height:32mm!important;
    min-width:32mm!important;
    max-width:32mm!important;
    min-height:32mm!important;
    max-height:32mm!important;
    padding:2mm!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    background:#fff!important;
}
body.lcc-pdf-mode .lcc-company-logo-wrap img.lcc-company-logo,
body.lcc-pdf-mode img.lcc-company-logo{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
}
body.lcc-pdf-mode .lcc-logo-placeholder{
    width:32mm!important;
    height:32mm!important;
    max-width:32mm!important;
    max-height:32mm!important;
}


/* =========================================================
   LC OS2 Cotizador v2.2.7 — PDF filas alineadas
   Igual altura visual en bloques de la misma fila:
   Empresa/Cotización, Cliente/Condiciones, Transferencia/Total.
   ========================================================= */
body.lcc-pdf-mode .lcc-sheet{
    align-items:stretch!important;
}
body.lcc-pdf-mode .lcc-company-card,
body.lcc-pdf-mode .lcc-doc-info,
body.lcc-pdf-mode .lcc-client-box,
body.lcc-pdf-mode .lcc-terms-box,
body.lcc-pdf-mode .lcc-bank-box,
body.lcc-pdf-mode .lcc-totals-box{
    height:100%!important;
    min-height:100%!important;
}
body.lcc-pdf-mode .lcc-company-card,
body.lcc-pdf-mode .lcc-doc-info{
    min-height:42mm!important;
}
body.lcc-pdf-mode .lcc-client-box,
body.lcc-pdf-mode .lcc-terms-box{
    min-height:32mm!important;
}
body.lcc-pdf-mode .lcc-bank-box,
body.lcc-pdf-mode .lcc-totals-box{
    min-height:30mm!important;
}
body.lcc-pdf-mode .lcc-company-card{
    align-items:center!important;
}
body.lcc-pdf-mode .lcc-doc-info,
body.lcc-pdf-mode .lcc-client-box,
body.lcc-pdf-mode .lcc-terms-box,
body.lcc-pdf-mode .lcc-bank-box,
body.lcc-pdf-mode .lcc-totals-box{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
}
body.lcc-pdf-mode .lcc-totals-box{
    justify-content:space-between!important;
}

/* LC OS2 v2.2.8 - registros compactos y seguimiento */
.lcc-quick-metrics{
    padding:14px;
    margin:0 0 16px;
}
.lcc-quick-metrics-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.lcc-quick-metrics-head strong{
    display:block;
    font-size:15px;
    color:var(--lc-text);
}
.lcc-quick-metrics-head span{
    display:block;
    font-size:12px;
    color:var(--lc-muted);
    margin-top:2px;
}
.lcc-filter-details{
    width:100%;
    margin:8px 0 10px;
}
.lcc-filter-details summary{
    list-style:none;
    cursor:pointer;
    border:1px solid var(--lc-border);
    background:#fff;
    border-radius:14px;
    padding:9px 12px;
    font-size:13px;
    font-weight:800;
    color:var(--lc-text);
    box-shadow:0 2px 8px rgba(0,0,0,.04);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    max-width:230px;
}
.lcc-filter-details summary::-webkit-details-marker{display:none;}
.lcc-filter-summary-state{
    font-size:11px;
    font-weight:800;
    color:var(--lc-muted);
}
.lcc-filter-summary-state:after{
    content:' ▼';
    font-size:10px;
}
.lcc-filter-details[open] .lcc-filter-summary-state{font-size:0;}
.lcc-filter-details[open] .lcc-filter-summary-state:before{
    content:'Cerrar';
    font-size:11px;
}
.lcc-filter-details[open] .lcc-filter-summary-state:after{content:' ▲';}
.lcc-filter-details[open] .lcc-lista-filters-compact{
    display:block;
    animation:lccFilterAccordion .18s ease-out;
}
.lcc-lista-filters-compact{
    display:none;
    position:static;
    width:100%;
    padding:14px;
    margin:10px 0 0;
    border-radius:16px;
    box-shadow:none;
}
@keyframes lccFilterAccordion{
    from{opacity:0;transform:translateY(-4px);}
    to{opacity:1;transform:translateY(0);}
}
.lcc-status-chipbar{
    display:flex;
    align-items:center;
    gap:8px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:2px;
}
.lcc-status-chipbar::-webkit-scrollbar{height:4px;}
.lcc-status-chipbar::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px;}
.lcc-status-chip{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:34px;
    padding:7px 11px;
    border:1px solid var(--lc-border);
    border-radius:999px;
    background:#fff;
    color:var(--lc-text);
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.lcc-status-chip.is-active{
    border-color:var(--lc-primary);
    background:#fff3eb;
    color:var(--lc-primary-dark);
}
.lcc-status-chip strong{font-size:14px;}
.lcc-status-select-form{margin-top:8px;}
.lcc-status-select{
    width:100%;
    min-width:150px;
    border:1px solid var(--lc-border);
    border-radius:10px;
    padding:8px 10px;
    background:#fff;
    color:var(--lc-text);
    font-size:13px;
    font-weight:700;
}
.lcc-cot-status-seguimiento,
.lcc-status-select-seguimiento{
    background:#ffedd5;
    color:#9a3412;
}
.lcc-cot-status-cancelada,
.lcc-status-select-cancelada{
    background:#f3f4f6;
    color:#374151;
}
.lcc-status-select-en_espera{background:#fff7ed;color:#9a3412;}
.lcc-status-select-aprobada{background:#ecfdf5;color:#166534;}
.lcc-status-select-rechazada{background:#fef2f2;color:#991b1b;}

@media (max-width:767px){
    .lcc-quick-metrics{
        padding:12px;
        border-radius:16px;
        margin-bottom:12px;
    }
    .lcc-quick-metrics-head{
        margin-bottom:8px;
    }
    .lcc-lista-filters-compact{
        position:static;
        width:100%;
        max-height:none;
        overflow:visible;
        border-radius:16px;
    }
    .lcc-filter-details summary{
        max-width:none;
        width:100%;
    }
    .lcc-status-chip{
        min-height:32px;
        padding:7px 10px;
    }
}

/* LC OS2 v2.2.10: estado de cotización por AJAX */
.lcc-status-saving{
    display:inline-block;
    margin-left:6px;
    font-size:11px;
    color:#64748b;
    vertical-align:middle;
    min-width:54px;
}
.lcc-status-select:disabled{
    opacity:.7;
    cursor:wait;
}


/* v2.2.15: centrado leve de acciones públicas sin cambiar estructura visual */
.lcc-actions.no-print{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding-left:12px;
  padding-right:12px;
  box-sizing:border-box;
}


/* v2.2.16: centrar solo el crédito público de la cotización */
.lcc-doc-credit{
  text-align:center;
}

/* =========================================================
   LC OS2 Cotizador v2.2.24 — App Comercial v1.2.1
   Conserva lógica; mejora intención comercial, seguimiento y acciones.
   ========================================================= */
.lcc-app-value-card,
.lcc-public-next-step{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px;
    margin:0 0 15px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--lc-border);
    box-shadow:0 8px 22px rgba(17,24,39,.055);
}
.lcc-app-value-card h2,
.lcc-public-next-step h3{
    margin:4px 0 4px;
    color:#111827;
    font-size:19px;
    line-height:1.18;
    font-weight:800;
}
.lcc-app-value-card p,
.lcc-public-next-step p{
    margin:0;
    color:#6b7280;
    font-size:13.5px;
    line-height:1.4;
}
.lcc-app-kicker{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:3px 8px;
    border-radius:999px;
    background:#fff4ec;
    color:#e85f00;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.lcc-app-steps{
    display:flex;
    align-items:center;
    gap:7px;
    list-style:none;
    padding:0;
    margin:0;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
.lcc-app-steps li{
    flex:0 0 auto;
    padding:7px 10px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#6b7280;
    font-size:12px;
    font-weight:800;
}
.lcc-app-steps li.is-active{
    border-color:#ff6a00;
    background:#fff4ec;
    color:#e85f00;
}
.lcc-commercial-summary{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    margin:0 0 10px;
}
.lcc-commercial-summary span{
    display:flex;
    flex-direction:column;
    gap:2px;
    padding:10px;
    border:1px solid #edf0f4;
    border-radius:14px;
    background:#fff;
    color:#6b7280;
    font-size:12px;
    line-height:1.25;
}
.lcc-commercial-summary strong{
    color:#111827;
    font-size:14px;
    line-height:1.15;
}
.lcc-empty-inline{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:12px;
}
.lcc-empty-inline strong{
    color:#111827;
    font-size:15px;
}
.lcc-empty-inline span{
    color:#6b7280;
    font-size:13px;
}
.lcc-empty-state .lcc-btn{
    margin-top:12px;
}
.lcc-btn-whatsapp{
    background:#128c4a;
    color:#fff!important;
    border:1px solid #128c4a;
}
.lcc-btn-whatsapp:hover{
    background:#0f7a40;
    color:#fff!important;
}
.lc-btn-secondary,
.lcc-btn-secondary,
.lcc-status-action-btn,
.lcc-btn-open{
    background:#fff;
    color:#111827;
    border:1px solid #e5e7eb;
}
.lc-btn-secondary:hover,
.lcc-btn-secondary:hover,
.lcc-status-action-btn:hover,
.lcc-btn-open:hover{
    background:#fff7ed;
    border-color:#fed7aa;
    color:#e85f00;
}
.lcc-col-accion{
    min-width:180px;
}
.lcc-col-accion .lcc-btn,
.lcc-col-accion .lcc-btn-copy{
    margin:0 6px 6px 0;
}
.lcc-btn-copy{
    appearance:none;
}
.lcc-public-next-step{
    margin:20px 0 0;
    border-color:#fed7aa;
    background:#fffaf6;
}
.lcc-public-next-step .lcc-btn{
    flex:0 0 auto;
}
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-head{
    background:#fff;
    color:#111827;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 6px 18px rgba(17,24,39,.04);
}
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-title{color:#111827;}
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-subtitle{color:#6b7280;}
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-brandmark{
    background:#fff4ec;
    color:#ff6a00;
    box-shadow:none;
    border:1px solid #fed7aa;
}
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-apps-btn,
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-user-menu > summary{
    background:#fff;
    color:#111827;
    border:1px solid #e5e7eb;
    box-shadow:0 3px 10px rgba(17,24,39,.04);
}
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-apps-btn:hover,
.lcc-os2-shell[data-lcc-interface="0"] .lc-os2-user-menu > summary:hover{
    background:#fff4ec;
    color:#e85f00;
    border-color:#fed7aa;
}
.lcc-btn:focus-visible,
.lc-btn:focus-visible,
.lcc-status-chip:focus-visible,
.lcc-status-select:focus-visible,
.lc-input:focus-visible,
.lc-select:focus-visible,
.lc-textarea:focus-visible{
    outline:3px solid rgba(255,106,0,.28);
    outline-offset:2px;
}
@media(max-width:768px){
    .lcc-app-value-card,
    .lcc-public-next-step{
        align-items:flex-start;
        flex-direction:column;
        border-radius:18px;
        padding:14px;
    }
    .lcc-app-value-card h2,
    .lcc-public-next-step h3{
        font-size:18px;
    }
    .lcc-app-steps{
        width:100%;
        padding-bottom:2px;
    }
    .lcc-commercial-summary{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .lcc-public-next-step .lcc-btn{
        width:100%;
    }
}
@media(max-width:480px){
    .lcc-commercial-summary{
        grid-template-columns:1fr;
    }
}

/* v2.2.26 App Comercial: destaca la cotización pública como acción principal */
.lcc-col-accion .lcc-btn-open{background:var(--lc-primary,#ff6a00)!important;border-color:var(--lc-primary,#ff6a00)!important;color:#fff!important}.lcc-col-accion .lcc-btn-open:hover{background:var(--lc-primary-dark,#e65c00)!important;border-color:var(--lc-primary-dark,#e65c00)!important;color:#fff!important}


/* ==========================================================
   v2.2.27 · Homologación visual LandingClick
   Base funcional intacta. Ajustes de color, tipografía,
   márgenes, espaciado, radios, bordes y proporciones 50/50.
   ========================================================== */
.lcc-homologado-v227{
    --lc-primary:#ff6a00;
    --lc-primary-dark:#e85f00;
    --lc-primary-soft:#fff3eb;
    --lc-bg:#f5f6fa;
    --lc-card:#ffffff;
    --lc-border:#e5e7eb;
    --lc-text:#1f2937;
    --lc-muted:#6b7280;
    --lc-radius:12px;
    --lc-radius-input:10px;
    --lc-shadow:0 4px 12px rgba(15,23,42,.05);
    color:var(--lc-text);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.lcc-homologado-v227 .lcc-sheet{
    padding:20px;
    border-radius:12px;
}

.lcc-homologado-v227 .lc-os2-workarea{
    color:var(--lc-text);
}

.lcc-homologado-v227 .lcc-app-value-card,
.lcc-homologado-v227 .lcc-company-row .lcc-head-main,
.lcc-homologado-v227 .lcc-doc-info,
.lcc-homologado-v227 .lcc-client-box,
.lcc-homologado-v227 .lcc-items-wrap,
.lcc-homologado-v227 .lcc-terms-box,
.lcc-homologado-v227 .lcc-bank-box,
.lcc-homologado-v227 .lcc-totals-box{
    background:#fff;
    border:1px solid var(--lc-border);
    border-radius:12px;
    box-shadow:var(--lc-shadow);
}

.lcc-homologado-v227 .lcc-app-value-card{
    padding:20px;
    margin-bottom:15px;
}

.lcc-homologado-v227 .lcc-app-kicker{
    color:var(--lc-primary-dark);
    background:var(--lc-primary-soft);
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
}

.lcc-homologado-v227 .lcc-app-value-card h2{
    margin:10px 0 6px;
    color:var(--lc-text);
    font-size:24px;
    line-height:1.2;
    font-weight:700;
}

.lcc-homologado-v227 .lcc-app-value-card p{
    margin:0;
    color:var(--lc-muted);
    font-size:14px;
    line-height:1.5;
}

.lcc-homologado-v227 .lcc-app-steps li{
    color:var(--lc-muted);
    font-size:12px;
    font-weight:600;
}

.lcc-homologado-v227 .lcc-app-steps li.is-active{
    color:var(--lc-primary-dark);
}

.lcc-homologado-v227 .lcc-head-kicker,
.lcc-homologado-v227 .lcc-doc-title{
    color:var(--lc-primary-dark);
    font-size:12px;
    font-weight:700;
}

.lcc-homologado-v227 .lcc-head-data h2,
.lcc-homologado-v227 .lcc-section-title-row h3,
.lcc-homologado-v227 .lcc-terms-box h3,
.lcc-homologado-v227 .lcc-bank-box h3{
    color:var(--lc-text);
    font-size:20px;
    line-height:1.25;
    font-weight:700;
    margin:0 0 10px;
}

.lcc-homologado-v227 .lcc-head-meta,
.lcc-homologado-v227 .lcc-head-meta span,
.lcc-homologado-v227 .lcc-section-title-row span,
.lcc-homologado-v227 .lcc-items-note,
.lcc-homologado-v227 .lcc-doc-meta-line,
.lcc-homologado-v227 .lcc-terms-box p,
.lcc-homologado-v227 .lcc-bank-box p{
    color:var(--lc-muted);
    font-size:14px;
    line-height:1.45;
}

.lcc-homologado-v227 .lcc-company-row .lcc-head-main,
.lcc-homologado-v227 .lcc-doc-info,
.lcc-homologado-v227 .lcc-client-box,
.lcc-homologado-v227 .lcc-terms-box,
.lcc-homologado-v227 .lcc-bank-box,
.lcc-homologado-v227 .lcc-totals-box{
    padding:20px !important;
}

.lcc-homologado-v227 .lcc-head-logo{
    border-radius:12px !important;
    border:1px solid var(--lc-border) !important;
}

.lcc-homologado-v227 .lc-label,
.lcc-homologado-v227 .lcc-field label{
    color:var(--lc-muted);
    font-size:13px;
    line-height:1.3;
    font-weight:600;
    margin-bottom:6px;
}

.lcc-homologado-v227 .lc-input,
.lcc-homologado-v227 .lc-select,
.lcc-homologado-v227 .lc-textarea,
.lcc-homologado-v227 .lcc-field input,
.lcc-homologado-v227 .lcc-field select,
.lcc-homologado-v227 .lcc-field textarea,
.lcc-homologado-v227 .lcc-cantidad,
.lcc-homologado-v227 .lcc-item-select,
.lcc-homologado-v227 .lcc-descripcion,
.lcc-homologado-v227 .lcc-precio-unitario{
    min-height:42px;
    padding:10px 12px;
    border:1px solid var(--lc-border);
    border-radius:10px;
    background:#fff;
    color:var(--lc-text);
    font-size:14px;
    line-height:1.4;
}

.lcc-homologado-v227 .lc-input:focus,
.lcc-homologado-v227 .lc-select:focus,
.lcc-homologado-v227 .lc-textarea:focus,
.lcc-homologado-v227 .lcc-field input:focus,
.lcc-homologado-v227 .lcc-field select:focus,
.lcc-homologado-v227 .lcc-field textarea:focus{
    border-color:var(--lc-primary);
    box-shadow:0 0 0 3px rgba(255,106,0,.10);
}

/* Proporción equilibrada: cualquier bloque principal de dos columnas queda 50/50. */
.lcc-homologado-v227 .lcc-quote-client-row{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:15px !important;
}

.lcc-homologado-v227 .lcc-top-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.lcc-homologado-v227 .lcc-bottom{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
}

.lcc-homologado-v227 .lcc-bottom-left{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
}

.lcc-homologado-v227 .lcc-items-wrap{
    padding:16px;
    margin-top:18px;
    margin-bottom:18px;
}

.lcc-homologado-v227 .lcc-items-note{
    padding:10px 12px;
    margin-bottom:12px;
    border:1px solid var(--lc-border);
    border-radius:10px;
    background:#fff;
}

.lcc-homologado-v227 .lcc-items-table th,
.lcc-homologado-v227 .lcc-items-table td{
    padding:12px 10px;
    font-size:14px;
}

.lcc-homologado-v227 .lcc-items-table thead th{
    background:#f9fafb;
    color:var(--lc-text);
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
}

.lcc-homologado-v227 .lcc-remove-row{
    border-radius:10px;
    border:1px solid var(--lc-border);
    background:#f9fafb;
    color:var(--lc-text);
}

.lcc-homologado-v227 .lcc-remove-row:hover{
    background:var(--lc-primary-soft);
    border-color:#ffd2b5;
    color:var(--lc-primary-dark);
}

.lcc-homologado-v227 .lcc-grand-total{
    border-top:2px solid var(--lc-border);
}

.lcc-homologado-v227 .lcc-grand-total span,
.lcc-homologado-v227 .lcc-grand-total strong{
    color:var(--lc-primary-dark);
    font-size:18px;
    font-weight:700;
}

.lcc-homologado-v227 .lc-btn,
.lcc-homologado-v227 .lcc-btn,
.lcc-homologado-v227 .lcc-status-action-btn,
.lcc-homologado-v227 .lcc-btn-open{
    min-height:42px;
    padding:10px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
}

.lcc-homologado-v227 .lc-btn-primary,
.lcc-homologado-v227 .lcc-btn-primary{
    background:var(--lc-primary);
    color:#fff;
}

.lcc-homologado-v227 .lc-btn-primary:hover,
.lcc-homologado-v227 .lcc-btn-primary:hover{
    background:var(--lc-primary-dark);
}

.lcc-homologado-v227 .lc-btn-secondary,
.lcc-homologado-v227 .lcc-btn-secondary{
    background:#fff;
    color:var(--lc-text);
    border:1px solid var(--lc-border);
}

/* Solo textos libres/avisos sin caja reciben respiración lateral. */
.lcc-homologado-v227 > .lcc-notice,
.lcc-homologado-v227 .lcc-form-message:not(:empty),
.lcc-homologado-v227 .lcc-inline-notice{
    margin-left:24px;
    margin-right:24px;
}

@media (max-width:760px){
    .lcc-homologado-v227 .lcc-sheet{padding:14px;}
    .lcc-homologado-v227 .lcc-app-value-card,
    .lcc-homologado-v227 .lcc-company-row .lcc-head-main,
    .lcc-homologado-v227 .lcc-doc-info,
    .lcc-homologado-v227 .lcc-client-box,
    .lcc-homologado-v227 .lcc-terms-box,
    .lcc-homologado-v227 .lcc-bank-box,
    .lcc-homologado-v227 .lcc-totals-box{
        padding:16px !important;
    }
    .lcc-homologado-v227 .lcc-app-value-card h2{font-size:21px;}
    .lcc-homologado-v227 .lcc-head-data h2,
    .lcc-homologado-v227 .lcc-section-title-row h3,
    .lcc-homologado-v227 .lcc-terms-box h3,
    .lcc-homologado-v227 .lcc-bank-box h3{font-size:18px;}
    .lcc-homologado-v227 .lcc-quote-client-row,
    .lcc-homologado-v227 .lcc-top-grid,
    .lcc-homologado-v227 .lcc-bottom,
    .lcc-homologado-v227 .lcc-bottom-left{
        grid-template-columns:1fr !important;
    }
    .lcc-homologado-v227 .lcc-client-fields{grid-template-columns:1fr !important;}
    .lcc-homologado-v227 > .lcc-notice,
    .lcc-homologado-v227 .lcc-form-message:not(:empty),
    .lcc-homologado-v227 .lcc-inline-notice{
        margin-left:14px;
        margin-right:14px;
    }
}

@media (max-width:380px){
    .lcc-homologado-v227 > .lcc-notice,
    .lcc-homologado-v227 .lcc-form-message:not(:empty),
    .lcc-homologado-v227 .lcc-inline-notice{
        margin-left:12px;
        margin-right:12px;
    }
}


/* v2.2.29 · Pasos informativos integrados a las secciones reales */
.lcc-homologado-v227 .lcc-step-heading{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 12px;
}
.lcc-homologado-v227 .lcc-step-heading h3{
    margin:0;
    color:var(--lc-text,#1f2937);
    font-size:18px;
    line-height:1.25;
    font-weight:700;
}
.lcc-homologado-v227 .lcc-step-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:5px 10px;
    border-radius:999px;
    background:#fff3eb;
    color:var(--lc-primary-dark,#e65c00);
    font-size:12px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
}
.lcc-homologado-v227 .lcc-section-title-row > .lcc-step-heading{
    margin-bottom:4px;
}
.lcc-homologado-v227 .lcc-step-heading-items{
    margin-bottom:8px;
}
.lcc-homologado-v227 .lcc-step-heading-total{
    margin-bottom:16px;
    padding-bottom:12px;
    border-bottom:1px solid var(--lc-border,#e5e7eb);
}
.lcc-homologado-v227 .lcc-step-final{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:18px 0 0;
    padding:14px 16px;
    border:1px solid #ffd7bb;
    border-radius:12px;
    background:#fff8f3;
}
.lcc-homologado-v227 .lcc-step-final strong{
    display:block;
    margin:0 0 3px;
    color:var(--lc-text,#1f2937);
    font-size:15px;
    line-height:1.3;
}
.lcc-homologado-v227 .lcc-step-final small{
    display:block;
    color:var(--lc-muted,#6b7280);
    font-size:13px;
    line-height:1.4;
}
@media (max-width:760px){
    .lcc-homologado-v227 .lcc-step-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }
    .lcc-homologado-v227 .lcc-step-heading h3{font-size:17px;}
    .lcc-homologado-v227 .lcc-step-final{margin-top:14px;}
}

/* LandingClick Cotizador v2.2.30 - estándar público configurable */
body:not(.lcc-pdf-mode) .lcc-wrap{
    --lc-primary:var(--lcc-accent,var(--lc-primary,#ff6a00));
    --lc-primary-dark:color-mix(in srgb,var(--lc-primary,#ff6a00) 82%,#111827);
    --lc-os2-orange:var(--lc-primary);
    --lc-os2-orange-dark:var(--lc-primary-dark);
    --lcc-accent-soft:color-mix(in srgb,var(--lc-primary,#ff6a00) 10%,#fff);
    --lcc-accent-border:color-mix(in srgb,var(--lc-primary,#ff6a00) 24%,#fff);
    --lcc-accent-focus:color-mix(in srgb,var(--lc-primary,#ff6a00) 28%,transparent);
    overflow-x:hidden!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap,
body:not(.lcc-pdf-mode) .lcc-wrap *{
    box-sizing:border-box;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lcc-sheet,.lc-os2-shell,.lcc-doc-info,.lcc-client-box,.lcc-items-wrap,.lcc-terms-box,.lcc-bank-box,.lcc-totals-box,.lcc-lista-header,.lcc-lista-filters,.lc-card){
    max-width:100%;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lc-btn,.lcc-btn,.lcc-btn-open){
    min-height:44px;
    border-radius:14px;
    font-weight:800;
    line-height:1.15;
    text-align:center;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lc-btn-primary,.lcc-btn-primary),
body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-tab.is-active{
    background:var(--lc-primary)!important;
    border-color:var(--lc-primary)!important;
    color:#fff!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lc-btn-primary,.lcc-btn-primary):hover{
    background:var(--lc-primary-dark)!important;
    border-color:var(--lc-primary-dark)!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lc-btn-secondary,.lcc-btn-secondary,.lcc-btn-open){
    background:#fff!important;
    border-color:var(--lc-border,#e5e7eb)!important;
    color:var(--lc-text,#1f2937)!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lc-btn,.lcc-btn,.lc-os2-tab,input,select,textarea,summary,a):focus-visible{
    outline:3px solid var(--lcc-accent-focus)!important;
    outline-offset:2px!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lcc-doc-title,.lcc-status-pill,.lc-badge,.lcc-step-badge,.lcc-step-final,.lcc-core-client-option){
    background:var(--lcc-accent-soft)!important;
    border-color:var(--lcc-accent-border)!important;
    color:var(--lc-primary-dark)!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lcc-doc-title,.lcc-status-pill,.lc-badge,.lcc-step-badge){
    border:1px solid var(--lcc-accent-border)!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(.lcc-company-data h1,.lcc-company-data h2,.lcc-client-box h3,.lcc-terms-box h3,.lcc-bank-box h3,.lcc-lista-header h2,.lc-os2-title){
    overflow-wrap:anywhere;
}
body:not(.lcc-pdf-mode) .lcc-wrap :is(input,select,textarea){
    max-width:100%;
    min-width:0;
}
body:not(.lcc-pdf-mode) .lcc-wrap input[type="checkbox"],
body:not(.lcc-pdf-mode) .lcc-wrap input[type="radio"]{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    accent-color:var(--lc-primary)!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-head{
    background:linear-gradient(135deg,var(--lc-primary),color-mix(in srgb,var(--lc-primary) 78%,#111827))!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-brandmark{
    color:var(--lc-primary)!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-tab:hover{
    color:var(--lc-primary-dark)!important;
    background:var(--lcc-accent-soft)!important;
}
body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-actions{
    width:100%;
    box-sizing:border-box;
}
body:not(.lcc-pdf-mode) .lcc-wrap .lcc-table-scroll,
body:not(.lcc-pdf-mode) .lcc-wrap .lcc-items-table-wrap,
body:not(.lcc-pdf-mode) .lcc-wrap .lcc-lista-table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
body:not(.lcc-pdf-mode) .lcc-wrap .lcc-empty-state{
    background:#fff!important;
    border-color:var(--lc-border,#e5e7eb)!important;
}
@media(max-width:768px){
    body:not(.lcc-pdf-mode) .lcc-wrap{
        width:100%!important;
        max-width:100%!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-workarea{
        padding:12px 10px calc(92px + env(safe-area-inset-bottom))!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-actions{
        grid-template-columns:1fr 1fr!important;
        padding:10px 10px calc(10px + env(safe-area-inset-bottom))!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-actions :is(.lc-btn,.lcc-btn){
        width:100%!important;
        min-height:46px!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap :is(.lcc-top-grid,.lcc-bottom,.lcc-client-fields,.lcc-lista-filter-grid,.lcc-right-stack,.lcc-bottom-left,.lcc-quote-client-row,.lcc-company-row .lcc-head-main){
        grid-template-columns:1fr!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-company-card,
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-head-main{
        display:grid!important;
        grid-template-columns:auto minmax(0,1fr)!important;
        align-items:start!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-company-logo-wrap,
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-head-logo{
        width:68px!important;
        height:68px!important;
        min-width:68px!important;
    }
}
@media(max-width:480px){
    body:not(.lcc-pdf-mode) .lcc-wrap .lc-os2-actions{
        grid-template-columns:1fr!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-company-card,
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-head-main{
        grid-template-columns:1fr!important;
    }
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-company-logo-wrap,
    body:not(.lcc-pdf-mode) .lcc-wrap .lcc-head-logo{
        width:72px!important;
        height:72px!important;
    }
}

/* LC Typography Homologation 2026-08 */
.lcc-wrap{--lc-type-title:28px;--lc-type-subtitle:20px;--lc-type-card:17px;--lc-type-body:14px;--lc-type-small:12px;font-size:var(--lc-type-body);line-height:1.5}
.lcc-wrap :is(.lcc-app-title,.lcc-head-data h1,.lcc-main-title){font-size:var(--lc-type-title)!important;line-height:1.15!important;letter-spacing:-.02em!important;font-weight:800!important}
.lcc-wrap :is(.lcc-doc-title,.lcc-section-title,h2){font-size:var(--lc-type-subtitle)!important;line-height:1.25!important;font-weight:800!important}
.lcc-wrap :is(h3,.lcc-card-title,.lcc-step-title){font-size:var(--lc-type-card)!important;line-height:1.3!important;font-weight:750!important}
.lcc-wrap :is(p,li,input,select,textarea,button){font-size:var(--lc-type-body)}
.lcc-wrap :is(.lcc-muted,.lcc-helper,.lcc-note,small){font-size:var(--lc-type-small)!important;line-height:1.45!important}
@media(max-width:760px){.lcc-wrap{--lc-type-title:24px;--lc-type-subtitle:18px;--lc-type-card:16px;--lc-type-body:14px}}

