/* v12.8.919: compact fiscal editor; override legacy 100%-wide checkbox. */
.product-editor .product-fiscal-panel{
 grid-column:1/-1!important;min-width:0!important;
 padding:12px 14px!important;border:1px solid #e3e8f0!important;
 border-radius:12px!important;background:#fbfcfe!important;
}
.product-editor .product-fiscal-heading{
 display:flex;flex-direction:column;gap:2px;margin:0 0 9px;color:#26374b;
}
.product-editor .product-fiscal-heading strong{font-size:14px;font-weight:750;line-height:1.3}
.product-editor .product-fiscal-heading small{font-size:11px;color:#778397;line-height:1.3}
.product-editor .product-fiscal-panel .product-form-grid.inner{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:10px 14px!important;align-items:start!important;
 padding:0!important;margin:0!important;min-width:0!important;
}
.product-editor .product-fiscal-panel .product-form-grid.inner>label{
 min-width:0!important;margin:0!important;
}
.product-editor .product-fiscal-panel .product-form-grid.inner>label>small{
 display:block;font-size:10px;line-height:1.35;font-weight:400;color:#778397;
}
.product-editor .product-fiscal-switch-row{
 grid-column:1/-1!important;min-width:0!important;
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
 align-items:center!important;justify-content:space-between!important;
 gap:14px!important;margin:0!important;padding:8px 0!important;
 border:0!important;border-top:1px solid #e4eaf3!important;
 border-bottom:1px solid #e4eaf3!important;
}
.product-editor .product-fiscal-switch-row>span{
 display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
 align-items:flex-start!important;gap:3px!important;min-width:0!important;width:auto!important;
}
.product-editor .product-fiscal-switch-row b{
 font-size:12px!important;font-weight:750!important;line-height:1.3!important;
 white-space:nowrap!important;color:#28384f;
}
.product-editor .product-fiscal-switch-row small{
 font-size:10.5px!important;font-weight:400!important;line-height:1.35!important;
 color:#748399!important;
}
.product-editor .product-form-grid #pPriceIncludesIva{
 display:block!important;flex:0 0 20px!important;
 width:20px!important;min-width:20px!important;max-width:20px!important;
 height:20px!important;min-height:20px!important;max-height:20px!important;
 margin:0 1px 0 0!important;padding:0!important;accent-color:#2477ed;cursor:pointer;
}
@media(max-width:640px){
 .product-editor .product-fiscal-panel{padding:11px 12px!important}
 .product-editor .product-fiscal-panel .product-form-grid.inner{
  grid-template-columns:minmax(0,1fr)!important;gap:9px!important
 }
 .product-editor .product-fiscal-switch-row{gap:8px!important}
 .product-editor .product-fiscal-switch-row b{white-space:normal!important}
}
