
.sg-us-pro-export{display:grid;gap:16px}
.sg-us-pro-export .sgacf-panel{display:grid;gap:16px}
.sg-us-pro-export .sgacf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}
.sg-us-pro-export .sgacf-field{display:grid;gap:6px;min-width:0}
.sg-us-pro-export .sgacf-field>span{font-weight:700}
.sg-us-pro-export input,.sg-us-pro-export select,.sg-us-pro-export textarea{box-sizing:border-box;max-width:100%;min-height:40px;border:1px solid #c6d4dc;border-radius:8px;padding:8px 10px;background:#fff}
.sg-us-pro-export .sgacu-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
.sg-us-pro-export .sgacf-alert{padding:12px 14px;border-radius:10px;border:1px solid #cadce5;background:#f5fafc}
.sg-us-pro-export .sgacf-alert.warning{background:#fff9ea;border-color:#ead8a6}
.sg-us-pro-export .sgacf-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.sg-us-pro-export .sgacf-card{padding:13px;border:1px solid #d6e2e7;border-radius:10px;background:#fff}
.sg-us-pro-export .sgacf-card span{display:block;font-size:.82rem;opacity:.72}.sg-us-pro-export .sgacf-card strong{display:block;margin-top:4px;font-size:1.15rem}
.sg-us-pro-export .sgacf-table-wrap{overflow:auto}.sg-us-pro-export .sgacf-table{width:100%;border-collapse:collapse;min-width:720px}.sg-us-pro-export .sgacf-table th,.sg-us-pro-export .sgacf-table td{padding:9px;border-bottom:1px solid #e3e9ed;text-align:left}
.sgacpro-f24-editor{display:grid;gap:16px}
.sgacpro-f24-card{border:1px solid #c9dfe7;border-radius:14px;background:#f7fcfe;overflow:hidden;box-shadow:0 1px 2px rgba(22,65,84,.04);padding:14px}
.sgacpro-f24-card h4{margin:0 0 12px;color:#124c69}
.sgacpro-f24-lines{display:grid;gap:14px;margin:14px 0 18px}
.sgacpro-f24-row{position:relative;border:1px solid #bfd8e2;border-radius:10px;padding:0;background:#fff;overflow:hidden;box-shadow:none}
.sgacpro-f24-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;background:#edf7fa;border-bottom:1px solid #d2e5eb}
.sgacpro-f24-row-head>div{display:flex;align-items:center;gap:8px}.sgacpro-f24-row-head strong{font-size:.84rem;color:#526a75}
.sgacpro-f24-section-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:5px;background:#17698a;color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.025em}
.sgacpro-f24-row[data-section="IMU"] .sgacpro-f24-section-badge{background:#197b83}.sgacpro-f24-row[data-section="INPS"] .sgacpro-f24-section-badge{background:#406a9b}.sgacpro-f24-row[data-section="REGIONI"] .sgacpro-f24-section-badge{background:#3a7791}.sgacpro-f24-row[data-section="INAIL"] .sgacpro-f24-section-badge,.sgacpro-f24-row[data-section="ALTRI_PREV"] .sgacpro-f24-section-badge{background:#527088}.sgacpro-f24-row[data-section="ELIDE"] .sgacpro-f24-section-badge{background:#315e77}
.sgacpro-f24-main{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.4fr) minmax(155px,.8fr) minmax(155px,.8fr);gap:10px;padding:12px;align-items:end;background:#fff}
.sgacpro-f24-main small{display:block;margin-top:5px;line-height:1.25;color:#697f89}
.sgacpro-f24-detail{display:grid;grid-template-columns:repeat(4,minmax(135px,1fr));gap:10px;margin:0;padding:12px;background:#f5fbfd;border-top:1px solid #d9e9ee}
.sgacpro-f24-detail label{display:flex;flex-direction:column;gap:5px;font-size:.86rem;color:#385663}.sgacpro-f24-detail label>span{font-weight:700}.sgacpro-f24-detail label small{font-size:.72rem;color:#718691;font-weight:500}.sgacpro-f24-detail input{width:100%}
.sgacpro-f24-detail .sgacpro-check{display:flex;flex-direction:row;align-items:center;gap:7px;padding:9px 10px;border:1px solid #cce1e8;border-radius:8px;background:#fff;min-height:40px;align-self:end}.sgacpro-f24-detail .sgacpro-check input{width:auto;min-height:0}
.sgacpro-f24-detail-imu{grid-template-columns:minmax(150px,1.2fr) repeat(4,minmax(92px,.55fr)) minmax(105px,.7fr) minmax(135px,.8fr) minmax(110px,.65fr)}
.sgacpro-money-input{display:grid;grid-template-columns:30px 1fr;align-items:center;border:1px solid #b9d2dc;border-radius:7px;background:#fff;overflow:hidden;min-height:40px}.sgacpro-money-input b{display:grid;place-items:center;height:100%;background:#edf7fa;color:#17698a;border-right:1px solid #d4e6ec}.sgacpro-money-input input{border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}.sgacpro-f24-code input{text-transform:uppercase;font-weight:700;letter-spacing:.025em}.sgacpro-f24-remove{margin:0!important;align-self:auto!important;color:#7a3131}
@media(max-width:1100px){.sgacpro-f24-main{grid-template-columns:1fr 1fr}.sgacpro-f24-detail,.sgacpro-f24-detail-imu{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.sg-us-pro-export .sgacf-form-grid,.sg-us-pro-export .sgacf-cards,.sgacpro-f24-main,.sgacpro-f24-detail,.sgacpro-f24-detail-imu{grid-template-columns:1fr}.sgacpro-f24-row-head strong{display:none}}

/* v1.7.0 - prospetti professionali senza popup */
#sgus-pro-print-host{display:none}
@media print{
 body.sgus-pro-printing>*:not(#sgus-pro-print-host){display:none!important}
 body.sgus-pro-printing #sgus-pro-print-host{display:block!important;position:static!important;color:#262326!important;background:#fff!important;font:10.5pt/1.45 Arial,sans-serif!important}
 body.sgus-pro-printing #sgus-pro-print-host .sgus-pro-print-brand{font-size:9pt;letter-spacing:.12em;text-transform:uppercase;color:#7B1734;font-weight:700;margin-bottom:4mm}
 body.sgus-pro-printing #sgus-pro-print-host>h1{font:500 21pt/1.15 Georgia,serif;color:#561023;margin:0 0 6mm}
 body.sgus-pro-printing #sgus-pro-print-host h2{font:500 17pt/1.2 Georgia,serif;color:#561023}
 body.sgus-pro-printing #sgus-pro-print-host table{width:100%;border-collapse:collapse;margin:5mm 0}
 body.sgus-pro-printing #sgus-pro-print-host th,body.sgus-pro-printing #sgus-pro-print-host td{border-bottom:1px solid #ddd;padding:2.3mm;text-align:left;vertical-align:top}
 body.sgus-pro-printing #sgus-pro-print-host th{width:38%;background:#f8f5f1}
 body.sgus-pro-printing #sgus-pro-print-host .sgus-pro-print-note{margin-top:6mm;padding:3mm;background:#f8f5f1;border-left:1mm solid #c8a66a;font-size:8.5pt}
}
