html.gbp-open { overflow: hidden; }

.wpm-comp-card { cursor: default; }
.wpm-comp-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.wpm-comp-card__actions button,
.wpm-comp-setup {
  position: relative;
  z-index: 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--comp-chip-ink) 34%, transparent);
  border-radius: 999px;
  background: var(--comp-chip-bg);
  color: var(--comp-chip-ink);
  font-family: inherit;
  font-size: .59rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}
.wpm-comp-card__actions button:first-child { border-color: transparent; background: transparent; }
.wpm-comp-card__actions button:hover,
.wpm-comp-setup:hover { background: color-mix(in srgb, var(--comp-chip-bg) 72%, var(--comp-chip-ink) 28%); }
.wpm-comp-card__actions button:focus-visible,
.wpm-comp-setup:focus-visible { outline: 2px solid var(--comp-accent); outline-offset: 2px; }
.wpm-comp-setup:disabled { opacity: .62; cursor: wait; }
.wpm-comp-hero__actions { position: relative; z-index: 2; display: grid; justify-items: end; gap: 8px; }
.wpm-comp-hero__actions .wpm-comp-hero__count { align-self: auto; }

.gbp-shell[hidden] { display: none !important; }
.gbp-shell { position: fixed; z-index: 100080; inset: 0; display: grid; place-items: center; padding: 20px; font-family: var(--font-ui, Inter, system-ui, sans-serif); }
.gbp-backdrop { position: absolute; inset: 0; background: rgba(7, 10, 20, .7); backdrop-filter: blur(12px); }
.gbp-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(900px, calc(100dvh - 40px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent, #7c5cff) 28%, var(--border, #d7dce6));
  border-radius: 24px;
  background: color-mix(in srgb, var(--card, #fff) 96%, var(--accent, #7c5cff) 4%);
  color: var(--text-1, #171a23);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .65);
}
.gbp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 17px; border-bottom: 1px solid var(--border, #e1e4eb); }
.gbp-head small, .gbp-eyebrow { display: block; color: var(--accent, #7055e8); font-size: .62rem; font-weight: 900; letter-spacing: .16em; }
.gbp-head h2 { margin: 4px 0 0; font-size: 1.35rem; letter-spacing: -.035em; }
.gbp-close { width: 38px; height: 38px; border: 1px solid var(--border, #dfe3ea); border-radius: 12px; background: var(--surface-2, rgba(127,127,127,.08)); color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 400; line-height: 1; cursor: pointer; }
.gbp-close:hover { background: rgba(239, 68, 68, .1); color: #c33232; }
.gbp-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 12px 24px 0; }
.gbp-progress span { height: 4px; border-radius: 4px; background: var(--border, #dfe3ea); transition: background .2s ease, transform .2s ease; }
.gbp-progress span.is-on { background: color-mix(in srgb, var(--accent, #7055e8) 78%, white); }
.gbp-progress span.is-done { background: #1eaf70; }
.gbp-body { min-height: 310px; overflow: auto; overscroll-behavior: contain; padding: 24px; }
.gbp-intro h3 { margin: 5px 0 6px; font-size: 1.35rem; letter-spacing: -.03em; }
.gbp-intro p { max-width: 640px; margin: 0 0 20px; color: var(--text-2, #626b7f); font-size: .83rem; line-height: 1.55; }
.gbp-choices { display: grid; gap: 10px; }
.gbp-choice { position: relative; display: block; cursor: pointer; }
.gbp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.gbp-choice > span { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px 14px 49px; border: 1px solid var(--border, #dfe3ea); border-radius: 15px; background: var(--surface-1, rgba(255,255,255,.55)); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.gbp-choice > span::before { content: ""; position: absolute; left: 17px; width: 18px; height: 18px; border: 2px solid var(--text-3, #8a92a3); border-radius: 50%; box-shadow: inset 0 0 0 4px transparent; }
.gbp-choice:hover > span { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent, #7055e8) 48%, var(--border, #dfe3ea)); }
.gbp-choice input:focus-visible + span { outline: 2px solid var(--accent, #7055e8); outline-offset: 2px; }
.gbp-choice input:checked + span { border-color: var(--accent, #7055e8); background: color-mix(in srgb, var(--accent, #7055e8) 9%, var(--card, #fff)); box-shadow: 0 10px 30px -24px var(--accent, #7055e8); }
.gbp-choice input:checked + span::before { border-color: var(--accent, #7055e8); box-shadow: inset 0 0 0 4px var(--card, #fff); background: var(--accent, #7055e8); }
.gbp-choice b { font-size: .84rem; }
.gbp-choice small { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.gbp-choice em, .gbp-status { padding: 4px 7px; border-radius: 999px; background: rgba(127,127,127,.1); color: var(--text-2, #626b7f); font-size: .59rem; font-style: normal; font-weight: 800; }
.gbp-status.is-active { background: rgba(25, 181, 112, .14); color: #16875a; }
.gbp-status.is-draft, .gbp-status.is-lobby { background: rgba(245, 158, 11, .14); color: #a26706; }
.gbp-choice-new > span { border-style: dashed; }
.gbp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gbp-form label { display: grid; gap: 7px; color: var(--text-2, #626b7f); font-size: .7rem; font-weight: 800; }
.gbp-form label.gbp-wide { grid-column: 1 / -1; }
.gbp-form input, .gbp-form select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--border, #dfe3ea); border-radius: 11px; background: var(--input-bg, var(--card, #fff)); color: var(--text-1, #171a23); font-family: inherit; font-size: .8rem; font-weight: 700; line-height: 1; }
.gbp-form input:focus, .gbp-form select:focus { outline: 2px solid color-mix(in srgb, var(--accent, #7055e8) 65%, transparent); border-color: var(--accent, #7055e8); }
.gbp-form label > small { color: var(--text-3, #8a92a3); font-size: .62rem; font-weight: 600; line-height: 1.4; }
.gbp-existing, .gbp-review { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gbp-existing > div, .gbp-review > div { min-height: 78px; display: grid; align-content: center; gap: 5px; padding: 14px; border: 1px solid var(--border, #dfe3ea); border-radius: 14px; background: var(--surface-1, rgba(127,127,127,.045)); }
.gbp-existing small, .gbp-review small, .gbp-receipt small { color: var(--text-3, #8a92a3); font-size: .6rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.gbp-existing b, .gbp-review b { font-size: .78rem; line-height: 1.35; }
.gbp-safety { margin-top: 12px; padding: 13px 15px; border-left: 4px solid #1eaf70; border-radius: 10px; background: rgba(30,175,112,.08); }
.gbp-safety b { font-size: .75rem; }
.gbp-safety p { margin: 3px 0 0; color: var(--text-2, #626b7f); font-size: .7rem; line-height: 1.45; }
.gbp-foot { display: flex; align-items: center; gap: 9px; padding: 16px 24px 20px; border-top: 1px solid var(--border, #dfe3ea); }
.gbp-foot > span { flex: 1; }
.gbp-foot button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--border, #dfe3ea); border-radius: 11px; background: var(--surface-2, rgba(127,127,127,.07)); color: var(--text-1, #171a23); font-family: inherit; font-size: .72rem; font-weight: 800; line-height: 1; cursor: pointer; }
.gbp-foot button:hover { transform: translateY(-1px); }
.gbp-foot button.is-primary { border-color: transparent; background: var(--accent, #7055e8); color: #fff; box-shadow: 0 12px 22px -15px var(--accent, #7055e8); }
.gbp-foot button.is-launch { background: #f4c400; color: #201a00; }
.gbp-inline-error { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(239,68,68,.1); color: #c33232; font-size: .72rem; font-weight: 750; }
.gbp-loading, .gbp-running, .gbp-result { min-height: 290px; display: grid; place-items: center; align-content: center; text-align: center; }
.gbp-spinner { width: 38px; height: 38px; display: block; border: 3px solid color-mix(in srgb, var(--accent, #7055e8) 18%, transparent); border-top-color: var(--accent, #7055e8); border-radius: 50%; animation: gbp-spin .8s linear infinite; }
.gbp-loading p, .gbp-running p, .gbp-result p { max-width: 520px; color: var(--text-2, #626b7f); font-size: .78rem; line-height: 1.55; }
.gbp-running h3, .gbp-result h3 { margin: 14px 0 0; font-size: 1.25rem; }
.gbp-running ol { width: min(390px, 100%); display: grid; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; text-align: left; }
.gbp-running li { padding: 9px 12px; border-radius: 9px; background: rgba(127,127,127,.06); color: var(--text-3, #8a92a3); font-size: .69rem; font-weight: 750; }
.gbp-running li.is-on { color: var(--text-1, #171a23); background: color-mix(in srgb, var(--accent, #7055e8) 10%, transparent); }
.gbp-result > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(30,175,112,.13); color: #16875a; font-family: inherit; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.gbp-result.is-error > span { background: rgba(239,68,68,.12); color: #d13b3b; }
.gbp-result > small { color: var(--text-3, #8a92a3); font-size: .65rem; }
.gbp-receipt { width: min(520px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; text-align: left; }
.gbp-receipt span { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--border, #dfe3ea); border-radius: 11px; }
.gbp-receipt b { font-size: .74rem; }
.gbp-empty { padding: 28px; border: 1px dashed var(--border, #dfe3ea); border-radius: 14px; color: var(--text-2, #626b7f); text-align: center; font-size: .76rem; }

@keyframes gbp-spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .gbp-shell { align-items: end; padding: 0; }
  .gbp-dialog { width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; }
  .gbp-head { padding: 17px 18px 14px; }
  .gbp-progress { padding: 10px 18px 0; }
  .gbp-body { min-height: 260px; padding: 19px 18px; }
  .gbp-foot { flex-wrap: wrap; padding: 13px 18px calc(14px + env(safe-area-inset-bottom)); }
  .gbp-foot > span { display: none; }
  .gbp-foot button { flex: 1 1 auto; }
  .gbp-form, .gbp-existing, .gbp-review { grid-template-columns: 1fr; }
  .gbp-form label.gbp-wide { grid-column: auto; }
  .gbp-choice > span { align-items: flex-start; flex-direction: column; padding-left: 49px; }
  .gbp-choice small { justify-content: flex-start; }
  .wpm-comp-card__actions { justify-content: flex-start; }
  .wpm-comp-card__actions button, .wpm-comp-setup { min-height: 40px; }
  .wpm-comp-hero__actions { grid-column: 1 / -1; width: 100%; display: flex; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .gbp-spinner { animation-duration: 1.8s; }
  .gbp-choice > span, .gbp-foot button { transition: none; }
}
