.partner-message-alert{position:relative;margin:0 0 12px;color:var(--partner-navy,#18334e);font-size:13px}
.partner-message-alert *{box-sizing:border-box}
.pma-bar{display:flex;justify-content:flex-end}
.pma-trigger{display:inline-flex;gap:9px;align-items:center;min-height:40px;padding:9px 12px;border:1px solid #dfc79e;border-radius:8px;background:#fff9ed;color:#68491c;font:700 13px var(--fa-font,sans-serif);cursor:pointer}
.pma-trigger:hover{background:#fff1db}.pma-trigger svg{width:17px;height:17px}
.pma-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:50px;background:#af4b32;color:white;font-size:11px}.pma-count.is-zero{background:#6f8984}
.pma-popover{position:absolute;top:49px;right:0;z-index:65;width:min(360px,calc(100vw - 40px));overflow:hidden;border:1px solid #d7e0e3;border-radius:10px;background:#fff;box-shadow:0 12px 28px #14314429;animation:pma-in .16s ease-out}
.pma-popover header{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #e1e7eb}.pma-popover h2{font-size:15px;font-weight:700;margin:0 0 5px}.pma-popover p{margin:0;font-size:12px;color:#617687}
.pma-popover header button,.pma-notice button{min-width:30px;min-height:30px;border:1px solid #dce3e8;border-radius:5px;background:#fff;color:#34536a;cursor:pointer}
.pma-list{max-height:min(380px,55vh);overflow:auto;overscroll-behavior:contain}
.pma-row{display:grid;grid-template-columns:1fr auto;gap:5px 12px;width:100%;min-height:76px;padding:14px 16px;border:0;border-bottom:1px solid #eef1f3;background:white;color:#18334e;text-align:left;cursor:pointer;font:inherit}
.pma-row:hover{background:#f4f8fa}.pma-row strong{font-size:13px}.pma-row span{grid-column:1;font-size:11px;color:#617687}.pma-row small{grid-column:2;grid-row:1 / span 2;align-self:center;color:#44675d;font-size:11px}.pma-row.is-overdue small{color:#973e2a}
.pma-popover footer{padding:12px 16px;font-size:11px;color:#617687;background:#fafcfc;border-top:1px solid #e1e7eb}
.pma-empty,.pma-error{padding:16px!important}.pma-error,.pma-update-error{color:#973e2a;font-size:12px}.pma-update-error{display:block;margin:6px 0 0 auto;background:transparent;border:0;text-decoration:underline;cursor:pointer}
.pma-live:empty{display:none}.pma-notice{display:flex;align-items:center;gap:10px;margin-top:12px;padding:8px 12px;border:1px solid #d4e4dc;border-left:3px solid #648778;border-radius:5px;background:#f5fbf7;font-size:12px;color:#42685b}.pma-notice span{margin-right:auto}
.partner-message-alert :focus-visible{outline:3px solid #ed8a1c;outline-offset:3px}
@keyframes pma-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.pma-popover{width:min(360px,calc(100vw - 32px))}.pma-notice{flex-wrap:wrap}.pma-notice span{flex:1 1 180px}.pma-row{grid-template-columns:minmax(0,1fr)}.pma-row small{grid-column:1;grid-row:auto}.pma-row strong,.pma-row span{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.pma-popover{animation:none}}
