:host { all: initial; color-scheme: light; font: 14px/1.5 system-ui, sans-serif; color: #272a36; }
:host * { box-sizing: border-box; }
:host [hidden] { display: none !important; }
:host button { font: inherit; cursor: pointer; border-radius: 9px; padding: 10px 15px; border: 1px solid #d8dbe5; background: #fff; color: #272a36; min-height: 42px; }
:host button:hover { border-color: #797387; }
:host button:focus-visible { outline: 3px solid #a496d8; outline-offset: 3px; }
:host .settings { position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 9998; min-height: 32px; padding: 5px 10px; font-size: 11px; box-shadow: 0 2px 12px #24223012; opacity: .9; }
:host .panel { position: fixed; right: 18px; bottom: max(64px, calc(env(safe-area-inset-bottom) + 64px)); z-index: 9999; width: min(440px, calc(100vw - 36px)); max-height: calc(100dvh - 120px); overflow: auto; background: #fcfbfe; border: 1px solid #e1dce9; box-shadow: 0 8px 36px #28233022; border-radius: 16px; padding: 20px; }
:host strong { display: block; font-size: 17px; font-weight: 650; }
:host p { margin: 8px 0 16px; }
:host .actions { display: flex; gap: 10px; flex-wrap: wrap; }
:host .accept { background: #51426e; border-color: #51426e; color: white; }
:host .accept:hover { background: #40325a; }
:host .decline { background: transparent; }
:host .note { margin: 12px 0 0; color: #696474; font-size: 11px; }
@media (max-width: 600px) {
  :host .settings { right: 12px; bottom: max(77px, calc(env(safe-area-inset-bottom) + 77px)); }
  :host .panel { right: 12px; width: calc(100vw - 24px); bottom: max(120px, calc(env(safe-area-inset-bottom) + 120px)); max-height: calc(100dvh - 165px); padding: 17px; font-size: 13px; }
}
