/* GP — detalhamento por serviço/célula, Top 5 motivos e Top 5 produtos. */
body.show-ref #refugo .loss-operational-detail-panel{
  grid-column:1 / -1 !important;
  min-height:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

body.show-ref #refugo .loss-detail-head{
  min-height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:10px 16px !important;
  border-bottom:1px solid #dce5e9 !important;
}

body.show-ref #refugo .loss-detail-head h3{
  margin:0 !important;
  color:#07131c !important;
  font-size:13px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}

body.show-ref #refugo .loss-detail-head h3 strong{color:#f26722 !important}
body.show-ref #refugo .loss-detail-head h3 span{padding:0 7px !important;color:#7c8f98 !important}
body.show-ref #refugo .loss-detail-head p{margin:3px 0 0 !important;color:#758790 !important;font-size:9px !important;font-weight:600 !important}

body.show-ref #refugo .loss-detail-head > label,
body.show-ref #refugo .loss-reasons-card > label{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  color:#526873 !important;
  font-size:8px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}

body.show-ref #refugo .loss-detail-head select,
body.show-ref #refugo .loss-reasons-card select{
  height:32px !important;
  min-width:220px !important;
  padding:0 30px 0 9px !important;
  border:1px solid #cedae0 !important;
  border-radius:7px !important;
  color:#18323c !important;
  background:#fff !important;
  font-size:9.5px !important;
  font-weight:800 !important;
  outline:none !important;
}

body.show-ref #refugo .loss-detail-head select:focus,
body.show-ref #refugo .loss-reasons-card select:focus{border-color:#f47a18 !important;box-shadow:0 0 0 3px rgba(244,122,24,.13) !important}

body.show-ref #refugo .loss-detail-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
  padding:12px !important;
}

body.show-ref #refugo .loss-service-card,
body.show-ref #refugo .loss-reasons-card{
  min-width:0 !important;
  overflow:hidden !important;
  border:1px solid #d7e0e5 !important;
  border-radius:10px !important;
  background:#fff !important;
}

body.show-ref #refugo .loss-service-card h4,
body.show-ref #refugo .loss-reasons-card h4{
  margin:0 !important;
  padding:10px 12px !important;
  color:#102832 !important;
  font-size:12px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}

body.show-ref #refugo .loss-service-header,
body.show-ref #refugo .loss-service-row{
  display:grid !important;
  grid-template-columns:20px minmax(135px,1fr) minmax(120px,1.15fr) 92px 60px 88px 92px 12px 66px !important;
  align-items:center !important;
  gap:7px !important;
}

body.show-ref #refugo .loss-service-header{
  min-width:760px !important;
  padding:6px 9px !important;
  border-top:1px solid #e1e8eb !important;
  border-bottom:1px solid #d8e1e5 !important;
  color:#71858f !important;
  background:#f4f7f8 !important;
  font-size:8.5px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}

body.show-ref #refugo .loss-service-row{
  min-width:760px !important;
  width:100% !important;
  min-height:44px !important;
  padding:6px 9px !important;
  border:0 !important;
  border-bottom:1px solid #edf1f3 !important;
  color:#17323d !important;
  background:#fff !important;
  font:inherit !important;
  cursor:default !important;
  text-align:left !important;
}

body.show-ref #refugo .loss-service-row:nth-child(odd){background:#f8fafb !important}
body.show-ref #refugo .loss-service-row > span{min-width:0 !important;font-size:10.5px !important;font-weight:750 !important;font-variant-numeric:tabular-nums !important;white-space:nowrap !important}
body.show-ref #refugo .loss-service-row > .loss-service-name{overflow:hidden !important;font-size:12px !important;font-weight:900 !important;text-overflow:ellipsis !important}
body.show-ref #refugo .loss-service-row > .loss-service-value{font-size:11px !important;font-weight:900 !important;text-align:right !important}

body.show-ref #refugo .loss-service-track{height:7px !important;overflow:hidden !important;border-radius:999px !important;background:#e8eef1 !important}
body.show-ref #refugo .loss-service-track i{display:block !important;height:100% !important;border-radius:inherit !important;background:linear-gradient(90deg,#ff7f36,#ff6425) !important}
body.show-ref #refugo .loss-service-spark svg{display:block !important;width:80px !important;height:23px !important}
body.show-ref #refugo .loss-service-direction{font-size:12px !important;font-weight:900 !important}
body.show-ref #refugo .loss-service-direction.good{color:#159b68 !important}
body.show-ref #refugo .loss-service-direction.bad{color:#e75a4f !important}

body.show-ref #refugo .loss-service-detail-button{
  min-height:26px !important;
  padding:4px 8px !important;
  border:1px solid #f0a066 !important;
  border-radius:6px !important;
  color:#bd570f !important;
  background:#fff8f2 !important;
  font-size:9px !important;
  font-weight:900 !important;
  cursor:pointer !important;
}

body.show-ref #refugo .loss-service-detail-button:hover,
body.show-ref #refugo .loss-service-detail-button[aria-expanded="true"]{color:#fff !important;background:#f26722 !important;border-color:#f26722 !important}
body.show-ref #refugo .loss-service-detail-button:focus-visible{outline:2px solid rgba(242,103,34,.3) !important;outline-offset:2px !important}

body.show-ref #refugo .loss-service-card > #lossServiceDetail{overflow-x:auto !important}
body.show-ref #refugo .loss-reasons-card{padding-bottom:8px !important}

body.show-ref #refugo .loss-reason-header,
body.show-ref #refugo .loss-reason-row{
  display:grid !important;
  grid-template-columns:24px minmax(130px,.8fr) minmax(180px,1.3fr) 92px 62px !important;
  align-items:center !important;
  gap:5px !important;
}

body.show-ref #refugo .loss-reason-header{padding:6px 9px !important;border-top:1px solid #e1e8eb !important;border-bottom:1px solid #d8e1e5 !important;color:#71858f !important;background:#f4f7f8 !important;font-size:7.5px !important;font-weight:900 !important;text-transform:uppercase !important}
body.show-ref #refugo .loss-reason-row{min-height:36px !important;padding:6px 9px !important;border-bottom:1px solid #edf1f3 !important;color:#17323d !important;font-size:9px !important;font-variant-numeric:tabular-nums !important}
body.show-ref #refugo .loss-reason-row span{overflow:hidden !important;font-weight:750 !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body.show-ref #refugo .loss-reason-row strong{overflow:hidden !important;font-size:9.5px !important;font-weight:850 !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body.show-ref #refugo .loss-reason-row b{text-align:right !important;color:#17323d !important;font-size:9px !important;font-weight:900 !important}
body.show-ref #refugo .loss-reason-row em{text-align:right !important;color:#f26722 !important;font-size:9px !important;font-style:normal !important;font-weight:900 !important}
body.show-ref #refugo .loss-detail-empty{padding:18px 10px !important;color:#7d8f98 !important;font-size:9px !important;text-align:center !important}

@media(max-width:700px){body.show-ref #refugo .loss-detail-head{align-items:flex-start !important;flex-direction:column !important}body.show-ref #refugo .loss-detail-head > label{width:100% !important}body.show-ref #refugo .loss-detail-head select{width:100% !important;min-width:0 !important}}

body.show-ref #refugo .loss-service-group{
  min-width:950px !important;
  display:block !important;
  border-bottom:4px solid #f1f5f6 !important;
}

body.show-ref #refugo .loss-service-group:nth-child(even) > .loss-service-row{background:#f8fafb !important}
body.show-ref #refugo .loss-service-group:last-child{border-bottom:0 !important}

body.show-ref #refugo .loss-nested-reasons{
  margin:0 10px 9px 42px !important;
  overflow:hidden !important;
  border:1px solid #e1e8eb !important;
  border-radius:7px !important;
  background:#fff !important;
}

body.show-ref #refugo .loss-nested-reason-title{
  padding:6px 9px !important;
  color:#bc570e !important;
  background:#fff8f2 !important;
  font-size:10px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}

body.show-ref #refugo .loss-nested-reason-header,
body.show-ref #refugo .loss-nested-reason-row{
  display:grid !important;
  grid-template-columns:24px minmax(180px,.9fr) minmax(120px,1fr) 94px 82px 100px 66px !important;
  align-items:center !important;
  gap:7px !important;
}

body.show-ref #refugo .loss-nested-reason-header{
  padding:5px 9px !important;
  border-top:1px solid #f1ded1 !important;
  border-bottom:1px solid #dfe7ea !important;
  color:#72858e !important;
  background:#f7f9fa !important;
  font-size:8.5px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}

body.show-ref #refugo .loss-nested-reason-row{
  min-height:35px !important;
  padding:6px 9px !important;
  border-bottom:1px solid #edf1f3 !important;
  color:#17323d !important;
  font-size:10px !important;
  font-variant-numeric:tabular-nums !important;
}

body.show-ref #refugo .loss-nested-reason-row:last-child{border-bottom:0 !important}
body.show-ref #refugo .loss-nested-reason-row strong{overflow:hidden !important;font-size:10.5px !important;font-weight:850 !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body.show-ref #refugo .loss-nested-reason-row b{text-align:right !important;font-size:10px !important;font-weight:900 !important}
body.show-ref #refugo .loss-nested-reason-row em{text-align:right !important;color:#f26722 !important;font-size:10px !important;font-style:normal !important;font-weight:900 !important}
body.show-ref #refugo .loss-nested-reason-row i{text-align:right !important;color:#17323d !important;font-size:10px !important;font-style:normal !important;font-weight:900 !important}

body.show-ref #refugo .loss-reason-group{display:block !important;border-bottom:1px solid #edf1f3 !important}
body.show-ref #refugo .loss-reason-group:last-child{border-bottom:0 !important}
body.show-ref #refugo .loss-reason-track{height:7px !important;overflow:hidden !important;border-radius:999px !important;background:#e8eef1 !important}
body.show-ref #refugo .loss-reason-track i{display:block !important;height:100% !important;border-radius:inherit !important;background:linear-gradient(90deg,#ff9a55,#f26722) !important}

body.show-ref #refugo .loss-reason-detail-button{
  min-height:25px !important;
  padding:4px 7px !important;
  border:1px solid #dfaa83 !important;
  border-radius:6px !important;
  color:#ad510f !important;
  background:#fffaf6 !important;
  font-size:9px !important;
  font-weight:900 !important;
  cursor:pointer !important;
}
body.show-ref #refugo .loss-reason-detail-button:hover,
body.show-ref #refugo .loss-reason-detail-button[aria-expanded="true"]{color:#fff !important;background:#f26722 !important;border-color:#f26722 !important}

body.show-ref #refugo .loss-nested-families{
  margin:0 9px 8px 33px !important;
  overflow:hidden !important;
  border:1px solid #dce6ea !important;
  border-radius:6px !important;
  background:#fbfcfc !important;
}
body.show-ref #refugo .loss-nested-family-title{padding:6px 9px !important;color:#17323d !important;background:#edf3f5 !important;font-size:10px !important;font-weight:900 !important;text-transform:uppercase !important}
body.show-ref #refugo .loss-nested-family-header,
body.show-ref #refugo .loss-nested-family-row{display:grid !important;grid-template-columns:24px minmax(180px,1fr) 100px 90px 105px 66px !important;align-items:center !important;gap:8px !important}
body.show-ref #refugo .loss-nested-family-header{padding:5px 9px !important;border-bottom:1px solid #dce5e9 !important;color:#71858f !important;background:#f5f8f9 !important;font-size:8.5px !important;font-weight:900 !important;text-transform:uppercase !important}
body.show-ref #refugo .loss-family-group{display:block !important;border-bottom:1px solid #e8eef0 !important}
body.show-ref #refugo .loss-family-group:last-child{border-bottom:0 !important}
body.show-ref #refugo .loss-nested-family-row{min-height:36px !important;padding:6px 9px !important;color:#17323d !important;font-size:10px !important;font-variant-numeric:tabular-nums !important}
body.show-ref #refugo .loss-nested-family-row strong{overflow:hidden !important;font-size:10.5px !important;font-weight:900 !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body.show-ref #refugo .loss-nested-family-row b{text-align:right !important;font-size:10px !important;font-weight:900 !important}
body.show-ref #refugo .loss-nested-family-row em{text-align:right !important;color:#f26722 !important;font-size:10px !important;font-style:normal !important;font-weight:900 !important}
body.show-ref #refugo .loss-nested-family-row i{text-align:right !important;font-size:10px !important;font-style:normal !important;font-weight:900 !important}
body.show-ref #refugo .loss-family-detail-button{min-height:25px !important;padding:4px 7px !important;border:1px solid #9db5bf !important;border-radius:6px !important;color:#173d4b !important;background:#f7fafb !important;font-size:9px !important;font-weight:900 !important;cursor:pointer !important}
body.show-ref #refugo .loss-family-detail-button:hover,
body.show-ref #refugo .loss-family-detail-button[aria-expanded="true"]{color:#fff !important;background:#173d4b !important;border-color:#173d4b !important}

body.show-ref #refugo .loss-nested-products{
  margin:0 9px 8px 33px !important;
  overflow:hidden !important;
  border:1px solid #d5e0e4 !important;
  border-radius:6px !important;
  background:#fff !important;
}
body.show-ref #refugo .loss-nested-product-title{padding:6px 9px !important;color:#17323d !important;background:#f2f6f7 !important;font-size:10px !important;font-weight:900 !important;text-transform:uppercase !important}
body.show-ref #refugo .loss-nested-product-header,
body.show-ref #refugo .loss-nested-product-row{display:grid !important;grid-template-columns:24px minmax(300px,1fr) 100px 90px 105px !important;align-items:center !important;gap:8px !important}
body.show-ref #refugo .loss-nested-product-header{padding:5px 9px !important;border-bottom:1px solid #dce5e9 !important;color:#71858f !important;background:#f5f8f9 !important;font-size:8.5px !important;font-weight:900 !important;text-transform:uppercase !important}
body.show-ref #refugo .loss-nested-product-row{min-height:42px !important;padding:6px 9px !important;border-bottom:1px solid #e8eef0 !important;color:#17323d !important;font-size:10px !important;font-variant-numeric:tabular-nums !important}
body.show-ref #refugo .loss-nested-product-row:last-child{border-bottom:0 !important}
body.show-ref #refugo .loss-nested-product-row strong{display:flex !important;min-width:0 !important;flex-direction:column !important;gap:2px !important;overflow:hidden !important;font-size:10.5px !important;font-weight:900 !important}
body.show-ref #refugo .loss-nested-product-row strong span{overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body.show-ref #refugo .loss-nested-product-row strong small{overflow:hidden !important;color:#71858f !important;font-size:8.5px !important;font-weight:800 !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body.show-ref #refugo .loss-nested-product-row b{text-align:right !important;font-size:10px !important;font-weight:900 !important}
body.show-ref #refugo .loss-nested-product-row em{text-align:right !important;color:#f26722 !important;font-size:10px !important;font-style:normal !important;font-weight:900 !important}
body.show-ref #refugo .loss-nested-product-row i{text-align:right !important;font-size:10px !important;font-style:normal !important;font-weight:900 !important}

@media(max-width:700px){body.show-ref #refugo .loss-nested-reasons{margin-left:10px !important}}
