.p3-fax-attachment-editor{border:1px solid #d9e3f0;border-radius:12px;background:#f8fbff;padding:13px 14px;margin-top:15px}.p3-fax-attachment-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.p3-fax-attachment-heading>div{display:flex;flex-direction:column;gap:3px}.p3-fax-attachment-heading strong{font-size:13px;color:#17233b}.p3-fax-attachment-heading small{font-weight:600;color:#68758b}.p3-fax-attachment-heading span{font-size:11px;color:#68758b}.p3-fax-attachment-heading label,.p3-fax-preview-add{display:inline-flex;border:1px solid #9db8e3;border-radius:8px;background:#fff;padding:8px 11px;color:#265da9;font-size:11px;font-weight:800;cursor:pointer}.p3-fax-attachment-heading input,.p3-fax-preview-add input{display:none}.p3-fax-attachment-items{display:flex;min-height:27px;flex-wrap:wrap;gap:6px;margin-top:10px}.p3-fax-attachment-items>span{display:inline-flex;border-radius:999px;background:#e8f1ff;padding:5px 7px 5px 10px;align-items:center;gap:6px;font-size:10px;color:#244d89}.p3-fax-attachment-items>span.pending{background:#fff4d8;color:#845c00}.p3-fax-attachment-items button{border:0;background:transparent;color:#8b2432;font-size:14px;line-height:1;cursor:pointer}.p3-fax-attachment-items em{font-size:10px;color:#7d8798}
.p3-outbound-fax-modal{display:flex;width:min(1120px,97vw);max-height:96vh;overflow:hidden;flex-direction:column}.p3-outbound-fax-preview{display:grid;min-height:0;overflow:auto;grid-template-columns:minmax(0,1fr) 285px;gap:16px;padding:18px;background:#edf1f6}.p3-fax-cover-wrap{display:flex;justify-content:center}.p3-fax-cover-sheet{width:min(100%,720px);min-height:820px;background:#fff;padding:32px 38px;color:#000;box-shadow:0 4px 20px rgba(20,35,60,.14);font-family:Arial,sans-serif}.p3-fax-cover-sheet header{display:flex;border-bottom:3px solid #000;padding-bottom:12px;margin-bottom:18px;flex-direction:column;align-items:center;font-size:11px}.p3-fax-cover-sheet header h1{margin:0 0 5px;font-size:20px}.p3-fax-cover-sheet h2{margin:0 0 18px;text-align:center;font-size:25px;letter-spacing:.04em}.p3-fax-cover-sheet table{width:100%;margin-bottom:16px;border-collapse:collapse;font-size:11px}.p3-fax-cover-sheet th,.p3-fax-cover-sheet td{border:1px solid #000;padding:8px;text-align:left;vertical-align:top}.p3-fax-cover-sheet th{width:190px}.p3-fax-wrong-recipient,.p3-fax-return,.p3-fax-match{border:2px solid #000;padding:12px 14px;margin-top:16px;font-size:11px}.p3-fax-wrong-recipient strong,.p3-fax-return h3{display:block;margin:0 0 7px;font-size:13px}.p3-fax-wrong-recipient p,.p3-fax-return p{margin:4px 0}.p3-fax-return>strong{font-size:14px}.p3-fax-return ol{margin:6px 0;padding-left:23px}.p3-fax-match{display:flex;border-style:dashed;flex-direction:column;gap:5px}.p3-fax-match b{font-size:14px}.p3-fax-cover-sheet footer{border-top:1px solid #000;margin-top:18px;padding-top:8px;font-size:9px}.p3-outbound-fax-preview>aside{display:flex;height:max-content;border-radius:12px;background:#fff;padding:16px;flex-direction:column;gap:7px;box-shadow:0 2px 8px rgba(20,35,60,.08)}.p3-outbound-fax-preview>aside>strong{font-size:17px;color:#155b9d}.p3-outbound-fax-preview>aside>span{font-weight:800;color:#17233b}.p3-outbound-fax-preview>aside>small{color:#667085}.p3-fax-package-order{border-top:1px solid #e3e7ee;border-bottom:1px solid #e3e7ee;padding:11px 0;margin:5px 0}.p3-fax-package-order ol{margin:7px 0 0;padding-left:20px;color:#3d495c;font-size:11px}.p3-fax-package-order li{margin:5px 0}.p3-fax-package-order li button{border:0;background:transparent;color:#a22832;text-decoration:underline;cursor:pointer}.p3-fax-preview-add{justify-content:center}.p3-fax-preview-note,.p3-fax-test-note{margin:3px 0;font-size:11px;line-height:1.45;color:#536177}.p3-fax-test-note{border-radius:8px;background:#fff4d8;padding:8px;color:#7b5700;font-weight:750}
@media(max-width:850px){.p3-outbound-fax-preview{grid-template-columns:1fr}.p3-outbound-fax-preview>aside{order:-1}.p3-fax-cover-sheet{padding:22px}.p3-fax-attachment-heading{align-items:flex-start;flex-direction:column}}
.p3-patient-authorization{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #d8e5dc;border-radius:12px;background:#f3fbf6;padding:13px}.p3-patient-authorization>div{display:flex;min-width:0;flex-direction:column;gap:4px}.p3-patient-authorization strong{color:#174e32}.p3-patient-authorization span{overflow:hidden;color:#52685b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.p3-patient-authorization label{display:inline-flex;flex:none;border:1px solid #86b69b;border-radius:8px;background:#fff;padding:8px 11px;color:#17633c;font-size:11px;font-weight:800;cursor:pointer}.p3-patient-authorization input{display:none}
/* #381 G (2026-09-03): this rule used to read `body>*{display:none!important}` — it hid EVERY direct child of <body>
   on paper, including the Mission Control card (#p3MissionControl is a body child), which is why "Print Prep Sheet"
   produced blank pages. The HTML-facsimile fax print path it served was RETIRED under O-37 (2026-08-09) and nothing
   sets the class below, so the rule is now scoped to that (dead) path and can never blank another surface. */
@media print{body.p3-print-fax-cover>*{display:none!important}body.p3-print-fax-cover .p3-fax-cover-sheet{display:block!important;box-shadow:none}}
