/* Scoped to in-app paywalls. The existing onboarding and billing controller stay intact. */
@font-face{font-family:'Grounded Premium Inter';font-style:normal;font-weight:300 600;font-display:swap;src:url('../assets/premium-contextual/inter.woff2') format('woff2')}
@font-face{font-family:'Grounded Premium Playfair';font-style:normal;font-weight:400 700;font-display:swap;src:url('../assets/premium-contextual/playfair.woff2') format('woff2')}
#groundedPremiumSheet.grounded-premium-sheet--contextual {
  --gpc-safe-top:env(safe-area-inset-top,0px);
  --gpc-safe-bottom:env(safe-area-inset-bottom,0px);
  --gpc-viewport-height:100vh;
  align-items:center;padding:var(--gpc-safe-top) 0 0;
}
@supports(height:100dvh) {
  #groundedPremiumSheet.grounded-premium-sheet--contextual {--gpc-viewport-height:100dvh}
}
#groundedPremiumSheet.grounded-premium-sheet--contextual .grounded-premium-sheet__panel{width:390px;max-width:100%;height:min(844px,calc(var(--gpc-viewport-height) - var(--gpc-safe-top)));max-height:none;padding:0;border:0;border-radius:0;background:#fff9f6;overflow:hidden;box-shadow:0 12px 48px #38272033}
#groundedPremiumSheet.grounded-premium-sheet--contextual .grounded-premium-sheet__panel::before,
#groundedPremiumSheet.grounded-premium-sheet--contextual .grounded-premium-sheet__panel::after,
#groundedPremiumSheet.grounded-premium-sheet--contextual .grounded-premium-sheet__panel>:not(.gpc){display:none!important}
#groundedPremiumSheet .gpc{height:100%;display:flex;flex-direction:column;color:#49332e;font:calc(14px * var(--grounded-type-scale, 1))/1.4 'Grounded Premium Inter',Arial,sans-serif;letter-spacing:normal;text-align:left}
#groundedPremiumSheet .gpc *{box-sizing:border-box}
#groundedPremiumSheet .gpc [hidden]{display:none!important}
#groundedPremiumSheet .gpc button,#groundedPremiumSheet .gpc a{font-family:inherit}
#groundedPremiumSheet .gpc button:focus-visible,#groundedPremiumSheet .gpc a:focus-visible{outline:2px solid #8f4d55;outline-offset:2px}
#groundedPremiumSheet .gpc-top{height:44px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 17px}
#groundedPremiumSheet .gpc-top>span{font-size:calc(10px * var(--grounded-type-scale, 1));letter-spacing:.15em;font-weight:600;color:#97545a}
#groundedPremiumSheet .gpc .grounded-premium-sheet__close{position:static;width:44px;height:44px;min-height:44px;border:0;background:transparent;color:#795e58;border-radius:0;font-size:calc(26px * var(--grounded-type-scale, 1));box-shadow:none;padding:0;flex:none}
#groundedPremiumSheet .gpc-scroll{overflow:auto;overscroll-behavior:contain;flex:0 1 auto;min-height:0;padding:0 24px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
#groundedPremiumSheet .gpc-heading{margin:0 0 2px}
#groundedPremiumSheet .gpc #groundedPremiumSheetTitle{font:500 calc(26.6px * var(--grounded-type-scale, 1))/1 'Grounded Premium Playfair',Georgia,serif;letter-spacing:-.7px;color:#49332e;text-align:center;margin:0;max-width:none;text-wrap:initial}
#groundedPremiumSheet .gpc-art{display:block;width:100%;height:auto;margin:0;border-radius:12px;object-fit:contain}
#groundedPremiumSheet .gpc-art-trigger {
  position:relative;display:block;width:100%;margin:0 0 2px;padding:0;border:0;
  border-radius:12px;background:transparent;cursor:zoom-in;touch-action:manipulation;
}
#groundedPremiumSheet .gpc-art-trigger__icon {
  position:absolute;right:7px;bottom:7px;width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;background:#fff9f6f5;color:#594039;box-shadow:0 1px 5px #38272040;
  pointer-events:none;
}
#groundedPremiumSheet .gpc-art-trigger__icon svg {
  width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;
}
.gpc-art-preview {
  position:fixed;z-index:2147483647;inset:0;width:100%;height:100%;max-width:none;max-height:none;
  box-sizing:border-box;font:calc(14px * var(--grounded-type-scale, 1))/1.4 'Grounded Premium Inter',Arial,sans-serif;
  margin:0;border:0;overflow:hidden;overscroll-behavior:contain;background:#211917;color:#fff9f6;
  padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px)
    env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
}
.gpc-art-preview:not([open]) {display:none}
.gpc-art-preview[open] {display:flex;flex-direction:column-reverse}
.gpc-art-preview::backdrop {background:#211917}
.gpc-art-preview__close {
  align-self:flex-end;flex:none;min-height:44px;margin:8px 12px 0;padding:0 16px;
  border:1px solid #fff9f675;border-radius:24px;background:#382824;color:#fff9f6;
  font:inherit;cursor:pointer;touch-action:manipulation;
}
.gpc-art-preview__close:focus-visible {outline:2px solid #fff9f6;outline-offset:2px}
.gpc-art-preview__close span {font-size:calc(20px * var(--grounded-type-scale, 1));vertical-align:-1px;margin-right:3px}
.gpc-art-preview__stage {
  flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;
  touch-action:none;user-select:none;-webkit-user-select:none;cursor:zoom-in;
}
.gpc-art-preview__stage.is-zoomed {cursor:grab}
.gpc-art-preview__stage img {display:block;max-width:none;max-height:none;pointer-events:none}
#groundedPremiumSheet .gpc-benefits{list-style:none;margin:0;padding:0;display:grid;gap:2px}
#groundedPremiumSheet .gpc-benefits li{display:flex;gap:10px;align-items:flex-start;margin:0;padding:0}
#groundedPremiumSheet .gpc-icon{flex:none;width:32px;height:32px;display:grid;place-items:center;background:linear-gradient(135deg,#f8ece5,#f2dfd8);border-radius:10px}
#groundedPremiumSheet .gpc-icon svg{width:20px;height:20px;fill:none;stroke:#a4645f;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#groundedPremiumSheet .gpc-benefits strong{display:block;font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.2;font-weight:600;letter-spacing:-.02px;color:#49332e}
#groundedPremiumSheet .gpc[data-feature="biblical-wisdom"] .gpc-benefits li:first-child strong{letter-spacing:-.18px}
#groundedPremiumSheet .gpc-benefits div>span{display:block;font-size:calc(10.5px * var(--grounded-type-scale, 1));line-height:1.2;margin:0;color:#795f57}
#groundedPremiumSheet .gpc-everything{display:flex;flex:none;align-items:center;justify-content:center;gap:4px;width:100%;min-height:44px;margin:0;border:0;background:none;color:#8e5b59;font-size:calc(11px * var(--grounded-type-scale, 1));text-decoration:underline;text-underline-offset:3px;padding:0 12px;cursor:pointer}
#groundedPremiumSheet .gpc-purchase{flex:none;margin-top:auto;padding:5px 24px max(6px,var(--gpc-safe-bottom));border-top:1px solid #ead8d1;background:#fff9f6;max-height:65%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#groundedPremiumSheet .gpc-reassurance{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2px 10px}
#groundedPremiumSheet .gpc .grounded-premium-social-proof{display:block;width:auto;margin:0;padding:0;text-align:center;font-family:inherit;font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.4;color:#8c6a5d;background:none;border:0;min-height:0}
#groundedPremiumSheet .gpc .grounded-premium-social-proof__stars{display:none}
#groundedPremiumSheet .gpc .grounded-premium-social-proof__label{font:inherit;color:inherit}
#groundedPremiumSheet .gpc .grounded-premium-plans{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 9px;margin:0;padding:0}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn{position:relative;min-height:48px;margin:0;padding:4px 10px;border:1px solid #dfc7bf;border-radius:10px;background:#fffcf9;box-shadow:none;color:#49332e;text-align:left;display:block;transform:none}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn[aria-checked=true]{border:1.5px solid #a05e63;background:#f5e7e1;padding:3.5px 9.5px}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn__radio,#groundedPremiumSheet .gpc .grounded-premium-plan-btn__hint{display:none!important}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn__body{display:block}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn__main{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn__label{font-size:calc(13px * var(--grounded-type-scale, 1));line-height:1.4;font-weight:600;color:#49332e;letter-spacing:normal}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn__price{font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.4;font-weight:400;color:#70534c;white-space:normal}
#groundedPremiumSheet .gpc .grounded-premium-plan-btn__badge{position:absolute;top:5px;right:6px;padding:0 6px;border:0;background:#a15d64;color:#fff;font-size:calc(9px * var(--grounded-type-scale, 1));line-height:1.5;font-weight:600;border-radius:10px;letter-spacing:normal;transform:none;text-transform:none}
#groundedPremiumSheet .gpc .grounded-premium-cta{grid-column:1/-1;width:100%;min-height:48px;margin:0;padding:10px;border:0;border-radius:100px;background:#a15d64;color:#fff;font-weight:600;font-size:calc(15px * var(--grounded-type-scale, 1));line-height:1.4;letter-spacing:normal;box-shadow:none}
#groundedPremiumSheet .gpc .grounded-premium-trial-note{grid-column:1/-1;text-align:center;font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.5;color:#74574e;margin:0;padding:0;display:block}
#groundedPremiumSheet .gpc .grounded-premium-trial-note__text{display:block;max-width:none}
#groundedPremiumSheet .gpc .grounded-premium-trial-note__promise{display:inline;font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:600;color:#5c5143}
#groundedPremiumSheet .gpc .grounded-premium-trial-note__terms{font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:400;color:#74574e;letter-spacing:normal}
#groundedPremiumSheet .gpc #groundedPremiumMaybeTomorrow{display:none!important}
#groundedPremiumSheet .gpc .grounded-premium-sheet__footer{margin:0;padding:0;display:block}
#groundedPremiumSheet .gpc .grounded-premium-sheet__meta,#groundedPremiumSheet .gpc .grounded-premium-sheet__meta-links{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:6px;margin:0;padding:0}
#groundedPremiumSheet .gpc .grounded-premium-sheet__meta-sep,#groundedPremiumSheet .gpc .grounded-premium-legal-sep{display:none}
#groundedPremiumSheet .gpc .grounded-premium-legal{display:flex;gap:6px;order:-1;margin:0}
#groundedPremiumSheet .gpc .grounded-premium-legal a,#groundedPremiumSheet .gpc .grounded-premium-restore-btn{width:auto;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 6px;margin:0;border:0;background:none;color:#7b6158;font-size:calc(10px * var(--grounded-type-scale, 1));line-height:1.4;text-decoration:underline;text-underline-offset:3px}
/* The full store disclosure remains available to assistive technology; the visible renewal line carries its purchase terms. */
#groundedPremiumSheet .gpc .grounded-premium-compliance{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%)}
#groundedPremiumSheet .gpc-walk{font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.4;font-style:italic;text-align:center;margin:0;color:#86655d}
#groundedPremiumSheet .gpc-back{min-height:44px;background:none;border:0;padding:0;color:#8e5b59;font-size:calc(12px * var(--grounded-type-scale, 1));cursor:pointer}
#groundedPremiumSheet .gpc-kicker{font-size:calc(9px * var(--grounded-type-scale, 1));letter-spacing:.12em;color:#97545a;margin:8px 0 10px}
#groundedPremiumSheet .gpc-overview h2{font:500 calc(30px * var(--grounded-type-scale, 1))/1.15 'Grounded Premium Playfair',Georgia,serif;margin:0 0 18px;letter-spacing:-.6px;color:#49332e}
#groundedPremiumSheet .gpc-gains{padding-left:17px;font-size:calc(12px * var(--grounded-type-scale, 1));color:#73584e;line-height:1.6}
#groundedPremiumSheet .gpc-gains li{margin:0 0 9px}
#groundedPremiumSheet .gpc-overview h3{font:500 calc(21px * var(--grounded-type-scale, 1))/1.3 'Grounded Premium Playfair',Georgia,serif;margin:24px 0 12px;color:#49332e}
#groundedPremiumSheet .gpc-overview dl{margin:0}
#groundedPremiumSheet .gpc-overview dt{font-size:calc(12px * var(--grounded-type-scale, 1));font-weight:600;margin-top:14px}
#groundedPremiumSheet .gpc-overview dd{margin:3px 0 0;color:#795f57;font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.6}
#groundedPremiumSheet .gpc-overview-free{font-size:calc(11px * var(--grounded-type-scale, 1));line-height:1.6;border-top:1px solid #ead8d1;padding:15px 0;margin:20px 0 0}
#groundedPremiumSheet .gpc .grounded-premium-web-cta{margin:0;padding:0}
#groundedPremiumSheet .gpc .grounded-premium-web-cta__primary{min-height:48px;border-radius:100px;background:#a15d64;font-size:calc(15px * var(--grounded-type-scale, 1));box-shadow:none;padding:10px}
@media(max-width:600px) {
  #groundedPremiumSheet.grounded-premium-sheet--contextual .grounded-premium-sheet__panel {
    height:calc(var(--gpc-viewport-height) - var(--gpc-safe-top));
  }
}
@media(prefers-reduced-motion:reduce){#groundedPremiumSheet.grounded-premium-sheet--contextual,#groundedPremiumSheet.grounded-premium-sheet--contextual .grounded-premium-sheet__panel{transition:none}}
