/* 4.17.260 VER1 · Facturas proforma: mismas reglas visuales que Albaranes (generado) */
body[data-route="proformas"] #module-view{min-height:calc(100vh - 74px)!important;display:flex!important;flex-direction:column!important}
body[data-route="proformas"] #module-view>.module-head{flex:0 0 auto!important}
body[data-route="proformas"] #module-kpis{flex:0 0 auto!important;margin-bottom:8px!important}
body[data-route="proformas"] #client-selected-bar{flex:0 0 auto!important}
body[data-route="proformas"] #module-view>.module-card{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
body[data-route="proformas"] .records-wrap{flex:1 1 auto!important;min-height:320px!important;max-height:none!important;overflow:auto!important}
body[data-route="proformas"] .records-table td{font-family:"Segoe UI",Arial,sans-serif!important;font-size:11px!important;font-weight:400!important}
body[data-route="proformas"] .records-table .main-cell{font-family:"Segoe UI Semibold","Segoe UI",Arial,sans-serif!important;font-weight:600!important;font-size:13.3px!important}
body[data-route="proformas"] .record-row.selected td{background:#dcecff!important}
body[data-route="proformas"] .record-row:hover td{background:#f3f8fd}
body[data-route="proformas"] #client-selected-bar{display:flex!important}
body[data-route="proformas"] #module-view>.module-card{margin-top:0!important}
body[data-route="proformas"] .budget-list-toolbar{width:100%!important;box-sizing:border-box!important}
body[data-route="proformas"] .budget-list-toolbar-top,
body[data-route="proformas"] .budget-list-toolbar-bottom{
  width:100%!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:10px!important;padding:7px 10px!important
}
body[data-route="proformas"] .budget-list-toolbar-top{background:#fff!important}
body[data-route="proformas"] .budget-list-title{margin:0!important;min-width:280px!important;justify-content:flex-start!important}
body[data-route="proformas"] .budget-list-title>svg{width:32px!important;height:32px!important;padding:7px!important}
body[data-route="proformas"] .budget-list-title b{font-size:12.5px!important}
body[data-route="proformas"] .budget-primary-actions{margin-left:auto!important}
body[data-route="proformas"] .budget-list-toolbar-bottom{background:#fbfdff!important}
body[data-route="proformas"] .budget-secondary-actions{margin-left:auto!important}
body[data-route="proformas"] .budget-list-avatar{
  width:29px!important;height:29px!important;min-width:29px!important;
  color:#fff!important;font:700 9px "Segoe UI",Arial!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20)
}
body[data-route="proformas"] .budget-status{font-size:9px!important;font-weight:700!important;padding:4px 9px!important;border-radius:0!important;white-space:nowrap}
body[data-route="proformas"] .records-table tbody tr{height:42px!important}
body[data-route="proformas"] .budget-list-toolbar-top{overflow:visible!important}
body[data-route="proformas"] .budget-list-toolbar-bottom{padding-right:0!important}
body[data-route="proformas"] .budget-list-toolbar-bottom .budget-search-label{flex:1!important;max-width:none!important}
body[data-route="proformas"] .budget-search-label>span{font:600 11px "Segoe UI Semibold","Segoe UI",sans-serif!important}
body[data-route="proformas"] .budget-search-label input{font:600 12px "Segoe UI Semibold","Segoe UI",sans-serif!important}
body[data-route="proformas"] .module-head-left{
  display:flex!important;align-items:center!important;gap:12px!important;
}
body[data-route="proformas"] #module-head-icon{
  display:inline-flex!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
body[data-route="proformas"] #module-head-icon{color:#6f38ed!important}
body[data-route="proformas"] #module-head-icon svg{
  display:block!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  stroke-width:1.8!important;
}
body[data-route="proformas"] #client-selected-bar{
  min-height:68px!important;
  height:68px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:stretch!important;
}
body[data-route="proformas"] #client-selected-bar button{
  position:relative!important;
  height:68px!important;
  min-height:68px!important;
  min-width:118px!important;
  padding:8px 18px!important;
  border-radius:0!important;
  border-bottom-width:3px!important;
  border-bottom-style:solid!important;
  border-bottom-color:transparent!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:600!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .08s ease,
    box-shadow .16s ease!important;
}
body[data-route="proformas"] #client-selected-bar button .wf-svg-icon,
body[data-route="proformas"] #client-selected-bar button svg{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
}
body[data-route="proformas"] #client-selected-bar button:hover{
  background:#e8f3ff!important;
  border-bottom-color:#4a9cff!important;
  box-shadow:inset 0 -3px 0 #4a9cff!important;
}
body[data-route="proformas"] #client-selected-bar button:active{
  background:#dcecff!important;
  transform:translateY(1px)!important;
}
body[data-route="proformas"] #client-selected-bar button:focus-visible{
  outline:2px solid #1677ff!important;
  outline-offset:-2px!important;
}
body[data-route="proformas"] #client-selected-bar button.active,
body[data-route="proformas"] #client-selected-bar button.is-active,
body[data-route="proformas"] #client-selected-bar button[aria-selected="true"],
body[data-route="proformas"] #client-selected-bar button:first-of-type{
  background:#eef6ff!important;
  border-bottom-color:#1677ff!important;
  box-shadow:inset 0 -3px 0 #1677ff!important;
}
body[data-route="proformas"] #client-selected-bar > :first-child{
  min-height:68px!important;
  align-items:center!important;
}
body[data-route="proformas"] #client-selected-bar .client-selected-actions{
  margin-left:auto!important;
}
body[data-route="proformas"] #client-selected-bar button:disabled{
  opacity:.35!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
}
body[data-route="proformas"] .records-table th.multi-select-col,
body[data-route="proformas"] .records-table td.multi-select-col{
  width:36px!important;max-width:36px!important;min-width:36px!important;padding:6px 4px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav{
  display:flex!important;
  align-self:center!important;
  gap:0!important;
  flex:0 1 560px!important;
  height:62px!important;
  min-height:62px!important;
  overflow:hidden!important;
  border:1px solid #d9e5f2!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(21,58,99,.04)!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button{
  flex:1 0 102px!important;
  min-width:102px!important;
  height:100%!important;
  min-height:0!important;
  padding:6px 7px 5px!important;
  margin:0!important;
  border:0!important;
  border-right:1px solid #e6eef7!important;
  border-radius:0!important;
  background:#fff!important;
  color:#25486f!important;
  box-shadow:none!important;
  transform:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  transition:background .16s ease, box-shadow .16s ease!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button:last-child{
  border-right:0!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button:hover{
  background:color-mix(in srgb, var(--client-nav-accent) 7%, white)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--client-nav-accent) 18%, transparent)!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active{
  background:color-mix(in srgb, var(--client-nav-accent) 10%, white)!important;
  box-shadow:inset 0 -4px var(--client-nav-accent)!important;
  color:#143b68!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav .client-nav-icon{
  width:29px;height:29px;display:grid;place-items:center;
  color:var(--client-nav-accent)!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav .client-nav-icon svg,
body[data-route="proformas"] #client-selected-bar .client-industrial-nav .client-nav-icon .wf-svg-icon{
  width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;
  color:var(--client-nav-accent)!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button small{
  display:block!important;
  margin:0!important;
  font-size:10.5px!important;
  line-height:1.1!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
  color:#173d6b!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active small{
  color:var(--client-nav-accent)!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav{
  flex:0 1 auto!important; margin-left:auto!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button:disabled{
  opacity:.35!important; cursor:not-allowed!important; background:#fff!important; box-shadow:none!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button small{
  white-space:normal!important; text-align:center!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%!important;
  margin-left:auto!important;
  height:66px!important;
  min-height:66px!important;
  overflow-x:auto!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button{
  flex:0 0 120px!important;
  width:120px!important;
  min-width:120px!important;
  max-width:120px!important;
  padding:6px 8px 5px!important;
  gap:4px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button small{
  font-family:"Segoe UI Semibold","Segoe UI",Arial,sans-serif!important;
  font-weight:400!important;
  font-size:11px!important;
  letter-spacing:0!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active small{
  font-family:"Segoe UI","Segoe UI Bold",Arial,sans-serif!important;
  font-weight:700!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button small{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-weight:600!important;
  font-size:11px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active small{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-weight:700!important;
  font-size:12px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button small{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-weight:500!important;
  font-size:12px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active small{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-weight:650!important;
  font-size:12px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button small{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:500!important;
  color:#17325c!important;
  -webkit-text-stroke:0!important;
  text-shadow:none!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active small{
  font-weight:650!important;
  color:var(--client-nav-accent,#0b4b9c)!important;
}
body[data-route="proformas"] #client-selected-bar{
  height:auto!important;min-height:104px!important;align-items:center!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav{
  height:92px!important;min-height:92px!important;max-height:none!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button{
  flex:0 0 120px!important;width:120px!important;min-width:120px!important;max-width:120px!important;
  height:100%!important;padding:7px 6px 6px!important;gap:5px!important;justify-content:center!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button .client-nav-icon{
  width:50px!important;height:50px!important;min-width:50px!important;margin:0 auto!important;
  display:grid!important;place-items:center!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button img.nav{
  width:50px!important;height:50px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button .client-nav-icon svg{
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button{
  width:auto!important;max-width:none!important;min-width:120px!important;flex:0 0 auto!important;padding-left:14px!important;padding-right:14px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button small{white-space:nowrap!important}
body[data-route="proformas"] #client-selected-bar{min-height:84px!important}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav{height:74px!important;min-height:74px!important}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button{padding:5px 6px 4px!important;gap:3px!important}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button .client-nav-icon,
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button img.nav{
  width:38px!important;height:38px!important;min-width:38px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button img.nav{
  opacity:.6!important;filter:saturate(.45)!important;transition:opacity .15s ease,filter .15s ease!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button:hover img.nav,
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active img.nav{
  opacity:1!important;filter:none!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button.active{
  background:#fff!important;box-shadow:inset 0 -3px var(--client-nav-accent,#1477f2)!important;
}
body[data-route="proformas"] .wf-action-btn{
  min-height:40px!important;height:40px!important;font-size:12px!important;padding-left:18px!important;padding-right:18px!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav:hover button.active:not(:hover){
  box-shadow:none!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav:hover button.active:not(:hover) img.nav{
  opacity:.6!important;filter:saturate(.45)!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav:hover button.active:not(:hover) small{
  color:#17325c!important;font-weight:500!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button:hover{
  background:#fff!important;box-shadow:inset 0 -3px var(--client-nav-accent,#1477f2)!important;
}
body[data-route="proformas"] #client-selected-bar .client-industrial-nav button:hover small{
  color:var(--client-nav-accent,#1477f2)!important;
}
body[data-route="proformas"] .client-search-label{flex:1 1 auto!important;min-width:260px!important}
body[data-route="proformas"] #module-search,
body[data-route="proformas"] .client-toolbar select{box-shadow:2px 2px 4px rgba(20,58,110,.24)!important}
/* 4.17.261 · orden visual */
body[data-route="proformas"] .prf-search{flex:1 1 auto!important;min-width:260px!important}
body[data-route="proformas"] .prf-search .client-smart-search,body[data-route="proformas"] .prf-search .client-search-input-shell{width:100%!important}
body[data-route="proformas"] #module-search{box-shadow:2px 2px 4px rgba(20,58,110,.24)!important}
body[data-route="proformas"] .module-toolbar select{box-shadow:2px 2px 4px rgba(20,58,110,.24)!important}
body[data-route="proformas"] #module-kpis .module-kpi-copy strong{white-space:nowrap}
