/* ============================================================================
   studio_purchase_confirm.css - Codex WEB PURCHASE CONFIRMATION DIALOG R01
   (output/codex_design/outbox/web-purchase-confirmation-dialog-r01/HANDOVER.md).
   Every rule sits under body.hts-studio .pc1 (the overlay root that
   studio_purchase_confirm.js stamps), so nothing reaches any other account.
   Dark = :root[data-theme=dark] + prefers-color-scheme (not light), as the
   rest of the studio layer. Inter is already served by the studio layer.
   ========================================================================== */
body.hts-studio .pc1{position:fixed;inset:0;z-index:100003;display:flex;align-items:center;justify-content:center;
  padding:calc(16px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));
  background:rgba(8,21,38,.42);overscroll-behavior:contain;animation:pc1-fade 160ms ease-out both;
  --pc-surface:#FFFFFF;--pc-line:#D6E1EE;--pc-ink:#102A43;--pc-muted:#4D6278;--pc-shadow:rgba(5,20,38,.24);--pc-focus:#1F70DF}
:root[data-theme="dark"] body.hts-studio .pc1{background:rgba(3,9,17,.60);--pc-surface:#182F45;--pc-line:#365169;--pc-ink:#F3F7FC;--pc-muted:#B9CCDD;--pc-shadow:rgba(5,20,38,.42);--pc-focus:#80B8FF}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) body.hts-studio .pc1{background:rgba(3,9,17,.60);--pc-surface:#182F45;--pc-line:#365169;--pc-ink:#F3F7FC;--pc-muted:#B9CCDD;--pc-shadow:rgba(5,20,38,.42);--pc-focus:#80B8FF}}
body.hts-studio .pc1 *{box-sizing:border-box}
body.hts-studio .pc1 .pc1-card{width:100%;max-width:400px;max-height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:28px;border-radius:24px;background:var(--pc-surface);border:1px solid var(--pc-line);box-shadow:0 24px 72px var(--pc-shadow);
  color:var(--pc-ink);font-family:Inter,sans-serif;text-align:center;display:flex;flex-direction:column;align-items:center;
  animation:pc1-rise 220ms ease-out both}
body.hts-studio .pc1 .pc1-seal{display:block;width:80px;height:80px;flex:none;margin:0 0 18px;animation:pc1-seal 280ms ease-out both}
body.hts-studio .pc1 .pc1-check{stroke-dasharray:17;stroke-dashoffset:0;animation:pc1-draw 240ms ease-out 120ms both}
body.hts-studio .pc1 h2{margin:0;font:600 26px/32px Inter,sans-serif;color:var(--pc-ink);letter-spacing:normal}
body.hts-studio .pc1 p{margin:10px auto 0;max-width:300px;font:400 16px/24px Inter,sans-serif;color:var(--pc-muted)}
body.hts-studio .pc1 .pc1-go{display:block;width:100%;min-height:48px;margin:24px 0 0;padding:12px 16px;border:0;border-radius:14px;
  background:#1F70DF;color:#FFFFFF;font:600 16px/22px Inter,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
body.hts-studio .pc1 .pc1-go:focus{outline:none}
body.hts-studio .pc1 .pc1-go:focus-visible{outline:3px solid var(--pc-focus);outline-offset:3px}
@media (max-height:600px),(max-width:360px){
  body.hts-studio .pc1 .pc1-card{padding:20px}
  body.hts-studio .pc1 .pc1-seal{width:60px;height:60px;margin-bottom:14px}
  body.hts-studio .pc1 h2{font-size:24px;line-height:30px}
  body.hts-studio .pc1 .pc1-go{margin-top:20px}
}
@keyframes pc1-fade{from{opacity:0}to{opacity:1}}
@keyframes pc1-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes pc1-seal{from{transform:scale(.92)}to{transform:none}}
@keyframes pc1-draw{from{stroke-dashoffset:17}to{stroke-dashoffset:0}}
@media (prefers-reduced-motion: reduce){
  body.hts-studio .pc1,body.hts-studio .pc1 .pc1-card,body.hts-studio .pc1 .pc1-seal,body.hts-studio .pc1 .pc1-check{animation:none}
}
html.pc1-open,html.pc1-open body{overflow:hidden}
