
.pe-bubble {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  background: #17102e;
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  max-width: 340px;
  box-shadow: 0 8px 24px rgba(23, 16, 46, .28);
  font-size: 13px;
  line-height: 1.45;
}
.pe-hidden { display: none !important; }
.pe-range { display: block; font-weight: 600; }
.pe-sub { display: block; opacity: .75; font-size: 12px; margin-top: 4px; }
.pe-warn { display: block; color: #ffd27a; font-size: 12px; margin-top: 4px; }
.pe-bubble.pe-over { background: #0a8757; }
.pe-bubble.pe-tight { border: 1px solid #ffd27a; }
.pe-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.pe-count { opacity: .6; font-size: 11px; }
.pe-link {
  background: none; border: none; padding: 0; cursor: pointer;
  color: #12c48b; font: inherit; font-size: 12px; text-decoration: underline;
}
.pe-gate-title { font-weight: 700; font-size: 14px; }
.pe-gate-sub { opacity: .75; font-size: 12px; margin: 2px 0 10px; }
.pe-input {
  width: 100%; box-sizing: border-box; margin-bottom: 8px;
  font: inherit; font-size: 13px; color: #17102e;
  padding: 8px 10px; border: 1px solid #e6e2ef; border-radius: 10px; background: #fff;
}
.pe-btn {
  width: 100%; border: none; cursor: pointer; font: inherit; font-weight: 600;
  background: #12c48b; color: #fff; border-radius: 999px; padding: 9px 0; margin-top: 2px;
}
.pe-switch { display: block; text-align: center; color: #a99ee0; font-size: 12px; margin-top: 8px; }
.pe-error { color: #ff9d8a; font-size: 12px; margin-bottom: 6px; }
.pe-plan-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pe-plan-btn {
  border: 1px solid #12c48b; background: transparent; color: #fff; cursor: pointer;
  font: inherit; font-size: 12px; border-radius: 999px; padding: 5px 12px;
}
.pe-plan-btn:hover { background: #12c48b; }

.pe-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.pe-brand img { width: 18px; height: 18px; }
.pe-brand span { font-weight: 700; font-size: 13px; letter-spacing: .01em; }
.pe-mark { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }

.pe-bubble.pe-live{display:flex;align-items:center;gap:10px;padding:8px 10px;max-width:calc(100vw - 12px);box-sizing:border-box;font-size:12px}.pe-live .pe-range{font-size:12px;overflow-wrap:anywhere}.pe-live .pe-actions{margin:0;flex-shrink:0}.pe-demo-label{font-size:11px;white-space:nowrap}

.pe-bubble.pe-live{flex-wrap:wrap}.pe-demo-dots{border:0;background:none;color:#fff;padding:0;font-size:15px;cursor:pointer}.pe-demo-details{flex-basis:100%;font-size:11px;line-height:1.4}.pe-demo-details[hidden]{display:none!important}
.pe-demo-label{background:none;border:0;color:#12c48b;text-decoration:underline;cursor:pointer;font:inherit;padding:0}.pe-demo-rewrite{width:300px;max-width:100%;box-sizing:border-box;flex-basis:100%;border-top:1px solid #ffffff40;padding-top:8px;font:12px/1.4 system-ui,sans-serif}.pe-demo-rewrite p{margin:8px 0}.pe-demo-rewrite details{margin:8px 0}.pe-demo-rewrite label{display:block;font-size:11px}.pe-demo-rewrite .pe-demo-result{padding:8px;background:#ffffff12;border:1px solid #ffffff40;border-radius:7px;white-space:pre-wrap}.pe-demo-rewrite button{background:#12c48b;color:#17102e;border:0;border-radius:6px;padding:6px 9px;margin:4px 6px 0 0;font:600 11px system-ui;cursor:pointer}.pe-bubble:has(.pe-demo-rewrite){display:flex;flex-wrap:wrap;max-height:85vh;overflow:auto;max-width:calc(100vw - 10px)}
.pe-demo-rewrite [hidden]{display:none!important}
/* Shared presentation only. Provider estimates and quota policy are untouched. */
.pe-bubble{box-sizing:border-box!important;font:12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif!important;background:#17102e!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:10px!important;box-shadow:0 8px 24px #17102e47!important;max-width:calc(100vw - 16px)!important}.pe-bubble.pe-live{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;width:340px!important}.pe-bubble .pe-range{font:600 12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif!important;margin:0!important}.pe-bubble .pe-actions{display:inline-flex!important;margin:0!important;gap:8px!important}.pe-bubble .pe-link,.pe-bubble .pe-demo-label{font:500 12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif!important;padding:0!important;background:none!important;border:0!important;color:#12c48b!important;text-decoration:underline!important;cursor:pointer!important}.pe-bubble .pe-drag-handle,.pe-bubble .pe-demo-dots{font:700 14px/1 system-ui!important;padding:0!important;background:none!important;border:0!important;color:#fff!important;cursor:grab!important}.pe-bubble .pe-movebar{display:inline-flex!important;align-items:center!important;margin:0!important}.pe-bubble .pe-reset-position{display:none!important}.pe-bubble .pe-demo-details:empty,.pe-bubble .pe-expanded-details:empty{display:none!important}.pe-bubble .pe-rewrite-panel,.pe-bubble .pe-demo-rewrite{width:100%!important;flex-basis:100%!important;box-sizing:border-box!important;font:12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif!important;margin-top:6px!important;padding:8px 0 0!important;border:0!important;border-top:1px solid #ffffff40!important;color:#fff!important;background:transparent!important}.pe-bubble .pe-rewrite-panel p,.pe-bubble .pe-demo-rewrite p{font:12px/1.4 system-ui!important;margin:8px 0!important}.pe-bubble .pe-rewrite-panel textarea,.pe-bubble .pe-demo-result{box-sizing:border-box!important;width:100%!important;min-height:76px!important;border:1px solid #ffffff50!important;border-radius:7px!important;background:#ffffff10!important;color:#fff!important;padding:8px!important;font:12px/1.4 system-ui!important}.pe-bubble .pe-rewrite-panel button,.pe-bubble .pe-demo-rewrite button{font:600 12px/1.4 system-ui!important;padding:7px 10px!important;background:#12c48b!important;color:#17102e!important;border:0!important;border-radius:7px!important;margin:6px 6px 0 0!important}.pe-bubble [hidden]{display:none!important}
