.pf-notices { position: fixed; top: 76px; right: 16px; z-index: 2200; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.pf-notice { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px 14px; background: #fff; color: #1b3045; border: 1px solid #d8e1e8; border-left: 4px solid #315f86; border-radius: 10px; box-shadow: 0 10px 30px #13283d20; font-size: .9rem; line-height: 1.45; white-space: pre-line; pointer-events: auto; }
.pf-notice-error { border-left-color: #a24b4b; }
.pf-notice-success { border-left-color: #42765e; }
.pf-notice button { border: 0; background: transparent; color: #526579; cursor: pointer; font-size: 1.35rem; line-height: 1; padding: 0 2px; }
.pf-dialog { width: min(420px, calc(100vw - 32px)); max-width: none; padding: 24px; margin: auto; background: #fff; color: #1b3045; border: 1px solid #d8e1e8; border-radius: 14px; box-shadow: 0 20px 60px #0d223b45; }
.pf-dialog::backdrop { background: #0d223b88; }
.pf-dialog h2 { font-size: 1.18rem; margin: 0 0 12px; }
.pf-dialog p { margin: 0 0 18px; line-height: 1.5; white-space: pre-line; }
.pf-dialog input { display: block; width: 100%; min-height: 42px; margin: 0 0 18px; padding: 8px 10px; border: 1px solid #bfcbd5; border-radius: 8px; color: #1b3045; background: #fff; }
.pf-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }
.pf-dialog-actions button { min-height: 40px; padding: 8px 14px; border: 1px solid #c8d5df; border-radius: 8px; color: #25445f; background: #eef3f7; cursor: pointer; font-weight: 700; }
.pf-dialog-actions .pf-dialog-primary { color: #fff; background: #315f86; border-color: #315f86; }
@media (max-width: 520px) { .pf-notices { top: 12px; right: 12px; width: calc(100vw - 24px); } }
