/* The balance belongs to the account. The purchase action lives with the other header action. */
.generator-actions { grid-area:1 / 3; justify-self:end; display:flex; align-items:center; gap:9px; white-space:nowrap; }
.header-action {
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 18px; border:1px solid #a97bff; border-radius:15px;
  font:400 16px/1 "Bungee",var(--sans); white-space:nowrap; text-decoration:none; cursor:pointer;
  box-shadow:0 2px 0 #3a1566;
}
.su-enter { background:linear-gradient(180deg,#9951ff,#6d28d9); color:white; }
.su-enter:hover { filter:brightness(1.08); }
#openPlans { background:white; color:#6924c7; }
#openPlans:hover { background:#f7f1ff; color:#52179f; }
.header-action:focus-visible { outline:2px solid white; outline-offset:3px; }
#headerWallet { grid-area:1/1; justify-self:start; display:grid; justify-items:start; gap:3px; margin-left:55px; color:#f8f1ff; }
#headerWallet[hidden],#clipPlans [hidden],.clip-receipt [hidden] { display:none; }
#headerAllowance { color:#e1c5ff; font:400 clamp(18px,1.6vw,24px)/1.1 Bungee,var(--sans); text-shadow:1px 2px 0 #522278; }
#freeReset { white-space:nowrap; color:#e4dbef; font:500 11px/1.25 var(--mono); font-variant-numeric:tabular-nums; }
@media(max-width:880px) { .generator-header { grid-template-columns:minmax(0,1fr) auto; } .generator-actions { grid-area:1/2; } .contact-email { grid-area:2/1/auto/-1; } }
@media(max-width:600px) {
  .generator-header { padding:12px; column-gap:7px; }
  #headerWallet { margin-left:43px; }
  .generator-actions { gap:5px; }
  .header-action { min-height:44px; border-radius:10px; font-size:11px; padding:10px 9px; }
}
@media(max-width:480px) {
  .generator-header:has(#headerWallet:not([hidden])) { row-gap:9px; }
  .generator-header:has(#headerWallet:not([hidden])) .contact-email { grid-area:1/2; font-size:10px; }
  .generator-header:has(#headerWallet:not([hidden])) .generator-actions { grid-area:2/1/auto/-1; justify-self:stretch; }
  .generator-header:has(#headerWallet:not([hidden])) .generator-actions > * { flex:1; text-align:center; }
}
.clip-receipt {
  display:none; align-items:center; gap:15px; padding:17px 20px; margin-bottom:16px;
  background:linear-gradient(110deg,#25202df5,#19151ff5); border:1px solid #5a4869;
  border-radius:16px; color:#fbf8ff; text-align:left;
}
.top-pinned .clip-receipt { display:flex; }
.receipt-check {
  display:grid; place-items:center; flex:none; width:36px; height:36px; border-radius:50%;
  background:#d2f6c4; color:#24411c; font:800 20px var(--sans);
}
.receipt-main h2 { margin:0; font:700 clamp(18px,2.2vw,24px)/1.2 var(--sans); letter-spacing:-.04em; }
.receipt-main p { margin:3px 0 0; font-size:13px; color:#d7cede; }
#receiptPreview { font-size:12px; color:#bfb5c9; }
.receipt-side { margin-left:auto; display:grid; gap:5px; justify-items:end; flex:none; }
#receiptReset,#freeReset { font-variant-numeric:tabular-nums; }
#receiptReset { font:500 12px/1.4 var(--mono); color:#e1c6ff; }
#receiptPlans { color:#eee2fc; border:1px solid #5a486a; border-radius:8px; background:#251d2d; cursor:pointer; padding:6px 10px; font:600 12px var(--sans); }

#clipPlans {
  width:min(600px,calc(100vw - 22px)); margin:auto; padding:0; max-height:92dvh; overflow:auto; overscroll-behavior:contain;
  color:#19161e; background:#f7f4ef; border:1px solid #1a1420; border-radius:22px;
  box-shadow:0 22px 85px #0008; font-family:var(--sans); text-align:left;
}
#clipPlans::backdrop { background:#120d19c9; }
.billing-inner { padding:clamp(20px,4vw,34px); }
.billing-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.billing-head h2 { text-wrap:balance; font:760 clamp(32px,6.3vw,49px)/1.04 var(--sans); letter-spacing:-.075em; margin:0; }
.billing-head h2 span { color:#8144de; }
#closePlans,.offer-arrow { display:grid; place-items:center; width:32px; height:32px; flex:none; border-radius:50%; }
#closePlans { border:1px solid #c9c3c9; background:transparent; color:#201c24; font:400 23px/1 var(--sans); cursor:pointer; }
#stepDetail { color:#544c58; font:480 14px/1.45 var(--sans); margin:10px 0 19px; }
.plan-list { margin-top:22px; display:grid; gap:10px; }
.offer { position:relative; width:100%; display:grid; grid-template-columns:1fr auto 29px; align-items:center; gap:12px;
  padding:17px 17px 17px 20px; text-align:left; border-radius:12px; border:1px solid #d3ccd5;
  color:#201b27; background:#fffcf9; cursor:pointer; font:inherit; }
.offer:not(:disabled):hover { border-color:#79599c; box-shadow:0 2px 0 #b7a6ca; }
.offer.best-value { color:#21122f; background:#c8a4ff; border-color:#a481d1; }
.offer-copy,.offer-price { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.offer-title { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font:740 23px/1.05 var(--sans); letter-spacing:-.055em; }
.offer-detail { font:520 12px/1.3 var(--sans); color:#51455e; }
.offer-price { align-items:flex-end; font:750 27px/1 var(--sans); letter-spacing:-.055em; }

.offer-arrow { width:29px; height:29px; border:1px solid #c3b9ca; color:#382a42; font-size:16px; }
.offer.best-value .offer-arrow { color:white; background:#271436; border-color:#271436; }
.offer:disabled { cursor:default; }
.offer:disabled .offer-arrow { color:#665c70; background:transparent; border-color:transparent; }
.offer-frequency { font:550 11px/1.1 var(--sans); letter-spacing:0; color:#544c58; }

#packAvailability { margin:12px 0 0; color:#544c58; font:500 14px/1.4 var(--sans); }
#billingMessage { margin:0; }
#billingMessage:not(:empty) { margin:12px 0; color:#5a3b68; font-size:13px; }
#stepPlan { margin:22px 0 0; font:710 22px/1.23 var(--sans); letter-spacing:-.04em; }
#stepDetail { margin:8px 0 18px; }
#stepAction,#retryPlans { border:0; border-radius:9px; padding:12px 16px; background:#271b34; color:#fff; font:650 14px var(--sans); cursor:pointer; }
#backToPlans { border:0; background:transparent; color:#514058; font:600 13px var(--sans); cursor:pointer; padding:10px; }
#clipPlans :focus-visible,.clip-receipt :focus-visible { outline:2px solid #9d58f4; outline-offset:3px; }
@media(max-width:600px){
  #closePlans { width:44px; height:44px; }
  .offer { padding:14px 11px; gap:7px; grid-template-columns:1fr auto 24px; }
  .offer-title { font-size:20px; gap:5px; }
  .offer-arrow { width:24px; height:24px; }
  .offer-price { font-size:24px; }
  .clip-receipt { flex-wrap:wrap; padding:13px; gap:10px; }
  .receipt-side { margin:0; width:100%; display:flex; align-items:center; justify-content:space-between; }
  .receipt-side button { margin-left:auto; }
}
@media (pointer:coarse) and (orientation:landscape){
  .generator-header { padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right)); }
}
.generator-view body.top-pinned .hero h1,
.generator-view body.top-pinned .prompt-wrap { display:none; }
.generator-view body.top-pinned .hero { margin-bottom:0; }
.generator-view body.top-pinned .clippa-logo { --clippa-size:clamp(32px,6svh,56px); }
.generator-view body.top-pinned .results { margin-top:22px; }
