.pm-anchored-notice{width:min(300px,100%);color:hsl(var(--foreground));text-align:left;flex-direction:column;gap:9px;margin:12px 0 0 auto;display:flex}.pm-anchored-notice-subject{align-self:flex-end;justify-items:center;width:50%;min-width:0;display:grid}.pm-anchored-notice-subject>span{text-overflow:ellipsis;white-space:nowrap;background:hsl(var(--destructive-subtle));min-width:0;max-width:100%;color:hsl(var(--destructive));font-size:var(--font-size-caption);font-weight:var(--font-weight-medium);border-radius:6px;padding:3px 9px;overflow:hidden}.pm-anchored-notice-bubble{border:1px solid hsl(var(--border-highlight));background:hsl(var(--card));box-shadow:var(--shadow-editor);border-radius:10px;padding:12px;position:relative}.pm-anchored-notice-bubble[data-dismissible=true]{padding-inline-end:44px}.pm-anchored-notice-bubble:before,.pm-anchored-notice-bubble:after{content:"";clip-path:polygon(0 100%,50% 0,100% 100%);background:hsl(var(--border-highlight));pointer-events:none;width:10px;height:5px;position:absolute;inset-block-end:100%;inset-inline-start:calc(var(--notice-anchor,75%) - 5px)}.pm-anchored-notice-bubble:after{background:hsl(var(--card));margin-block-end:-1px}.pm-anchored-notice[data-pointer=hidden] .pm-anchored-notice-bubble:before,.pm-anchored-notice[data-pointer=hidden] .pm-anchored-notice-bubble:after{content:none}.pm-anchored-notice-message{align-items:flex-start;gap:9px;display:flex}.pm-anchored-notice-message p{font-size:var(--font-size-small);line-height:var(--leading-body);overflow-wrap:anywhere;margin:0}.pm-anchored-notice-icon{background:hsl(var(--destructive-subtle));height:22px;color:hsl(var(--destructive));font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);border-radius:50%;flex:0 0 22px;place-items:center;display:grid}.pm-anchored-notice[data-tone=info] :is(.pm-anchored-notice-subject>span,.pm-anchored-notice-icon){background:hsl(var(--info-subtle));color:hsl(var(--info))}.pm-anchored-notice-actions{font-size:var(--type-button);line-height:var(--leading-ui);flex-wrap:wrap;column-gap:12px;margin:4px 0 -8px 31px;display:flex}.pm-anchored-notice-actions :is(a,button){min-height:44px;color:hsl(var(--primary));text-underline-offset:3px;text-align:start;align-items:center;text-decoration:underline;display:inline-flex}.pm-anchored-notice-bubble>button{min-width:44px;min-height:44px;color:hsl(var(--muted-foreground));border-radius:8px;place-items:center;display:grid;position:absolute;inset:0 0 auto auto}.pm-anchored-notice-bubble>button:hover{color:hsl(var(--foreground))}.pm-anchored-notice-below{margin:0}@media not (max-width:900px){.pm-anchored-notice:not(.pm-anchored-notice-below){flex-direction:column-reverse}.pm-anchored-notice:not(.pm-anchored-notice-below) .pm-anchored-notice-bubble:before,.pm-anchored-notice:not(.pm-anchored-notice-below) .pm-anchored-notice-bubble:after{clip-path:polygon(0 0,50% 100%,100% 0);inset-block:100% auto}.pm-anchored-notice:not(.pm-anchored-notice-below) .pm-anchored-notice-bubble:after{margin-block:-1px 0}}
