/* Plan importé → métré → prescriptions : isolated additions to the existing DPGF. */
.pm-page .hb-wrap{max-width:1330px}.pm-page .hb-hero{margin-bottom:26px}.pm-page p{line-height:1.8}.pm-page .hb-hero p{font-size:15px;max-width:800px}.pm-page .hb-kicker{font-size:11px}.pm-page .hb-card h2,.pm-page .hb-dpgf-heading h2{font-size:25px;line-height:1.35;margin:9px 0 15px;font-weight:500;letter-spacing:-.035em}.pm-page .hb-card p{font-size:13px;color:var(--hb-muted)}.pm-page .hb-btn{font-size:13px}.pm-import{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#eaf6fb;border:1px solid #cae5f0;border-radius:16px;padding:23px 27px}.pm-import h2{font-size:18px;margin:0 0 9px;font-weight:500}.pm-import p{font-size:13px;margin:0;max-width:670px;color:#4c6b7c}.pm-import .pm-import-file{font-size:11px;margin-top:8px}.pm-import .hb-actions{flex-shrink:0;flex-direction:column;align-items:stretch}.pm-status-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 0 23px}.pm-status-row p{font-size:12px;color:#587484;margin:0}.pm-status-row .hb-link{font-size:12px}.pm-error{padding:15px 20px;border:1px solid #e5b4ad;background:#fff1ee;color:#8a362a;font-size:13px;line-height:1.8;border-radius:10px;margin-bottom:20px}.pm-empty{max-width:900px;margin:35px auto 50px;padding:45px!important;text-align:center}.pm-empty-symbol{width:55px;height:55px;margin:0 auto 18px;border-radius:16px;background:#edf8fc;color:#078bbd;font-size:31px;line-height:55px}.pm-empty>p{max-width:670px;margin:0 auto}.pm-empty ol{counter-reset:pm-steps;display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:0;margin:34px 0;list-style:none;text-align:left}.pm-empty li{border-top:1px solid #dbe7ec;padding-top:18px;font-size:13px;counter-increment:pm-steps}.pm-empty li::before{content:'0' counter(pm-steps);display:block;color:#2796ba;font-size:12px;margin-bottom:10px}.pm-empty li strong{display:block;font-weight:500;font-size:15px;margin-bottom:7px}.pm-empty li span{color:#617b89;line-height:1.6}.pm-card{margin-top:21px;padding:26px!important}.pm-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0 27px}.pm-metrics>div{padding:16px 20px;background:#f4f9fb;border-radius:10px}.pm-metrics span{display:block;color:#577487;font-size:11px;margin-bottom:7px}.pm-metrics strong{display:block;color:#1e5b77;font-weight:500;font-size:25px;font-variant-numeric:tabular-nums;white-space:nowrap}.pm-metrics small{font-size:13px;font-weight:400}.pm-plan-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start}.pm-plan{margin:0}.pm-plan svg{width:100%;height:auto;max-height:440px;display:block;background:#f9fbfc;border:1px solid #e0ebf0;border-radius:12px}.pm-plan text{fill:#35566a;text-anchor:middle;font-family:Poppins,Arial,sans-serif}.pm-plan figcaption{color:#637e8d;font-size:11px;line-height:1.8;margin-top:12px}.pm-room-wrap{overflow:auto}.pm-room-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.pm-room-table caption{text-align:left;font-size:12px;color:#577588;margin-bottom:10px}.pm-room-table th,.pm-room-table td{padding:10px 12px;border-bottom:1px solid #e3ecf0}.pm-room-table thead th{background:#f0f8fc;color:#426f86;font-size:11px;white-space:nowrap;font-weight:500}.pm-room-table tbody th{text-align:left;font-weight:400}.pm-room-table td{text-align:right;white-space:nowrap}.pm-trace{margin-top:20px;font-size:12px;line-height:1.8}.pm-trace summary{cursor:pointer;color:#2e6d8b}.pm-trace ul{padding-left:20px;color:#607b89}.pm-source{overflow-wrap:anywhere;font-size:12px!important;line-height:1.9}.pm-parameter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:23px 0}.pm-page .hb-field span{font-size:12px}.pm-page .hb-field input{font-size:14px;padding:11px 13px;width:100%;border:1px solid #cbdce6;border-radius:8px;background:#fff;color:#25475e;min-height:44px}.pm-page .hb-field small{font-size:11px;margin-left:4px;color:#708895}.pm-form-note{font-size:11px!important;margin:12px 0 0}.pm-quantities>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer}.pm-quantities>summary strong{display:block;font-weight:500;font-size:21px;margin-top:8px}.pm-quantities>summary .hb-tag{font-size:12px}.pm-quantity-table{width:100%;border-collapse:collapse;font-size:13px;min-width:640px}.pm-quantity-table th,.pm-quantity-table td{padding:10px 15px;border-bottom:1px solid #dfebf1;vertical-align:middle}.pm-quantity-table thead th{background:#edf7fb;font-weight:500;text-align:left;font-size:12px;color:#3e7089}.pm-quantity-table tbody th{text-align:left;font-weight:400}.pm-quantity-table td:nth-child(2){text-align:center}.pm-quantity-table td:nth-child(3){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pm-quantity-table td:nth-child(4){font-size:12px;color:#638091}.pm-quantity-table .hb-dpgf-detail-row>td{padding:0}.pm-prescriptions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:21px}.pm-prescription{display:flex;align-items:flex-start;gap:12px;padding:17px;background:#fbfdfe;border:1px solid #dbe7ed;border-radius:11px;cursor:pointer;min-width:0}.pm-prescription:has(input:checked){background:#edf8fc;border-color:#54acce}.pm-prescription:focus-within{outline:2px solid #00aeef;outline-offset:3px}.pm-prescription input{width:18px;height:18px;flex-shrink:0;margin-top:3px;accent-color:#028cbd}.pm-prescription strong{display:block;font-size:13px;font-weight:500;line-height:1.65;color:#274f66}.pm-prescription small{display:block;font-size:11px;color:#5e7d8d;line-height:1.8;margin-top:5px}.pm-prescription-meta{display:block;font-size:11px;color:#247b9b;line-height:1.8;margin-top:9px;font-variant-numeric:tabular-nums}.pm-prescription-limit{display:block;font-size:11px;line-height:1.7;color:#886e44;margin-top:6px}.pm-dpgf{margin-top:32px}.pm-page .hb-lot{margin-bottom:12px}.pm-lot>summary small{margin-top:6px}.pm-lot .hb-lot-amount{min-width:170px}.pm-lot .hb-dpgf-numeric{font-size:13px}.pm-lot .hb-dpgf-detail-inner ul{color:#607b8b;font-size:13px;padding-left:19px;line-height:1.9}.pm-subtotal,.pm-no-price{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#eaf5fa;border:1px solid #c8e0eb;border-radius:12px;padding:22px 25px;margin-top:21px}.pm-subtotal>strong{font-size:22px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;color:#176e91}.pm-subtotal small{font-size:12px}.pm-subtotal>div>strong,.pm-no-price>strong{font-size:14px;font-weight:500}.pm-subtotal p,.pm-no-price p{font-size:12px;line-height:1.8;color:#5a7687;margin:7px 0 0;max-width:710px}.pm-no-price{display:block}.pm-checklist{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:17px 30px}.pm-checklist li{display:flex;gap:12px;padding-top:14px;border-top:1px solid #dce8ee;line-height:1.75}.pm-checklist>li>span{color:#2c8da6;font-size:19px}.pm-checklist strong{font-size:13px;font-weight:500}.pm-checklist p{font-size:12px!important;margin:5px 0 0}.pm-export{display:flex;align-items:center;justify-content:space-between;gap:30px}.pm-export .hb-actions{flex-shrink:0;flex-direction:column;align-items:stretch}.pm-export h2{font-size:21px!important}.pm-export p{max-width:640px}.pm-example-notice{margin:20px 0}.pm-page [id]{scroll-margin-top:140px}.pm-page .hb-dpgf-detail-inner{max-width:1100px}.pm-page .hb-section-nav{flex-wrap:wrap}.pm-page .hb-section-nav a{font-size:12px}
@media(max-width:1000px){.pm-import{align-items:flex-start;gap:20px}.pm-import .hb-actions{max-width:240px}.pm-plan-grid{gap:20px}.pm-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-metrics>div{padding:14px}.pm-metrics strong{font-size:22px}.pm-export{display:block}.pm-export .hb-actions{flex-direction:row;margin-top:15px}.pm-checklist{gap:15px 22px}}
@media(max-width:700px){.pm-import{display:block;padding:22px}.pm-import .hb-actions{max-width:none;flex-direction:row;margin-top:18px}.pm-status-row{display:block}.pm-status-row .hb-link{display:inline-block;margin-top:12px}.pm-metrics{grid-template-columns:repeat(2,1fr)}.pm-plan-grid{grid-template-columns:1fr}.pm-prescriptions{grid-template-columns:1fr}.pm-checklist{grid-template-columns:1fr}.pm-card{padding:22px!important}.pm-empty{padding:28px!important}.pm-subtotal{display:block}.pm-subtotal>strong{display:block;margin-top:18px}.pm-page .hb-card h2,.pm-page .hb-dpgf-heading h2{font-size:22px}.pm-quantities>summary strong{font-size:19px}.pm-lot .hb-lot-amount{min-width:130px}.pm-page .hb-hero p{font-size:13px}.pm-empty ol{gap:18px}.pm-empty li span{font-size:12px}}
@media(max-width:420px){.pm-parameter-grid{grid-template-columns:1fr}.pm-empty ol{grid-template-columns:1fr;gap:16px;margin:25px 0}.pm-empty li{padding-top:13px}.pm-empty li::before{float:left;width:38px;height:50px;padding-top:3px}.pm-import .hb-actions{flex-direction:column;align-items:stretch}.pm-card{padding:18px!important}.pm-metrics>div{padding:12px}.pm-metrics span{font-size:10px}.pm-metrics strong{font-size:21px}.pm-quantities>summary{gap:12px}.pm-lot .hb-lot-amount{min-width:105px}.pm-export .hb-actions{flex-direction:column;align-items:stretch}}
@media print{.pm-import,.pm-status-row,.pm-page button,.pm-page .hb-section-nav,.pm-prescriptions input,.pm-export{display:none}.pm-page{padding:0;background:white}.pm-card,.pm-lot{break-inside:avoid}.pm-plan-grid{grid-template-columns:1fr 1fr}.pm-dpgf .hb-dpgf-table{min-width:0;font-size:9px}.pm-subtotal{background:white}.pm-page .hb-dpgf-prestation{position:static}}
