/* Cantiere Control 3.1 - POS module */
.cc-pos-app,.cc-pos-report-wrap{--pos-blue:#155e9c;--pos-border:#dce5ef;--pos-ink:#1c2e40;color:var(--pos-ink);max-width:1220px;margin:0 auto}
.cc-pos-app *, .cc-pos-report-wrap *{box-sizing:border-box}
.cc-pos-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 22px}
.cc-pos-header h1{font-size:clamp(22px,2.2vw,30px);line-height:1.2;margin:4px 0 7px;font-weight:750;color:#182c42}
.cc-pos-header p{font-size:14px;max-width:800px;color:#586f84;margin:0}
.cc-pos-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#216cad}
.cc-pos-notice{padding:15px 18px;margin:0 0 20px;border:1px solid #e5c87f;border-left:4px solid #c99327;background:#fffaee;border-radius:9px;color:#504327;font-size:13px;line-height:1.65}
.cc-pos-list,.cc-pos-section,.cc-pos-state{margin:0 0 20px;background:#fff;border:1px solid var(--pos-border);box-shadow:0 5px 18px rgba(30,59,95,.035);border-radius:13px;padding:23px}
.cc-pos-list{margin-bottom:26px}
.cc-pos-section h2,.cc-pos-list h2{font-size:19px!important;color:#193951!important;font-weight:750!important;margin:0 0 17px!important}
.cc-pos-section p{font-size:13px;line-height:1.6;color:#597081}
.cc-pos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}
.cc-pos-field{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%;margin:0!important;font-size:13px!important;font-weight:600!important;color:#314a5d!important}
.cc-pos-field>span{font-size:12px;font-weight:700;color:#2f4557}
.cc-pos-field input,.cc-pos-field textarea,.cc-pos-field select{border:1px solid #cdd9e5!important;border-radius:7px!important;min-height:40px;background:#fff!important;color:#1c3041!important;padding:9px 10px!important;max-width:100%;width:100%;font-size:13px!important;font-family:inherit;box-shadow:none!important}
.cc-pos-field textarea{min-height:95px;line-height:1.5;resize:vertical}
.cc-pos-field:has(textarea){grid-column:span 2}
.cc-pos-field input:focus,.cc-pos-field textarea:focus,.cc-pos-field select:focus{border-color:#2576be!important;outline:2px solid rgba(32,122,186,.13)!important}
.cc-pos-section-title,.cc-pos-state,.cc-pos-phase-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.cc-pos-section-title h2{margin:0!important}
.cc-pos-state{padding:15px 21px}
.cc-pos-state>div:first-child{display:flex;flex-direction:column;gap:6px}
.cc-pos-state strong{font-size:18px}.cc-pos-state span{font-size:12px;color:#697d8b}
.cc-pos-check-summary{padding:12px 16px;background:#eaf3fb;border-radius:8px;color:#214d72;margin-bottom:20px;font-size:13px}
.cc-pos-anchor{margin:0 0 20px;padding:11px 15px;background:#ecf3f9;border-radius:8px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#47647c;font-size:12px;font-weight:700}
.cc-pos-anchor a{display:inline-flex;align-items:center;justify-content:center;min-width:28px;padding:4px 8px;border-radius:6px;text-decoration:none;background:#fff;border:1px solid #d9e5ee;color:#185a98}
.cc-pos-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 20px}
.cc-pos-check{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #dce6ef;border-radius:8px;background:#f9fbfd;cursor:pointer}
.cc-pos-check input{margin-top:2px}.cc-pos-check span{display:flex;flex-direction:column;gap:3px}.cc-pos-check strong{font-size:12px;color:#2e4961}.cc-pos-check small{font-size:11px;color:#687f90}
.cc-pos-phase{border:1px solid #d5e1ed;border-radius:10px;padding:20px;margin:17px 0;background:#fafdff}
.cc-pos-phase-top{margin-bottom:13px}.cc-pos-phase-top strong{font-size:14px;color:#245c91}
.cc-pos-missing{columns:2;list-style:disc!important;padding-left:23px!important}.cc-pos-missing li{font-size:13px;line-height:1.65;break-inside:avoid}
.cc-pos-submit{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.cc-pos-confirm{max-width:750px;font-size:13px;line-height:1.6;color:#445c70}
.cc-pos-danger{color:#aa2e2e!important;border-color:#e4b6b6!important;margin-top:18px!important}
.cc-pos-revisions{margin-top:28px}
.cc-pos-app .widefat,.cc-pos-app .widefat td,.cc-pos-app .widefat th{font-size:12px}
/* Editable preview/report */
.cc-pos-report-wrap{max-width:1050px}
.cc-pos-report-tools{padding:14px 0 22px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#607487}
.cc-pos-report{font-family:Arial,Helvetica,sans-serif;background:#fff;color:#202b37;border:1px solid #d9e2ec;box-shadow:0 4px 28px rgba(0,0,0,.08);max-width:900px;margin:auto;padding:44px 53px;font-size:12px;line-height:1.6}
.cc-pos-report-cover{padding:45px 25px 50px;border-top:9px solid #155e9c;border-bottom:2px solid #c3d4e4;margin-bottom:35px;min-height:600px}
.cc-pos-report-kicker{font-size:13px;letter-spacing:2px;font-weight:800;color:#155e9c}
.cc-pos-report-legal{font-size:11px;margin-top:8px;color:#667788}
.cc-pos-report-cover h1{font-size:40px!important;line-height:1.15!important;color:#1e405f!important;margin:60px 0 12px!important;letter-spacing:.5px}
.cc-pos-report-cover h2{font-size:20px!important;line-height:1.4!important;color:#273f53!important;margin:50px 0 30px!important}
.cc-pos-report-sub{font-size:16px;color:#506979}.cc-pos-report-frontdata{display:grid;grid-template-columns:1fr 1fr;gap:13px 30px;margin-bottom:35px}
.cc-pos-report-frontdata>div{display:flex;flex-direction:column;padding-bottom:10px;border-bottom:1px solid #dce6ef}.cc-pos-report-frontdata small{font-size:10px;color:#657a8b;text-transform:uppercase}.cc-pos-report-frontdata strong{font-size:13px}
.cc-pos-report-alert{background:#fff9e9;padding:14px;border-left:4px solid #cb9a2e;margin:15px 0 35px;font-size:11px;line-height:1.55}
.cc-pos-report h2{margin:35px 0 13px!important;color:#174d7e!important;font-size:18px!important;line-height:1.3!important}
.cc-pos-report h3{font-size:14px!important;color:#233f59!important}
.cc-pos-report li{margin-bottom:4px}.cc-pos-report-section{margin-top:24px;break-before:auto}
.cc-pos-report-list{display:block;margin:8px 0}.cc-pos-report-item{display:grid;grid-template-columns:35% 65%;gap:9px;align-items:start;border-bottom:1px solid #e0e9ef;padding:11px 0;break-inside:avoid}
.cc-pos-report-item dt{font-weight:700;color:#3d566c;padding-right:6px}.cc-pos-report-item dd{margin:0;overflow-wrap:anywhere;white-space:normal}
.cc-pos-report-item dd em{font-size:11px;color:#9b514a}
.cc-pos-report-table{border-collapse:collapse;width:100%;margin:15px 0;break-inside:auto}.cc-pos-report-table th,.cc-pos-report-table td{padding:9px;border:1px solid #d6e1eb;text-align:left;overflow-wrap:anywhere}.cc-pos-report-table th{background:#eef4f9}
.cc-pos-report-phase{border-top:2px solid #d5e5f1;padding-top:7px;margin-top:20px;break-inside:avoid}
.cc-pos-report-signs{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:28px 0;margin:20px 0 50px;font-size:12px}
.cc-pos-report-footer{border-top:1px solid #cdd9e6;padding-top:11px;margin-top:40px;font-size:10px;color:#607587}
@media(max-width:900px){.cc-pos-choice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.cc-pos-header,.cc-pos-state,.cc-pos-section-title{align-items:flex-start;flex-direction:column}.cc-pos-grid,.cc-pos-choice-grid{grid-template-columns:1fr}.cc-pos-field:has(textarea){grid-column:span 1}.cc-pos-section,.cc-pos-list{padding:16px}.cc-pos-missing{columns:1}.cc-pos-report{padding:18px}.cc-pos-report-cover h1{font-size:30px!important}.cc-pos-report-signs{grid-template-columns:1fr}.cc-pos-report-item{grid-template-columns:1fr}.cc-pos-report-cover{padding:25px 12px}}
@media print{
 @page{size:A4;margin:16mm 14mm}
 html,body,.cc-standalone-page{background:#fff!important;color:#000!important;margin:0!important;padding:0!important;overflow:visible!important;width:auto!important}
 #wpadminbar,#adminmenumain,#adminmenuwrap,#wpfooter,#wpcontent>#wpbody-content>.notice,#wpbody-content>.wrap>h1,#wpbody-content>.wrap>.cc-sub,.cc-sidebar,.cc-global-top,.cc-topline,.cc-pos-report-tools,.cc-mobile-overlay,.cc-toggle-menu,.cc-bell-count{display:none!important}
 #wpcontent,#wpbody,#wpbody-content,.wrap,.cc-app,.cc-main,.cc-wrap,.cc-pos-report-wrap{margin:0!important;padding:0!important;min-height:0!important;max-width:none!important;width:100%!important;background:#fff!important;box-shadow:none!important;overflow:visible!important;display:block!important}
 .cc-pos-report{border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;font-size:10.5pt;color:#111!important}
 .cc-pos-report-cover{min-height:240mm;margin-bottom:0;break-after:page;padding:20mm 8mm 10mm;border-top:8px solid #155e9c}
 .cc-pos-report-cover h1{font-size:29pt!important}.cc-pos-report-cover h2{font-size:17pt!important}
 .cc-pos-report-section{break-before:page}.cc-pos-report-section h2{break-after:avoid}.cc-pos-report-item,.cc-pos-report-table tr,.cc-pos-report-signs>div{break-inside:avoid}
 .cc-pos-report-alert{break-inside:avoid}
 a{color:inherit!important;text-decoration:none!important}
}
.cc-pos-phase-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cc-pos-phase-actions select{font-size:12px;padding:8px 10px;max-width:220px;border:1px solid #d2dce8;border-radius:7px;background:#fff}
