/* SwiftPick shared form design system (v1).
   Loaded AFTER the generated light layer so it wins on both themes. Scope: <body class="sp-pro"> pages,
   plus .sp-pro-form (seller settings), #spApplyGate and .sp-catpick widgets anywhere.
   Spacing scale = 8px: 4 / 8 / 12 / 16 / 24 / 32 / 40 / 48. Touch targets >= 48px. */
:root {
  --f-s1: 4px; --f-s2: 8px; --f-s3: 12px; --f-s4: 16px; --f-s5: 24px; --f-s6: 32px; --f-s7: 40px; --f-s8: 48px;
  --f-radius: 12px; --f-radius-lg: 20px; --f-touch: 48px;
  --f-font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-text: #e9f1ef; --f-dim: #a7b8b2; --f-faint: #7d8f89;
  --f-surface: rgba(13, 22, 30, .86); --f-section: rgba(255, 255, 255, .035);
  --f-input: rgba(4, 10, 16, .72); --f-border: rgba(255, 255, 255, .14); --f-border-strong: rgba(255, 255, 255, .26);
  --f-accent: #2fe08a; --f-accent-ink: #04140c; --f-accent-soft: rgba(47, 224, 138, .13);
  --f-ring: 0 0 0 3px rgba(47, 224, 138, .35);
  --f-danger: #ff5c8a; --f-danger-soft: rgba(255, 92, 138, .12);
  --f-warn: #ffbe3c; --f-warn-soft: rgba(255, 190, 60, .09);
  --f-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}
html[data-theme="light"] {
  --f-text: #14211c; --f-dim: #4a5b55; --f-faint: #6b7a74;
  --f-surface: #ffffff; --f-section: #f6f9f7;
  --f-input: #ffffff; --f-border: rgba(16, 48, 34, .18); --f-border-strong: rgba(16, 48, 34, .34);
  --f-accent: #0a8f53; --f-accent-ink: #ffffff; --f-accent-soft: rgba(10, 143, 83, .09);
  --f-ring: 0 0 0 3px rgba(10, 143, 83, .25);
  --f-danger: #c4124a; --f-danger-soft: rgba(196, 18, 74, .07);
  --f-warn: #9a6200; --f-warn-soft: rgba(255, 190, 60, .12);
  --f-shadow: 0 12px 36px rgba(16, 48, 34, .08);
}

/* ---------- Page shell ---------- */
html body.sp-pro { font-family: var(--f-font); color: var(--f-text); -webkit-font-smoothing: antialiased; }
html body.sp-pro .page { padding: var(--f-s5) var(--f-s4) var(--f-s8); max-width: 1120px; }
html body.sp-pro .top-bar { margin-bottom: var(--f-s5); gap: var(--f-s3); }
html body.sp-pro .back-link { min-height: 40px; display: inline-flex; align-items: center; }
.sp-pro .sp-pagehead { margin: 0 0 var(--f-s5); }
.sp-pro .sp-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--f-accent); margin: 0 0 var(--f-s2); }
.sp-pro .sp-pagehead h1 { font-family: var(--f-font); font-size: clamp(1.55rem, 5.4vw, 2.2rem); line-height: 1.2; letter-spacing: -.01em; font-weight: 700; margin: 0 0 var(--f-s3); color: var(--f-text); }
.sp-pro .sp-pagehead p { color: var(--f-dim); font-size: .95rem; line-height: 1.6; max-width: 62ch; margin: 0; }
html body.sp-pro .wizard { gap: var(--f-s5); }
html body.sp-pro .form-shell { background: var(--f-surface); border: 1px solid var(--f-border); border-radius: var(--f-radius-lg); padding: var(--f-s5); box-shadow: var(--f-shadow); }
@media (max-width: 480px) { html body.sp-pro .form-shell { padding: var(--f-s5) var(--f-s4); border-radius: 16px; } }

/* ---------- Stepper ---------- */
html body.sp-pro .progress { display: flex; gap: 0; margin: 0 0 var(--f-s5); padding: 0; list-style: none; counter-reset: spstep; }
html body.sp-pro .progress-step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--f-s2); background: none; border: 0; box-shadow: none; padding: 0; text-align: center; font-size: .8rem; font-weight: 600; color: var(--f-faint); counter-increment: spstep; }
html body.sp-pro .progress-step::before { content: counter(spstep); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; border: 2px solid var(--f-border-strong); background: var(--f-surface); color: var(--f-dim); position: relative; z-index: 1; transition: all .2s; }
html body.sp-pro .progress-step + .progress-step::after { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: var(--f-border); z-index: 0; }
html body.sp-pro .progress-step.active { color: var(--f-text); border: 0; box-shadow: none; }
html body.sp-pro .progress-step.active::before { border-color: var(--f-accent); background: var(--f-accent); color: var(--f-accent-ink); }
html body.sp-pro .progress-step.active + .progress-step.active::after { background: var(--f-accent); }
html body.sp-pro .progress-step small { display: block; font-weight: 400; font-size: .72rem; color: var(--f-faint); }
.sp-pro .sp-intro { display: flex; gap: var(--f-s3); align-items: flex-start; background: var(--f-accent-soft); border: 1px solid color-mix(in srgb, var(--f-accent) 30%, transparent); border-radius: var(--f-radius); padding: var(--f-s3) var(--f-s4); margin: 0 0 var(--f-s5); font-size: .86rem; line-height: 1.55; color: var(--f-text); }
.sp-pro .sp-intro .ic { flex: 0 0 auto; font-size: 1.1rem; line-height: 1.3; }
html body.sp-pro .required-notice { display: none; }

/* ---------- Sections ---------- */
.sp-fsec { background: var(--f-section); border: 1px solid var(--f-border); border-radius: 16px; padding: var(--f-s5) var(--f-s4); margin: 0 0 var(--f-s4); }
@media (min-width: 640px) { .sp-fsec { padding: var(--f-s5); } }
.sp-fsec-head { display: flex; gap: var(--f-s3); align-items: flex-start; margin: 0 0 var(--f-s5); }
.sp-fsec-ic { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--f-accent-soft); font-size: 1.15rem; }
.sp-fsec-head h2 { font-family: var(--f-font); font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0 0 var(--f-s1); color: var(--f-text); letter-spacing: 0; }
.sp-fsec-head p { font-size: .84rem; line-height: 1.5; color: var(--f-dim); margin: 0; }

/* ---------- Fields ---------- */
html body.sp-pro .field-grid { display: grid; grid-template-columns: 1fr; gap: var(--f-s5); margin: 0; }
@media (min-width: 720px) { html body.sp-pro .field-grid { grid-template-columns: 1fr 1fr; gap: var(--f-s5) var(--f-s4); } }
html body.sp-pro .field-grid > .field.full, html body.sp-pro .field-grid > .sp-btype-field { grid-column: 1 / -1; }
html body.sp-pro .sp-fsec > .field { margin-top: var(--f-s5); }
html body.sp-pro .field { display: flex; flex-direction: column; gap: var(--f-s2); min-width: 0; }
html body.sp-pro .field label, html body.sp-pro .field > .lbl { font-size: .875rem; font-weight: 600; line-height: 1.35; color: var(--f-text); }
html body.sp-pro .field label.required::after, html body.sp-pro .field .required-asterisk { color: var(--f-danger); font-size: 1em; margin-left: 2px; }
.sp-help-txt, html body.sp-pro .field small { font-size: .78rem; line-height: 1.45; color: var(--f-dim); opacity: 1; }
html body.sp-pro .field input:not([type=radio]):not([type=checkbox]):not([type=file]),
html body.sp-pro .field select, html body.sp-pro .field textarea,
.sp-pro-form .sp-field input:not([type=radio]):not([type=checkbox]):not([type=file]),
.sp-pro-form .sp-field select, .sp-pro-form .sp-field textarea {
  width: 100%; min-height: var(--f-touch); padding: var(--f-s3) var(--f-s4); border-radius: var(--f-radius);
  border: 1.5px solid var(--f-border); background-color: var(--f-input); color: var(--f-text);
  font: 400 1rem/1.4 var(--f-font); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
html body.sp-pro .field textarea, .sp-pro-form .sp-field textarea { min-height: 120px; resize: vertical; }
html body.sp-pro .field input::placeholder, html body.sp-pro .field textarea::placeholder, .sp-pro-form .sp-field input::placeholder, .sp-pro-form .sp-field textarea::placeholder { color: var(--f-faint); opacity: 1; }
html body.sp-pro .field input:hover, html body.sp-pro .field select:hover, html body.sp-pro .field textarea:hover,
.sp-pro-form .sp-field input:hover, .sp-pro-form .sp-field select:hover, .sp-pro-form .sp-field textarea:hover { border-color: var(--f-border-strong); }
html body.sp-pro .field input:focus, html body.sp-pro .field select:focus, html body.sp-pro .field textarea:focus,
.sp-pro-form .sp-field input:focus, .sp-pro-form .sp-field select:focus, .sp-pro-form .sp-field textarea:focus { outline: none; border-color: var(--f-accent); box-shadow: var(--f-ring); }
html body.sp-pro .field [aria-invalid="true"], .sp-pro-form [aria-invalid="true"] { border-color: var(--f-danger) !important; }
/* Custom select chevron */
html body.sp-pro .field select, .sp-pro-form .sp-field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238aa39a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
html body.sp-pro .field select option { background: #0e1a17; color: #e9f1ef; }
html[data-theme="light"] body.sp-pro .field select option { background: #fff; color: #14211c; }
/* File inputs as tidy upload rows */
html body.sp-pro .field input[type=file], .sp-pro-form input[type=file] {
  width: 100%; min-height: var(--f-touch); padding: var(--f-s2); border: 1.5px dashed var(--f-border-strong); border-radius: var(--f-radius);
  background: var(--f-input); color: var(--f-dim); font: .85rem var(--f-font); cursor: pointer;
}
html body.sp-pro .field input[type=file]::file-selector-button, .sp-pro-form input[type=file]::file-selector-button {
  margin-right: var(--f-s3); min-height: 36px; padding: 0 var(--f-s4); border-radius: 10px; border: 1px solid var(--f-accent);
  background: var(--f-accent-soft); color: var(--f-text); font: 600 .85rem var(--f-font); cursor: pointer;
}
html body.sp-pro .field input[type=file]:focus-visible { outline: none; box-shadow: var(--f-ring); border-color: var(--f-accent); }

/* ---------- Option cards (radio groups) ---------- */
.sp-optcards { display: grid; grid-template-columns: 1fr; gap: var(--f-s3); }
.sp-optcards.two { grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { .sp-optcards.three { grid-template-columns: repeat(3, 1fr); } }
.sp-opt, html body.sp-pro .sp-btype-opt { position: relative; display: block; cursor: pointer; margin: 0 !important; }
.sp-opt input, html body.sp-pro .sp-btype-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sp-opt > span, html body.sp-pro .sp-btype-opt > span {
  display: flex; align-items: center; gap: var(--f-s3); min-height: 56px; height: 100%; padding: var(--f-s3) var(--f-s4);
  border-radius: 14px; border: 1.5px solid var(--f-border); background: var(--f-input); color: var(--f-text);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.sp-opt > span::after, html body.sp-pro .sp-btype-opt > span::after {
  content: ""; flex: 0 0 20px; height: 20px; margin-left: auto; border-radius: 50%; border: 2px solid var(--f-border-strong); background: transparent;
  box-sizing: border-box; transition: all .15s;
}
.sp-opt .oi, html body.sp-pro .sp-btype-opt .oi { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: var(--f-section); }
.sp-opt .ot, html body.sp-pro .sp-btype-opt .ot { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-opt strong, html body.sp-pro .sp-btype-opt strong { display: block; font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--f-text); }
.sp-opt small, html body.sp-pro .sp-btype-opt small { display: block; font-size: .78rem; line-height: 1.4; color: var(--f-dim); opacity: 1; }
.sp-opt:hover > span, html body.sp-pro .sp-btype-opt:hover > span { border-color: var(--f-border-strong); }
.sp-opt input:checked + span, html body.sp-pro .sp-btype-opt input:checked + span { border-color: var(--f-accent); background: var(--f-accent-soft); box-shadow: 0 0 0 1px var(--f-accent) inset; }
.sp-opt input:checked + span::after, html body.sp-pro .sp-btype-opt input:checked + span::after { border-color: var(--f-accent); background: var(--f-accent); box-shadow: inset 0 0 0 4px var(--f-input); }
.sp-opt input:focus-visible + span, html body.sp-pro .sp-btype-opt input:focus-visible + span { box-shadow: var(--f-ring); border-color: var(--f-accent); }
html body.sp-pro .sp-btype { display: grid; grid-template-columns: 1fr; gap: var(--f-s3); margin: 0; }
@media (min-width: 420px) { html body.sp-pro .sp-btype { grid-template-columns: 1fr 1fr; } html body.sp-pro .sp-btype-opt > span { flex-direction: column; align-items: flex-start; padding: var(--f-s4); } html body.sp-pro .sp-btype-opt > span::after { position: absolute; top: var(--f-s4); right: var(--f-s4); } }
html body.sp-pro .sp-btype.sp-invalid .sp-btype-opt > span, .sp-optcards.sp-invalid .sp-opt > span { border-color: var(--f-danger); }
#worksFromGroup[style*="outline"] { outline: none !important; }
#worksFromGroup[style*="solid"] .sp-opt > span { border-color: var(--f-danger); }

/* ---------- Checkbox consent rows ---------- */
html body.sp-pro .sp-legal-agree { display: flex !important; gap: var(--f-s3) !important; align-items: flex-start !important; margin: 0 0 var(--f-s3) !important; padding: var(--f-s4); border-radius: var(--f-radius); border: 1.5px solid var(--f-border); background: var(--f-input); font-size: .875rem !important; line-height: 1.55 !important; cursor: pointer; color: var(--f-text); }
html body.sp-pro .sp-legal-agree:has(input:checked) { border-color: var(--f-accent); background: var(--f-accent-soft); }
html body.sp-pro .sp-legal-agree input[type=checkbox], .sp-pro-form input[type=checkbox], #spApplyGate input[type=checkbox] { flex: 0 0 22px; width: 22px !important; height: 22px; margin: 1px 0 0 !important; accent-color: var(--f-accent); cursor: pointer; }
html body.sp-pro .sp-legal-agree a { color: var(--f-accent); text-decoration: underline; text-underline-offset: 2px; }
.sp-callout { display: flex; gap: var(--f-s3); padding: var(--f-s4); border-radius: var(--f-radius); font-size: .85rem; line-height: 1.55; margin: 0 0 var(--f-s4); color: var(--f-text); }
.sp-callout .ic { flex: 0 0 auto; font-size: 1.1rem; line-height: 1.35; }
.sp-callout.info { background: var(--f-accent-soft); border: 1px solid color-mix(in srgb, var(--f-accent) 35%, transparent); }
.sp-callout.warn { background: var(--f-warn-soft); border: 1px solid color-mix(in srgb, var(--f-warn) 50%, transparent); }
.sp-callout a { color: var(--f-accent); font-weight: 600; }
html body.sp-pro .pill-note { display: none; }
html body.sp-pro .sp-banned-box { display: none; }

/* Store image block */
.sp-pro .sp-store-img-choice { display: grid !important; grid-template-columns: 1fr; gap: var(--f-s3) !important; margin: 0 0 var(--f-s4) !important; }
@media (min-width: 480px) { .sp-pro .sp-store-img-choice { grid-template-columns: 1fr 1fr; } }
.sp-pro #storeLogoPreviewBox, .sp-pro #storeLogoPlaceholderPreview { padding: var(--f-s3) var(--f-s4) !important; border-radius: var(--f-radius) !important; gap: var(--f-s3) !important; flex-wrap: wrap; border-color: var(--f-border) !important; background: var(--f-input) !important; color: var(--f-text); }
.sp-pro #storeLogoPreviewBox strong { color: var(--f-accent) !important; }

/* ---------- Errors / success ---------- */
html body.sp-pro .error-popup { background: var(--f-danger-soft) !important; border: 1.5px solid var(--f-danger) !important; color: var(--f-danger) !important; border-radius: var(--f-radius); padding: var(--f-s3) var(--f-s4); margin: 0 0 var(--f-s4); font-size: .9rem; box-shadow: none; }
html body.sp-pro .success { border-radius: var(--f-radius); padding: var(--f-s4); margin-top: var(--f-s4); line-height: 1.55; }

/* ---------- Buttons ---------- */
html body.sp-pro .wizard-actions { display: flex; gap: var(--f-s3); margin-top: var(--f-s5); padding-top: var(--f-s5); border-top: 1px solid var(--f-border); }
html body.sp-pro .wizard-actions .btn { flex: 1; }
html body.sp-pro .btn { min-height: var(--f-touch); padding: 0 var(--f-s5); border-radius: var(--f-radius); font: 700 .95rem var(--f-font); letter-spacing: .01em; text-transform: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--f-s2); border: 1.5px solid var(--f-border-strong); background: transparent; color: var(--f-text); box-shadow: none; }
html body.sp-pro #nextBtn, html body.sp-pro .btn.primary { background: var(--f-accent); border-color: var(--f-accent); color: var(--f-accent-ink); }
html body.sp-pro .btn:hover { filter: brightness(1.06); box-shadow: none; }
html body.sp-pro .btn:focus-visible { outline: none; box-shadow: var(--f-ring); }
html body.sp-pro .btn.ghost { color: var(--f-dim); }
@media (max-width: 640px) { html body.sp-pro .wizard-actions { flex-direction: column-reverse; } }
html body.sp-pro .btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Side panel ---------- */
html body.sp-pro .side-panel { border-radius: var(--f-radius-lg); padding: var(--f-s5); background: var(--f-surface); border: 1px solid var(--f-border); }
html body.sp-pro .side-panel h3 { font-family: var(--f-font); font-size: 1rem; margin: 0 0 var(--f-s3); color: var(--f-text); }
html body.sp-pro .side-panel ul { display: grid; gap: var(--f-s3); padding-left: var(--f-s4); color: var(--f-dim); font-size: .875rem; line-height: 1.55; }
html body.sp-pro .sp-help { gap: var(--f-s3); }
html body.sp-pro .sp-help .help-card { padding: var(--f-s5) var(--f-s4); border-radius: 16px; background: var(--f-surface); border: 1px solid var(--f-border); }
html body.sp-pro .sp-help h3, html body.sp-pro .sp-help h4 { font-family: var(--f-font); margin: 0 0 var(--f-s3); color: var(--f-text); }
html body.sp-pro .sp-help ol, html body.sp-pro .sp-help ul { gap: var(--f-s3); }
html body.sp-pro .sp-help .num { background: var(--f-accent-soft); color: var(--f-accent); }
html body.sp-pro .sp-help a { color: var(--f-accent); }

/* ---------- Category chip picker (sp-catpicker.js) ---------- */
.sp-catpick { display: flex; flex-wrap: wrap; gap: var(--f-s2); margin: 0; }
.sp-catpick label { position: relative; display: inline-flex !important; align-items: center; gap: var(--f-s2); min-height: 44px; padding: 0 var(--f-s4) !important; border-radius: 999px; border: 1.5px solid var(--f-border) !important; background: var(--f-input); color: var(--f-text) !important; font: 500 .875rem/1.2 var(--f-font) !important; cursor: pointer; user-select: none; transition: all .15s; }
.sp-catpick label:hover { border-color: var(--f-border-strong) !important; }
.sp-catpick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sp-catpick label::before { content: "+"; font-weight: 700; color: var(--f-faint); width: 14px; text-align: center; }
.sp-catpick label.on { border-color: var(--f-accent) !important; background: var(--f-accent-soft); font-weight: 600 !important; }
.sp-catpick label.on::before { content: "✓"; color: var(--f-accent); }
.sp-catpick label:has(input:focus-visible) { box-shadow: var(--f-ring); border-color: var(--f-accent) !important; }
.sp-catpick label .pri { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: var(--f-accent); color: var(--f-accent-ink); }
.sp-catpick-add { display: flex; gap: var(--f-s2); margin-top: var(--f-s3); }
.sp-catpick-add input { flex: 1; min-width: 0; min-height: var(--f-touch) !important; padding: 0 var(--f-s4) !important; border-radius: var(--f-radius) !important; border: 1.5px dashed var(--f-border-strong) !important; background: var(--f-input) !important; color: var(--f-text) !important; font: 1rem var(--f-font) !important; }
.sp-catpick-add input:focus { outline: none; border-style: solid !important; border-color: var(--f-accent) !important; box-shadow: var(--f-ring); }
.sp-catpick-add button { min-height: var(--f-touch) !important; padding: 0 var(--f-s4) !important; border-radius: var(--f-radius) !important; border: 1.5px solid var(--f-accent) !important; background: var(--f-accent-soft) !important; color: var(--f-text) !important; font: 700 .9rem var(--f-font) !important; cursor: pointer; white-space: nowrap; width: auto !important; text-transform: none !important; letter-spacing: 0 !important; }
.sp-catpick-hint { font-size: .78rem !important; color: var(--f-dim); opacity: 1 !important; margin: var(--f-s2) 0 0 !important; line-height: 1.45; }

/* ---------- Apply gate pop-up (sp-apply-gate.js) ---------- */
#spApplyGate { background: rgba(3, 8, 6, .72) !important; backdrop-filter: blur(4px); padding: var(--f-s4) !important; align-items: flex-end !important; }
@media (min-width: 560px) { #spApplyGate { align-items: center !important; } }
#spApplyGate .spg-card { background: var(--f-surface); color: var(--f-text); border: 1px solid var(--f-border); border-radius: var(--f-radius-lg); width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: 0 24px 64px rgba(0,0,0,.45); font-family: var(--f-font); }
#spApplyGate .spg-head { padding: var(--f-s5) var(--f-s5) var(--f-s4); display: flex; gap: var(--f-s3); align-items: flex-start; border-bottom: 1px solid var(--f-border); }
#spApplyGate .spg-head .sp-fsec-ic { background: var(--f-danger-soft); }
#spApplyGate h3 { margin: 0 0 var(--f-s1); font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
#spApplyGate .spg-sub { margin: 0; font-size: .84rem; color: var(--f-dim); line-height: 1.5; }
#spApplyGate .spg-body { padding: var(--f-s4) var(--f-s5); }
#spApplyGate .spg-list { list-style: none; margin: 0 0 var(--f-s4); padding: 0; display: grid; gap: var(--f-s2); }
#spApplyGate .spg-list li { display: flex; gap: var(--f-s3); align-items: center; font-size: .875rem; line-height: 1.4; padding: var(--f-s2) var(--f-s3); border-radius: 10px; background: var(--f-section); }
#spApplyGate .spg-list li::before { content: "✕"; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--f-danger-soft); color: var(--f-danger); }
#spApplyGate .spg-ck { display: flex; gap: var(--f-s3); align-items: flex-start; padding: var(--f-s4); border-radius: var(--f-radius); border: 1.5px solid var(--f-border); background: var(--f-input); font-size: .875rem; line-height: 1.5; cursor: pointer; margin: 0; }
#spApplyGate .spg-ck:has(input:checked) { border-color: var(--f-accent); background: var(--f-accent-soft); }
#spApplyGate .spg-foot { display: flex; gap: var(--f-s3); padding: var(--f-s4) var(--f-s5) var(--f-s5); }
#spApplyGate .spg-foot button { flex: 1; min-height: var(--f-touch); border-radius: var(--f-radius); font: 700 .95rem var(--f-font); cursor: pointer; padding: 0 var(--f-s4); }
#spApplyGate #spApplyGateNo { background: transparent; border: 1.5px solid var(--f-border-strong); color: var(--f-text); }
#spApplyGate #spApplyGateGo { background: var(--f-accent); border: 1.5px solid var(--f-accent); color: var(--f-accent-ink); }
#spApplyGate #spApplyGateGo:disabled { opacity: .45; cursor: not-allowed; }
#spApplyGate a { color: var(--f-accent); font-weight: 600; }
#spApplyGate button:focus-visible { outline: none; box-shadow: var(--f-ring); }

/* ---------- Seller dashboard settings (.sp-pro-form) ---------- */
.sp-pro-form.sp-panel { padding: var(--f-s5) var(--f-s4); font-family: var(--f-font); }
@media (min-width: 640px) { .sp-pro-form.sp-panel { padding: var(--f-s6); } }
.sp-pro-form .sp-fsec { margin-bottom: var(--f-s4); }
.sp-pro-form .sp-grid { display: grid; grid-template-columns: 1fr; gap: var(--f-s5) var(--f-s4); }
@media (min-width: 720px) { .sp-pro-form .sp-grid { grid-template-columns: 1fr 1fr; } }
.sp-pro-form .sp-field { margin: 0; gap: var(--f-s2); min-width: 0; }
.sp-pro-form .sp-field > label { font-size: .875rem; font-weight: 600; color: var(--f-text); line-height: 1.35; }
.sp-pro-form .sp-check { display: flex; gap: var(--f-s3); align-items: center; min-height: 56px; padding: 0 var(--f-s4); border-radius: var(--f-radius); border: 1.5px solid var(--f-border); background: var(--f-input); font-size: .9rem; font-weight: 500; cursor: pointer; color: var(--f-text); }
.sp-pro-form .sp-check:has(input:checked) { border-color: var(--f-accent); background: var(--f-accent-soft); }
.sp-pro-form .sp-muted { color: var(--f-dim); font-size: .84rem; line-height: 1.5; }
.sp-pro-form .sp-btn { min-height: var(--f-touch); padding: 0 var(--f-s5); border-radius: var(--f-radius); font-family: var(--f-font); }
.sp-pro-form .sp-btn.sm { min-height: 40px; padding: 0 var(--f-s4); font-size: .82rem; }
.sp-pro-form .sp-savebar { position: sticky; bottom: 0; margin: var(--f-s5) calc(-1 * var(--f-s4)) calc(-1 * var(--f-s5)); padding: var(--f-s4); background: var(--f-surface); border-top: 1px solid var(--f-border); border-radius: 0 0 18px 18px; display: flex; gap: var(--f-s3); align-items: center; z-index: 5; }
.sp-pro-form .sp-savebar .sp-btn { flex: 1; }
@media (min-width: 640px) { .sp-pro-form .sp-savebar { margin: var(--f-s5) calc(-1 * var(--f-s6)) calc(-1 * var(--f-s6)); padding: var(--f-s4) var(--f-s6); } .sp-pro-form .sp-savebar .sp-btn { flex: 0 0 auto; } }
.sp-pro-form .sp-hours-edit { display: grid; gap: var(--f-s2); }
.sp-opt-tag{font-weight:400;color:var(--f-faint);font-size:.8rem}
.sp-pro .hero{display:none}
.sp-pro [hidden], .sp-pro-form [hidden] { display: none !important; }
#spApplyGate h3 { font-family: var(--f-font) !important; letter-spacing: 0 !important; color: var(--f-text); }
#spApplyGate .spg-foot { position: sticky; bottom: 0; background: var(--f-surface); border-top: 1px solid var(--f-border); padding-top: var(--f-s4); }
.sp-fsec-head h2 { color: var(--f-text) !important; font-family: var(--f-font) !important; }
.tab-content > .sp-pro-form.sp-panel { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.tab-content > .sp-pro-form .sp-savebar { margin: var(--f-s5) 0 0; border-radius: var(--f-radius); border: 1px solid var(--f-border); }
@media (max-width: 480px) { .sp-pro-form .sp-fsec { padding: var(--f-s5) var(--f-s4); } }
html body.sp-pro .field label.required::after { content: "*"; margin-left: 4px; vertical-align: baseline; }
#spApplyGate .spg-foot button { text-transform: none !important; letter-spacing: 0 !important; width: auto !important; }
