.jwpc-compact {
  --jwpc-ink: #202922;
  --jwpc-muted: #4c5850;
  --jwpc-border: #c4cdc6;
  --jwpc-accent: #264c3a;
  position: fixed;
  z-index: 10000;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(360px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 16px 18px 12px;
  border: 1px solid var(--jwpc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--jwpc-ink);
  box-shadow: 0 8px 30px #17231c1a;
  font: 14px/1.5 Manrope, Arial, sans-serif;
  letter-spacing: 0;
}
.jwpc-compact *, .jwpc-tab * { box-sizing: border-box; letter-spacing: 0; }
.jwpc-compact [hidden], .jwpc-tab[hidden], .jwpc-compact[hidden] { display: none !important; }
.jwpc-compact .jwpc-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jwpc-compact .jwpc-title { display: flex; align-items: center; gap: 8px; }
.jwpc-compact .jwpc-title svg { width: 17px; height: 17px; color: var(--jwpc-accent); flex: none; }
.jwpc-compact h2 { margin: 0; color: var(--jwpc-ink); font: 700 15px/1.4 Manrope, Arial, sans-serif; }
.jwpc-compact p { margin: 9px 0 14px; color: var(--jwpc-muted); font: 400 13px/1.55 Manrope, Arial, sans-serif; }
.jwpc-compact button, .jwpc-compact a { font-family: Manrope, Arial, sans-serif; letter-spacing: 0; }
.jwpc-compact .jwpc-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; padding: 0; border: 0; border-radius: 4px; background: #fff; color: var(--jwpc-muted); cursor: pointer; }
.jwpc-compact .jwpc-icon svg { width: 18px; height: 18px; }
.jwpc-compact .jwpc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jwpc-compact .jwpc-choice { min-width: 0; min-height: 44px; padding: 9px 8px; border: 1px solid #83958a; border-radius: 4px; background: #fff; color: var(--jwpc-ink); font: 700 12px/1.5 Manrope, Arial, sans-serif; cursor: pointer; }
.jwpc-compact .jwpc-choice:hover { background: #edf3ef; }
.jwpc-compact .jwpc-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.jwpc-compact .jwpc-link { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--jwpc-accent); text-decoration: underline; text-underline-offset: 3px; font: 600 12px/1.4 Manrope, Arial, sans-serif; cursor: pointer; }
.jwpc-compact .jwpc-link svg { width: 13px; height: 13px; }
.jwpc-compact .jwpc-icon:hover { background: #edf3ef; }
.jwpc-compact :focus-visible, .jwpc-tab:focus-visible { outline: 3px solid #286544; outline-offset: 3px; }
.jwpc-compact .jwpc-details { margin: 2px 0 14px; padding-top: 2px; }
.jwpc-compact .jwpc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #e1e6e2; }
.jwpc-compact .jwpc-label { display: block; margin: 0; color: var(--jwpc-ink); font: 700 13px/1.4 Manrope, Arial, sans-serif; }
.jwpc-compact .jwpc-description { display: block; margin: 2px 0 0; color: var(--jwpc-muted); font: 400 12px/1.45 Manrope, Arial, sans-serif; }
.jwpc-compact .jwpc-always { flex: none; color: #42624f; font: 600 11px/1.4 Manrope, Arial, sans-serif; }
.jwpc-compact .jwpc-switch { position: relative; display: block; width: 44px; height: 44px; flex: none; cursor: pointer; }
.jwpc-compact .jwpc-switch input { appearance: none; position: absolute; top: 10px; left: 0; width: 40px; height: 24px; margin: 0; border: 1px solid #819488; border-radius: 12px; background: #e4eae6; cursor: pointer; }
.jwpc-compact .jwpc-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #5c6c61; }
.jwpc-compact .jwpc-switch input:checked { border-color: #264c3a; background: #264c3a; }
.jwpc-compact .jwpc-switch input:checked::after { left: 19px; background: #fff; }
.jwpc-compact .jwpc-save { display: none; }
.jwpc-compact[data-open-details='true'] .jwpc-actions { grid-template-columns: 1fr 1fr; }
.jwpc-compact[data-open-details='true'] .jwpc-accept { display: none; }
.jwpc-compact[data-open-details='true'] .jwpc-save { display: block; }
.jwpc-tab { position: fixed; z-index: 10000; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 13px; border: 1px solid #bdc8c0; border-radius: 4px; background: #fff; color: #304c3b; box-shadow: 0 3px 12px #17231c12; font: 600 12px/1.4 Manrope, Arial, sans-serif; cursor: pointer; }
.jwpc-tab svg { width: 15px; height: 15px; }
.jwpc-tab:hover { background: #edf3ef; }
@media (max-width: 600px) {
  .jwpc-compact, .jwpc-tab { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .jwpc-compact { width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 14px 16px 10px; }
  .jwpc-tab { min-height: 44px; }
}

.jwpc-compact .jwpc-error{color:#b42318}.jwpc-compact .jwpc-notice{color:#23436a}.jwpc-compact button:disabled{cursor:wait}.jwpc-compact input:disabled{cursor:not-allowed;opacity:.7}.jwpc-title>span,.jwpc-icon>span,.jwpc-tab>span{display:contents}

.jwpc-compact,.jwpc-tab{box-sizing:border-box}
