.sd-overlay{--sd-tone:var(--shop-accent,#6d28d9);z-index:1000;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#080c1694;place-items:center;padding:24px;animation:.18s both sd-fade;display:grid;position:fixed;inset:0}.sd-overlay[data-tone=error]{--sd-tone:var(--shop-bad,#dc2626)}.sd-overlay[data-tone=warn]{--sd-tone:var(--shop-warn,#d97706)}.sd-overlay[data-tone=success]{--sd-tone:var(--shop-good,#16a34a)}.sd-overlay[data-tone=info]{--sd-tone:#2563eb}.sd-card{border:1px solid var(--shop-line,#e5e7eb);border-radius:max(var(--shop-radius-lg,16px),14px);background:var(--shop-surface,#fff);width:min(480px,100%);max-height:calc(100dvh - 48px);color:var(--shop-ink,#111827);text-align:left;animation:.26s cubic-bezier(.2,.8,.2,1) both sd-pop;display:grid;position:relative;overflow:hidden auto;box-shadow:inset 0 1px #ffffff0a,0 32px 80px -24px #080c1699}.sd-body{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:16px;padding:24px 24px 22px;display:grid}.sd-icon{background:color-mix(in srgb,var(--sd-tone) 14%,var(--shop-surface,#fff));width:46px;height:46px;color:var(--sd-tone);box-shadow:0 0 0 6px color-mix(in srgb,var(--sd-tone) 6%,transparent);border-radius:14px;place-items:center;display:grid}.sd-icon svg{stroke-width:2.2px;width:22px;height:22px}.sd-text{gap:6px;min-width:0;padding-top:2px;display:grid}.sd-text h3{color:var(--shop-ink,#111827);letter-spacing:-.01em;margin:0;padding-right:34px;font-size:18px;font-weight:800;line-height:1.3}.sd-text p{color:var(--shop-muted,#6b7280);white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:14.5px;line-height:1.6}.sd-close{width:32px;height:32px;color:var(--shop-muted,#6b7280);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;transition:background-color .15s,color .15s;display:grid;position:absolute;top:14px;right:14px}.sd-close:hover{background:var(--shop-soft,#f3f4f6);color:var(--shop-ink,#111827)}.sd-close svg{width:17px;height:17px}.sd-actions{border-top:1px solid var(--shop-line,#e5e7eb);background:color-mix(in srgb,var(--shop-ink,#111827) 3%,var(--shop-surface,#fff));flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:16px 24px;display:flex}.sd-btn{border:1px solid var(--shop-line,#e5e7eb);border-radius:max(var(--shop-radius,10px),10px);background:var(--shop-surface,#fff);min-width:110px;min-height:44px;color:var(--shop-ink,#111827);font:inherit;text-align:center;cursor:pointer;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:14.5px;font-weight:700;line-height:1.2;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s,transform .1s,box-shadow .15s;display:inline-flex}.sd-btn:hover{border-color:color-mix(in srgb,var(--shop-ink,#111827) 22%,var(--shop-line,#e5e7eb));background:var(--shop-soft,#f3f4f6)}.sd-btn:active{transform:translateY(1px)}.sd-btn:focus-visible{outline:2px solid color-mix(in srgb,var(--shop-accent,#6d28d9) 45%,transparent);outline-offset:3px}.sd-btn[data-primary]{--sd-fill:var(--shop-accent-fill,var(--shop-accent,#6d28d9));background:var(--sd-fill);color:var(--shop-on-accent,#fff);box-shadow:0 10px 24px -12px color-mix(in srgb,var(--sd-fill) 80%,transparent);border-color:#0000}.sd-btn[data-primary]:hover{background:color-mix(in srgb,var(--sd-fill) 88%,#000)}.sd-btn[data-danger]{color:#fff;background:#dc2626;border-color:#0000;box-shadow:0 10px 24px -12px #dc2626cc}.sd-btn[data-danger]:hover{background:#b91c1c}.sd-actions[data-stack]{flex-direction:column;align-items:stretch}.sd-actions[data-stack]>.sd-btn{width:100%}.sd-actions[data-stack]>[data-primary],.sd-actions[data-stack]>[data-danger]{order:-1}.sd-actions[data-stack]>[data-cancel]{color:var(--shop-muted,#6b7280);background:0 0;border-color:#0000;order:1}.sd-actions[data-stack]>[data-cancel]:hover{background:var(--shop-soft,#f3f4f6);color:var(--shop-ink,#111827)}@media (max-width:560px){.sd-overlay{align-items:end;padding:0}.sd-card{border-width:1px 0 0;border-radius:22px 22px 0 0;width:100%;max-height:calc(100dvh - 24px);animation-name:sd-sheet}.sd-card:before{content:"";background:var(--shop-line,#e5e7eb);border-radius:4px;justify-self:center;width:40px;height:4px;margin-top:10px}.sd-body{text-align:center;grid-template-columns:1fr;justify-items:center;gap:14px;padding:18px 22px 20px}.sd-icon{border-radius:18px;width:56px;height:56px}.sd-icon svg{width:26px;height:26px}.sd-text h3{padding:0 26px;font-size:19px}.sd-actions{padding:14px 18px calc(16px + env(safe-area-inset-bottom,0px));flex-direction:column;align-items:stretch}.sd-actions>.sd-btn{width:100%;min-height:50px}.sd-actions>[data-primary],.sd-actions>[data-danger]{order:-1}}@keyframes sd-fade{0%{opacity:0}}@keyframes sd-pop{0%{opacity:0;transform:translateY(10px)scale(.97)}}@keyframes sd-sheet{0%{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.sd-overlay,.sd-card{animation:none}}
