.ph-launch{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:850;background:#10283f;color:white;border:2px solid #d7a928;border-radius:24px;padding:12px 18px;font:700 15px system-ui;box-shadow:0 4px 18px #10283f30;cursor:pointer}.ph-dialog{width:min(600px,calc(100vw - 24px));max-height:86dvh;border:1px solid #cdd8df;border-radius:16px;padding:0;color:#203342;background:white;box-shadow:0 12px 60px #10283f50}.ph-dialog::backdrop{background:#10283f66}.ph-head{position:sticky;top:0;background:#10283f;color:white;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.ph-head h2{font:700 20px system-ui;margin:0}.ph-head button{background:transparent;color:white;border:1px solid #a1bacb;border-radius:8px;padding:8px;cursor:pointer}.ph-body{padding:18px;font:15px/1.5 system-ui}.ph-body label{font-weight:700;display:block}.ph-body textarea{box-sizing:border-box;width:100%;min-height:88px;border:1px solid #a6b7c3;border-radius:8px;padding:10px;font:inherit;resize:vertical}.ph-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.ph-actions button,.ph-source{padding:10px;border:1px solid #c5d3dc;border-radius:8px;background:#edf3f6;color:#10283f;font:600 14px system-ui;cursor:pointer}.ph-actions button:first-child{background:#10283f;color:white}.ph-actions button:disabled{opacity:.6;cursor:wait}.ph-answer{white-space:pre-wrap;background:#f2f6f8;border-left:4px solid #d7a928;padding:14px;margin:14px 0}.ph-status{font-size:14px;color:#506270}.ph-results article{border-top:1px solid #d8e1e7;padding:12px 0}.ph-results h3{font-size:16px;margin:0 0 6px}.ph-results ol{padding-left:22px}.ph-results .ph-source{display:inline-block;margin:6px 6px 0 0;text-decoration:none}.ph-admin{border:1px solid #d7a928;padding:10px;border-radius:8px;margin-top:14px}.ph-admin a{color:#164f73}.ph-note{font-size:13px;color:#526471}@media print{.ph-launch,.ph-dialog{display:none!important}}
/* Keep validation notices above the assistant launcher, including narrow screens. */
body .toast{box-sizing:border-box;bottom:calc(88px + env(safe-area-inset-bottom));right:16px;max-width:min(640px,calc(100vw - 32px));white-space:normal;overflow-wrap:anywhere;max-height:calc(100dvh - 120px);overflow-y:auto;z-index:900}
@media print{body .toast{display:none!important}}
