#page-dialog.sheet:has(.card-settings) {
  inset:0; width:min(480px,calc(100% - 32px)); height:fit-content; max-height:calc(100dvh - 32px);
  margin:auto; padding:0; border-radius:24px; color:white; background:var(--sheet-color,#100f24);
}
#page-dialog:has(.card-settings) > .native-sheet-grip { position:absolute; inset:0 0 auto; margin-inline:auto; }
.page.card-settings { display:block; width:100%; padding:0 20px 20px; color:white; }
.card-settings .cs-heading { margin:0; padding:32px 0 16px; font-size:24px; font-weight:700; line-height:30px; letter-spacing:normal; }
.card-settings .cs-form { display:block; margin:0; }
.cs-row {
  display:flex; align-items:center; gap:12px; padding:20px; margin:0;
  background:radial-gradient(50% 25% at 50% 0%,#ffffff1a,transparent),#110e2f; border:1px solid #1d1841; border-radius:24px; cursor:pointer;
}
.cs-icon { display:grid; place-items:center; flex:0 0 42px; height:42px; border:.5px solid #fff3; border-radius:8px; color:#9990fa; background:radial-gradient(50% 60% at 50% 0%,#ffffff59,transparent),linear-gradient(180deg,#181255 63.1%,#110e2f 104.76%); }
.cs-icon svg { width:22px; height:22px; fill:currentColor; }
.cs-label { flex:1; min-width:0; font-size:16px; font-weight:600; line-height:24px; }
.card-settings .cs-switch { appearance:none; position:relative; flex:0 0 63px; width:63px; height:28px; min-height:0; margin:0; padding:0; border:0; border-radius:14px; background:#646467; cursor:pointer; }
.cs-switch::before { content:''; position:absolute; top:2px; left:2px; width:37px; height:24px; border-radius:12px; background:white; transition:transform 150ms; }
.card-settings .cs-switch:checked { background:#7a45fd; }
.cs-switch:checked::before { transform:translateX(22px); }
.cs-switch:disabled { opacity:.58; }
.cs-switch:focus-visible,.cs-return:focus-visible { outline:2px solid white; outline-offset:3px; }
.cs-error { margin:8px 8px 0; font-size:13px; color:#ff9d9d; }
.cs-error:empty { display:none; }
.cs-return { display:block; width:fit-content; padding:8px 0; color:#c4b6ff; }
.cs-message { margin:0 0 8px; }
.sku-summary > .sku-card-options {
  display:inline-flex; align-items:center; justify-content:center; align-self:center; justify-self:center;
  min-height:44px; padding:0 12px; color:#d0c5ff; font-size:14px; font-weight:600;
  text-decoration:underline; text-underline-offset:3px;
}
.card-settings > .close-layer:not(:focus-visible) { position:absolute; width:1px; height:1px; clip-path:inset(50%); pointer-events:none; }
@media (max-width:760px) {
  #page-dialog.sheet:has(.card-settings) { inset:auto 0 0; width:100%; max-width:100%; margin:0; max-height:96dvh; border-radius:24px 24px 0 0; }
  .page.card-settings { padding-bottom:calc(20px + env(safe-area-inset-bottom,0px)); }
}
@media (prefers-reduced-motion:reduce) { .cs-switch::before { transition:none; } }
