@import url("tokens.css");
:root {
  --swpc-bg: #f6f8fb;
  --swpc-panel: #ffffff;
  --swpc-ink: #102033;
  --swpc-muted: #66748a;
  --swpc-line: #dfe6ef;
  --swpc-soft: #eef3f9;
  --swpc-blue: #0f3d73;
  --swpc-blue-soft: #e8f1fb;
  --swpc-green: #0f766e;
  --swpc-red: #b42318;
  --swpc-radius: 18px;
  --swpc-shadow: 0 16px 45px rgba(15, 35, 64, .09);
}

.swpc-configurator {
  margin: 28px 0;
  color: var(--swpc-ink);
  font-family: inherit;
}

.swpc-shell {
  background: var(--swpc-bg);
  border: 1px solid var(--swpc-line);
  border-radius: 24px;
  padding: 22px;
}

.swpc-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.swpc-kicker {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--swpc-blue);
}

.swpc-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.swpc-subtitle {
  margin: 8px 0 0;
  color: var(--swpc-muted);
  max-width: 680px;
}

.swpc-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 22px;
}

.swpc-step {
  border: 1px solid var(--swpc-line);
  background: var(--swpc-panel);
  border-radius: 999px;
  padding: 9px 11px;
  font-size: 13px;
  color: var(--swpc-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.swpc-step span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--swpc-soft);
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.swpc-step.is-active {
  color: var(--swpc-blue);
  border-color: rgba(15,61,115,.35);
  box-shadow: 0 8px 22px rgba(15,61,115,.08);
}

.swpc-step.is-active span:first-child {
  color: #fff;
  background: var(--swpc-blue);
}

.swpc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.swpc-card,
.swpc-summary {
  background: var(--swpc-panel);
  border: 1px solid var(--swpc-line);
  border-radius: var(--swpc-radius);
  box-shadow: var(--swpc-shadow);
}

.swpc-card {
  padding: 22px;
}

.swpc-summary {
  padding: 20px;
  position: sticky;
  top: 24px;
}

.swpc-section-title {
  margin: 0 0 6px;
  font-size: 22px;
}

.swpc-section-note {
  margin: 0 0 18px;
  color: var(--swpc-muted);
}

.swpc-fields {
  display: grid;
  gap: 18px;
}

.swpc-field-label {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 700;
}

.swpc-help {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--swpc-soft);
  color: var(--swpc-muted);
  cursor: help;
}

.swpc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
}

.swpc-option {
  appearance: none;
  width: 100%;
  min-height: 72px;
  padding: 13px;
  border: 1px solid var(--swpc-line);
  border-radius: 16px;
  background: #fff;
  color: var(--swpc-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.swpc-option:hover:not(:disabled) {
  border-color: rgba(15,61,115,.38);
  transform: translateY(-1px);
}

.swpc-option.is-selected {
  border-color: var(--swpc-blue);
  background: var(--swpc-blue-soft);
  box-shadow: 0 0 0 3px rgba(15,61,115,.08);
}

.swpc-option:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.swpc-option-code {
  display: block;
  font-weight: 800;
  font-size: 15px;
}

.swpc-option-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--swpc-muted);
}

.swpc-input {
  width: 100%;
  border: 1px solid var(--swpc-line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 16px;
  min-height: 46px;
}

.swpc-input-wrap {
  position: relative;
}

.swpc-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--swpc-muted);
  font-size: 13px;
}

.swpc-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.swpc-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.swpc-btn-primary {
  background: var(--swpc-blue);
  color: #fff;
}

.swpc-btn-secondary {
  background: #fff;
  border-color: var(--swpc-line);
  color: var(--swpc-ink);
}

.swpc-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.swpc-summary h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.swpc-code {
  background: #0e1726;
  color: #e7eefb;
  border-radius: 14px;
  padding: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
  min-height: 47px;
}

.swpc-status {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid var(--swpc-line);
  background: var(--swpc-soft);
  font-size: 14px;
}

.swpc-status.is-ok {
  border-color: rgba(15,118,110,.32);
  background: #ecfdf5;
}

.swpc-status.is-warn {
  border-color: rgba(180,35,24,.25);
  background: #fff1f0;
}

.swpc-status strong {
  display: block;
  margin-bottom: 4px;
}

.swpc-price {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 800;
}

.swpc-selected-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.swpc-selected-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--swpc-line);
  padding-top: 8px;
}

.swpc-selected-row span:first-child {
  color: var(--swpc-muted);
}

.swpc-loading,
.swpc-error {
  padding: 18px;
  border: 1px solid var(--swpc-line);
  border-radius: var(--swpc-radius);
  background: #fff;
}

@media (max-width: 860px) {
  .swpc-shell { padding: 14px; }
  .swpc-header { display: block; }
  .swpc-stepper { grid-template-columns: 1fr; }
  .swpc-grid { grid-template-columns: 1fr; }
  .swpc-summary { position: static; }
  .swpc-card { padding: 18px; }
}

.swpc-add-cart,
.swpc-final-add {
  width: 100%;
  margin-top: 14px;
}

/* v1.1.2: clearer step/field separation + quote request flow */
.swpc-step { position: relative; overflow: hidden; }
.swpc-step::before {
  content: "";
  width: 4px;
  align-self: stretch;
  border-radius: 999px;
  background: var(--swpc-step-accent, var(--swpc-blue));
  opacity: .55;
}
.swpc-step--modell { --swpc-step-accent: #0f3d73; }
.swpc-step--tilkobling { --swpc-step-accent: #2563eb; }
.swpc-step--material { --swpc-step-accent: #0f766e; }
.swpc-step--instrument { --swpc-step-accent: #7c3aed; }
.swpc-step--summary { --swpc-step-accent: #b45309; }
.swpc-step.is-active { background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--swpc-step-accent, var(--swpc-blue)) 8%, #fff)); }
.swpc-step.is-active span:first-child { background: var(--swpc-step-accent, var(--swpc-blue)); }

.swpc-card { border-top: 5px solid var(--swpc-card-accent, var(--swpc-blue)); }
.swpc-card--modell { --swpc-card-accent: #0f3d73; }
.swpc-card--tilkobling { --swpc-card-accent: #2563eb; }
.swpc-card--material { --swpc-card-accent: #0f766e; }
.swpc-card--instrument { --swpc-card-accent: #7c3aed; }
.swpc-card--summary { --swpc-card-accent: #b45309; }

.swpc-field {
  padding: 16px;
  border: 1px solid rgba(223,230,239,.9);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, rgba(246,248,251,.72));
}
.swpc-field + .swpc-field { margin-top: 2px; }
.swpc-field.is-next-target {
  box-shadow: 0 0 0 4px rgba(15,61,115,.11), var(--swpc-shadow);
  border-color: rgba(15,61,115,.36);
}
.swpc-field-label { margin-bottom: 12px; }

.swpc-quote {
  margin-top: 14px;
  border-top: 1px solid var(--swpc-line);
  padding-top: 14px;
}
.swpc-quote-toggle { width: 100%; }
.swpc-quote-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.swpc-quote-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--swpc-muted);
  font-weight: 700;
}
.swpc-quote-form textarea.swpc-input {
  resize: vertical;
  min-height: 76px;
}
.swpc-inline-ok,
.swpc-inline-error {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.swpc-inline-ok {
  background: #ecfdf5;
  color: var(--swpc-green);
  border: 1px solid rgba(15,118,110,.24);
}
.swpc-inline-error {
  background: #fff1f0;
  color: var(--swpc-red);
  border: 1px solid rgba(180,35,24,.24);
}


/* v1.1.3: compact quote request, single form only in final step */
.swpc-summary-quote { width: 100%; margin: 10px 0 6px; }
.swpc-quote--compact { margin-top: 14px; padding: 16px; border: 1px solid #dbe5f2; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(15, 36, 66, .06); }
.swpc-quote-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; }
.swpc-quote-head strong { font-size: 15px; color: #0f1f33; }
.swpc-quote-head span { font-size: 12px; color: #5f6f86; }
.swpc-quote-form--compact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) auto; gap: 10px; align-items: end; }
.swpc-quote-form--compact label { margin: 0; font-size: 12px; color: #47556a; font-weight: 650; }
.swpc-muted { color: #7c8ca3; font-weight: 500; }
.swpc-quote-form--compact .swpc-btn { min-height: 42px; white-space: nowrap; }
@media (max-width: 760px) {
  .swpc-quote-form--compact { grid-template-columns: 1fr; }
}

/* v1.1.4: quote request is collapsed by default to avoid form overload */
.swpc-quote-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #dbe5f2;
  border-radius: 16px;
  background: #fff;
}
.swpc-quote-mini span {
  color: #526178;
  font-size: 13px;
  font-weight: 650;
}
.swpc-quote--minimal {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #dbe5f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 36, 66, .06);
}
.swpc-quote-form--minimal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.swpc-quote-form--minimal label,
.swpc-quote-phone label {
  margin: 0;
  font-size: 12px;
  color: #47556a;
  font-weight: 650;
}
.swpc-quote-secondary {
  appearance: none;
  border: 0;
  background: transparent;
  color: #0b4b89;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 0 0;
  cursor: pointer;
}
.swpc-quote-phone { margin-top: 8px; }
@media (max-width: 760px) {
  .swpc-quote-mini,
  .swpc-quote-form--minimal { grid-template-columns: 1fr; align-items: stretch; }
  .swpc-quote-mini { display: grid; }
}


/* v1.1.5: quote form is main-panel only; summary/right column stays configuration-only */
.swpc-summary .swpc-quote,
.swpc-summary .swpc-quote-mini,
.swpc-summary [data-quote-field],
.swpc-summary [data-quote-send] {
  display: none !important;
}
.swpc-card--summary .swpc-quote {
  border: 1px solid #d8e3f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 18px;
  padding: 16px;
  margin-top: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.swpc-card--summary .swpc-quote-head strong { color: #0f172a; }
.swpc-card--summary .swpc-quote-head span { color: #64748b; }
.swpc-card--summary .swpc-quote-form--minimal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
.swpc-card--summary .swpc-quote-form--minimal label { margin: 0; }
@media (max-width: 760px) {
  .swpc-card--summary .swpc-quote-form--minimal { grid-template-columns: 1fr; }
}


/* v1.1.7: customer visual polish + section readability pass */
.swpc-shell {
  background:
    radial-gradient(circle at 20% 0%, rgba(37,99,235,.05), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

.swpc-stepper {
  align-items: stretch;
}

.swpc-step {
  min-height: 42px;
  box-shadow: 0 1px 0 rgba(15,35,64,.04);
}

.swpc-step.is-complete:not(.is-active) {
  border-color: rgba(15,118,110,.22);
  color: #0f5f59;
  background: linear-gradient(180deg, #ffffff 0%, #f2fbf8 100%);
}

.swpc-step.is-complete:not(.is-active) span:first-child {
  background: #dff7ef;
  color: #0f766e;
}

.swpc-step.is-locked {
  opacity: .62;
}

.swpc-card {
  overflow: hidden;
}

.swpc-card::before {
  content: "";
  display: block;
  height: 0;
}

.swpc-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swpc-section-title::before {
  content: "";
  width: 10px;
  height: 24px;
  border-radius: 999px;
  background: var(--swpc-card-accent, var(--swpc-blue));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--swpc-card-accent, var(--swpc-blue)) 12%, transparent);
}

.swpc-fields {
  gap: 14px;
}

.swpc-field {
  position: relative;
  padding: 17px 18px 18px 20px;
  border-color: #dbe5f2;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 24px rgba(15, 35, 64, .035);
}

.swpc-field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--swpc-card-accent, var(--swpc-blue));
  opacity: .34;
}

.swpc-field.is-filled {
  border-color: color-mix(in srgb, var(--swpc-card-accent, var(--swpc-blue)) 30%, #dbe5f2);
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--swpc-card-accent, var(--swpc-blue)) 5%, #ffffff) 100%);
}

.swpc-field.is-filled::before {
  opacity: .78;
}

.swpc-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.swpc-field-label {
  margin-bottom: 0;
  font-size: 15px;
}

.swpc-required {
  color: #b42318;
  font-weight: 800;
}

.swpc-field-state {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #0f766e;
  background: #e9fbf5;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 999px;
  padding: 4px 8px;
}

.swpc-options {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.swpc-option {
  min-height: 64px;
  padding: 12px 13px;
  border-color: #d9e4f1;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.swpc-option.is-selected {
  background: linear-gradient(180deg, color-mix(in srgb, var(--swpc-card-accent, var(--swpc-blue)) 12%, #fff) 0%, #fff 100%);
  border-color: var(--swpc-card-accent, var(--swpc-blue));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--swpc-card-accent, var(--swpc-blue)) 14%, transparent);
}

.swpc-option-code {
  font-size: 15px;
}

.swpc-option-label {
  font-size: 12px;
  line-height: 1.25;
}

.swpc-input:focus,
.swpc-option:focus-visible,
.swpc-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--swpc-card-accent, var(--swpc-blue)) 28%, transparent);
  outline-offset: 2px;
}

.swpc-summary {
  box-shadow: 0 16px 40px rgba(15, 35, 64, .08);
}

.swpc-summary h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swpc-summary h3::before {
  content: "";
  width: 8px;
  height: 20px;
  border-radius: 999px;
  background: #b45309;
}

.swpc-code {
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.swpc-selected-list {
  max-height: 465px;
  overflow: auto;
  padding-right: 3px;
}

.swpc-selected-row strong {
  text-align: right;
}

.swpc-quote-mini {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.swpc-card--summary .swpc-quote {
  max-width: 100%;
}

.swpc-card--summary .swpc-quote-form--minimal {
  grid-template-columns: minmax(0, 1fr) auto;
}

.swpc-card--summary .swpc-quote .swpc-input {
  min-height: 50px;
}

.swpc-inline-ok,
.swpc-inline-error {
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .swpc-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .swpc-options { grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); }
}

@media (max-width: 860px) {
  .swpc-stepper { grid-template-columns: 1fr 1fr; }
  .swpc-step { min-width: 0; }
  .swpc-summary { order: -1; }
  .swpc-selected-list { max-height: none; }
}

@media (max-width: 560px) {
  .swpc-stepper { grid-template-columns: 1fr; }
  .swpc-options { grid-template-columns: 1fr 1fr; }
  .swpc-card--summary .swpc-quote-form--minimal { grid-template-columns: 1fr; }
}


/* v1.1.8: Claude Design alignment polish
   Source alignment: Promas handover customer-desktop/customer-mobile/state references.
   Keeps the right summary configuration-only and main panel as the only quote/request area. */
.swpc-configurator {
  max-width: 1160px;
  margin: 30px auto;
  padding: 0 14px;
  box-sizing: border-box;
}
.swpc-configurator *,
.swpc-configurator *::before,
.swpc-configurator *::after { box-sizing: border-box; }

.swpc-shell {
  border-radius: 24px;
  border-color: #d8e3f0;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(37,99,235,.055), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}
.swpc-header { margin-bottom: 20px; }
.swpc-kicker { color: #0f3d73; letter-spacing: .095em; }
.swpc-title { letter-spacing: -.035em; color: #0f172a; }
.swpc-subtitle { font-size: 16px; line-height: 1.65; color: #53657d; }

.swpc-stepper {
  gap: 10px;
  margin: 18px 0 24px;
}
.swpc-step {
  appearance: none;
  min-height: 43px;
  padding: 8px 13px 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border-color: #d9e4f1;
  color: #53657d;
  font-weight: 750;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 1px 2px rgba(15,35,64,.035);
}
.swpc-step::before { width: 4px; min-width: 4px; opacity: .62; }
.swpc-step span:first-child {
  width: 24px;
  height: 24px;
  background: #edf3fa;
  color: #6b7c93;
  font-size: 12px;
}
.swpc-step.is-active {
  color: #083b73;
  border-color: rgba(15,61,115,.42);
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--swpc-step-accent, #0f3d73) 7%, #fff) 100%);
  box-shadow: 0 10px 24px rgba(15,61,115,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.swpc-step.is-active span:first-child {
  background: var(--swpc-step-accent, #0f3d73);
  color: #fff;
}
.swpc-step.is-complete:not(.is-active) {
  border-color: #cfe1f5;
  background: #fff;
  color: #1e4d79;
}
.swpc-step.is-complete:not(.is-active) span:first-child::after {
  content: "✓";
  font-size: 12px;
}
.swpc-step.is-complete:not(.is-active) span:first-child { font-size: 0; }
.swpc-step:focus-visible,
.swpc-option:focus-visible,
.swpc-btn:focus-visible,
.swpc-input:focus-visible {
  outline: 3px solid rgba(15,61,115,.18);
  outline-offset: 2px;
}

.swpc-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
}
.swpc-card,
.swpc-summary {
  border-color: #dbe5f2;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(15,35,64,.08);
}
.swpc-card {
  padding: 24px;
  border-top-width: 4px;
}
.swpc-summary {
  padding: 20px;
  top: 24px;
}
.swpc-section-title {
  margin-bottom: 8px;
  font-size: 23px;
  letter-spacing: -.02em;
}
.swpc-section-title::before {
  width: 8px;
  height: 25px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--swpc-card-accent, #0f3d73) 10%, transparent);
}
.swpc-section-note {
  margin-bottom: 20px;
  color: #5c6f88;
  font-size: 15px;
}

.swpc-fields { gap: 16px; }
.swpc-field {
  padding: 17px 18px 18px 20px;
  border-radius: 17px;
  border-color: #dce7f4;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 24px rgba(15,35,64,.035);
}
.swpc-field::before { top: 16px; bottom: 16px; opacity: .34; }
.swpc-field.is-filled {
  border-color: color-mix(in srgb, var(--swpc-card-accent, #0f3d73) 28%, #dbe5f2);
}
.swpc-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.swpc-field-label {
  margin: 0;
  color: #102033;
  font-size: 15px;
}
.swpc-field-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--swpc-card-accent, #0f3d73) 10%, #fff);
  color: color-mix(in srgb, var(--swpc-card-accent, #0f3d73) 70%, #0f172a);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.swpc-required { color: #b42318; margin-left: 2px; }
.swpc-help { width: 17px; height: 17px; font-size: 11px; }

.swpc-options {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.swpc-option {
  min-height: 70px;
  border-radius: 15px;
  padding: 13px 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.swpc-option:hover:not(:disabled) {
  border-color: rgba(15,61,115,.34);
  box-shadow: 0 10px 22px rgba(15,35,64,.055);
}
.swpc-option.is-selected {
  background: linear-gradient(180deg, #eff7ff 0%, #e7f1fc 100%);
  border-color: #0f3d73;
  box-shadow: 0 0 0 3px rgba(15,61,115,.08), 0 10px 22px rgba(15,35,64,.055);
}
.swpc-option-code { font-size: 15px; color: #0f172a; }
.swpc-option-label { color: #5f6f86; line-height: 1.25; }
.swpc-input {
  border-color: #d8e3f2;
  border-radius: 14px;
  min-height: 50px;
  color: #0f172a;
}

.swpc-summary h3 { font-size: 19px; letter-spacing: -.015em; }
.swpc-code {
  border-radius: 14px;
  background: #0d1728;
  color: #f3f7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  min-height: 49px;
}
.swpc-status {
  margin-top: 14px;
  border-radius: 14px;
  padding: 13px 14px;
  line-height: 1.45;
}
.swpc-status.is-warn { background: #fff1f0; border-color: #ffc4bd; color: #111827; }
.swpc-status.is-ok { background: #edfdf7; border-color: #bfe8dc; }
.swpc-selected-list { margin-top: 16px; gap: 0; }
.swpc-selected-row {
  min-height: 36px;
  align-items: center;
  padding: 8px 0;
  border-top-color: #dce6f2;
}
.swpc-selected-row span:first-child { color: #64748b; }
.swpc-selected-row strong { color: #0f172a; font-weight: 800; text-align: right; }

.swpc-actions {
  margin-top: 24px;
  align-items: center;
}
.swpc-btn {
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: none;
}
.swpc-btn-primary { background: #0f3d73; color: #fff; }
.swpc-btn-primary:hover:not(:disabled) { background: #0b315d; }
.swpc-btn-secondary { background: #fff; border-color: #d8e3f2; }

.swpc-quote-mini,
.swpc-card--summary .swpc-quote {
  border-color: #d8e3f2;
  border-radius: 18px;
  background: #fff;
}
.swpc-quote-mini { padding: 13px 15px; }
.swpc-card--summary .swpc-quote-form--minimal { grid-template-columns: minmax(0, 1fr) auto; }

@media (max-width: 980px) {
  .swpc-grid { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 860px) {
  .swpc-configurator { margin: 18px auto; padding: 0 10px; }
  .swpc-shell { padding: 14px; border-radius: 20px; }
  .swpc-title { font-size: 26px; }
  .swpc-subtitle { font-size: 14px; line-height: 1.55; }
  .swpc-stepper { grid-template-columns: 1fr; gap: 7px; }
  .swpc-grid { grid-template-columns: 1fr; gap: 16px; }
  .swpc-summary {
    position: sticky;
    bottom: 10px;
    top: auto;
    z-index: 20;
    padding: 15px;
    box-shadow: 0 18px 50px rgba(15,35,64,.18);
  }
  .swpc-summary .swpc-selected-list { max-height: 220px; overflow: auto; }
  .swpc-card { padding: 18px; }
  .swpc-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swpc-option { min-height: 66px; }
}
@media (max-width: 540px) {
  .swpc-options { grid-template-columns: 1fr; }
  .swpc-field-head { align-items: flex-start; }
  .swpc-quote-mini { display: grid; }
  .swpc-card--summary .swpc-quote-form--minimal { grid-template-columns: 1fr; }
}

/* v1.2.0: Claude prototype quote modal + confirmation state */
.swpc-quote-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--warn-border, #e4c7a0);
  border-radius: var(--r-lg, 12px);
  background: linear-gradient(to right, var(--warn-soft, #fff7ed), #fff 72%);
}
.swpc-quote-cta strong { display: block; color: var(--text, #1a2030); font-size: 14px; }
.swpc-quote-cta span { display: block; color: var(--text-muted, #5b6473); font-size: 12.5px; margin-top: 2px; }
.swpc-quote-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 24px;
  overflow: auto;
}
.swpc-quote-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,24,32,.55);
  backdrop-filter: blur(2px);
}
.swpc-quote-modal {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  background: #fff;
  border-radius: var(--r-lg, 12px);
  box-shadow: 0 30px 80px rgba(20,30,50,.35), 0 2px 6px rgba(20,30,50,.15);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  color: var(--text, #1a2030);
  font-family: var(--font-sans, inherit);
}
.swpc-quote-modal-head {
  grid-column: 1 / -1;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border, #e7e5e0);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.swpc-quote-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--warn-soft, #fff7ed);
  border: 1px solid var(--warn-border, #e4c7a0);
  color: #8a5a12;
  display: grid;
  place-items: center;
  font: 700 16px var(--font-mono, monospace);
  flex: none;
}
.swpc-quote-head-copy { flex: 1; }
.swpc-quote-head-copy h2 {
  margin: 10px 0 4px;
  font-family: var(--font-serif, Georgia, serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--text, #1a2030);
}
.swpc-quote-head-copy p {
  margin: 0;
  color: var(--text-muted, #5b6473);
  font-size: 13px;
  line-height: 1.5;
  max-width: 64ch;
}
.swpc-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 11px var(--font-mono, monospace);
  color: #895c13;
  background: var(--warn-soft, #fff7ed);
  border: 1px solid var(--warn-border, #e4c7a0);
  padding: 4px 10px;
  border-radius: 999px;
}
.swpc-quote-badge span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.swpc-quote-close {
  appearance: none;
  border: 0;
  background: transparent;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm, 6px);
  color: var(--text-subtle, #8a8f9c);
  font-size: 20px;
  cursor: pointer;
}
.swpc-quote-close:hover { background: var(--surface, #fafaf9); color: var(--text, #1a2030); }
.swpc-quote-modal-body { display: contents; }
.swpc-quote-modal-form {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.swpc-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.swpc-quote-grid--small { grid-template-columns: 110px 1fr; }
.swpc-quote-modal-form label,
.swpc-quote-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text, #1a2030);
}
.swpc-quote-modal-form label span { color: var(--accent, #53749e); }
.swpc-quote-modal-form label em { color: var(--text-subtle, #8a8f9c); font-style: normal; font-weight: 400; font-size: 11.5px; }
.swpc-quote-label { font-size: 12.5px; font-weight: 500; }
.swpc-quote-modal .swpc-input {
  border-color: var(--border-strong, #d3d1cb);
  border-radius: var(--r-sm, 6px);
  min-height: 40px;
  padding: 10px 12px;
  font: 14px var(--font-sans, inherit);
}
.swpc-quote-modal .swpc-input:focus { border-color: var(--accent, #53749e); box-shadow: var(--sh-focus, 0 0 0 3px rgba(83,116,158,.2)); outline: none; }
.swpc-textarea { min-height: 88px; resize: vertical; }
.swpc-urgency {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}
.swpc-urgency-card {
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-sm, 6px);
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text, #1a2030);
}
.swpc-urgency-card strong { font-weight: 500; font-size: 12.5px; }
.swpc-urgency-card span { color: var(--text-muted, #5b6473); font-size: 11px; line-height: 1.35; }
.swpc-urgency-card.is-on { border-color: var(--accent, #53749e); background: var(--accent-soft, #f1f4f8); box-shadow: inset 0 0 0 1px var(--accent, #53749e); }
.swpc-quote-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--text-muted, #5b6473) !important;
  line-height: 1.5;
  font-weight: 400 !important;
}
.swpc-quote-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent, #53749e); }
.swpc-quote-snapshot {
  background: var(--surface, #fafaf9);
  border-left: 1px solid var(--border, #e7e5e0);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.swpc-quote-snapshot h3 { margin: 8px 0 0; font-size: 13px; font-weight: 600; }
.swpc-quote-modelcode {
  background: #11151c;
  color: #e5e9f0;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  padding: 12px 14px;
  border-radius: var(--r-sm, 6px);
  line-height: 1.55;
  letter-spacing: .02em;
  word-break: break-all;
}
.swpc-quote-snapshot .swpc-selected-list { margin-top: 0; max-height: 320px; overflow: auto; }
.swpc-snapshot-note {
  background: #fff;
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-sm, 6px);
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--text-muted, #5b6473);
  line-height: 1.5;
}
.swpc-quote-modal-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border, #e7e5e0);
  background: var(--surface, #fafaf9);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted, #5b6473);
  font-size: 12px;
}
.swpc-quote-modal-foot strong { color: var(--text, #1a2030); font-family: var(--font-mono, monospace); }
.swpc-quote-modal-foot > div:last-child { display: flex; gap: 8px; }
.swpc-quote-confirm {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  background: var(--surface, #fafaf9);
  border-radius: var(--r-lg, 12px);
  box-shadow: 0 30px 80px rgba(20,30,50,.35), 0 2px 6px rgba(20,30,50,.15);
  padding: 34px;
  color: var(--text, #1a2030);
}
.swpc-quote-confirm-close { position: absolute; top: 14px; right: 14px; }
.swpc-confirm-head { text-align: center; margin-bottom: 24px; }
.swpc-confirm-check {
  width: 56px; height: 56px; margin: 0 auto 18px;
  background: var(--ok, #34845f); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px;
  box-shadow: 0 0 0 8px var(--ok-soft, #eefaf4);
}
.swpc-confirm-ref { font-family: var(--font-mono, monospace); font-size: 11.5px; letter-spacing: .08em; color: var(--ok, #34845f); margin-bottom: 8px; text-transform: uppercase; }
.swpc-confirm-head h2 { margin: 0 0 8px; font-family: var(--font-serif, Georgia, serif); font-weight: 400; font-size: 30px; letter-spacing: -.015em; }
.swpc-confirm-head p { margin: 0 auto; max-width: 56ch; color: var(--text-muted, #5b6473); font-size: 14px; line-height: 1.5; }
.swpc-confirm-timeline,
.swpc-confirm-summary {
  background: #fff;
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-lg, 12px);
  box-shadow: var(--sh-1, none);
  padding: 18px 24px;
  margin-bottom: 18px;
}
.swpc-confirm-row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; position: relative; }
.swpc-confirm-row + .swpc-confirm-row { border-top: 1px solid var(--border, #e7e5e0); }
.swpc-confirm-row > span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border, #e7e5e0); display: grid; place-items: center; font: 600 11px var(--font-mono, monospace); color: var(--text-muted, #5b6473); }
.swpc-confirm-row.is-done > span { background: var(--ok, #34845f); border-color: var(--ok, #34845f); color: #fff; }
.swpc-confirm-row.is-now > span { background: var(--accent, #53749e); border-color: var(--accent, #53749e); color: #fff; }
.swpc-confirm-row strong { display: block; font-size: 13.5px; }
.swpc-confirm-row p { margin: 3px 0 0; color: var(--text-muted, #5b6473); font-size: 12.5px; }
.swpc-confirm-actions { text-align: center; }
@media (max-width: 760px) {
  .swpc-quote-overlay { padding: 18px 12px; }
  .swpc-quote-modal { grid-template-columns: 1fr; }
  .swpc-quote-modal-head { padding: 18px; }
  .swpc-quote-modal-form { padding: 18px; }
  .swpc-quote-grid,
  .swpc-quote-grid--small,
  .swpc-urgency { grid-template-columns: 1fr; }
  .swpc-quote-snapshot { border-left: 0; border-top: 1px solid var(--border, #e7e5e0); padding: 18px; }
  .swpc-quote-modal-foot { display: grid; padding: 16px 18px; }
  .swpc-quote-modal-foot > div:last-child { justify-content: stretch; }
  .swpc-quote-modal-foot .swpc-btn { flex: 1; }
  .swpc-quote-confirm { padding: 28px 18px; }
}

/* v1.2.2 — Claude visual parity pass: customer configurator
   Uses the uploaded prototype tokens as the visual authority. */
.swpc-configurator {
  --swpc-bg: var(--surface, #fafaf9);
  --swpc-panel: #fff;
  --swpc-ink: var(--text, #1a2030);
  --swpc-muted: var(--text-muted, #5b6473);
  --swpc-subtle: var(--text-subtle, #8a8f9c);
  --swpc-line: var(--border, #e7e5e0);
  --swpc-soft: var(--surface, #fafaf9);
  --swpc-blue: var(--accent, #53749e);
  --swpc-blue-soft: var(--accent-soft, #f3f6fb);
  --swpc-green: var(--ok, #3f8b68);
  --swpc-red: var(--danger, #b45b4d);
  --swpc-radius: var(--r-lg, 12px);
  --swpc-shadow: var(--sh-1, 0 1px 2px rgba(20,30,50,.03));
  font-family: var(--font-sans, inherit);
  color: var(--swpc-ink);
  max-width: 1280px;
  margin: 24px auto 56px;
}
.swpc-shell {
  background: var(--surface, #fafaf9);
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-lg, 12px);
  padding: 24px;
  box-shadow: none;
}
.swpc-header { margin-bottom: 18px; }
.swpc-kicker,
.swpc-option-code,
.swpc-code,
.swpc-quote-modelcode,
.swpc-selected-list strong,
.swpc-summary code { font-family: var(--font-mono, ui-monospace, monospace); }
.swpc-kicker {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--text-subtle, #8a8f9c);
  margin-bottom: 8px;
}
.swpc-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -.015em;
}
.swpc-subtitle { font-size: 14px; line-height: 1.5; max-width: 68ch; color: var(--text-muted, #5b6473); }
.swpc-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 24px;
  padding: 0 0 8px;
}
.swpc-stepper::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 17px;
  height: 2px;
  background: var(--border, #e7e5e0);
  border-radius: 2px;
}
.swpc-step {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 48px;
  font-size: 13px;
}
.swpc-step span:first-child {
  width: auto;
  height: auto;
  min-width: 22px;
  padding-right: 8px;
  border-radius: 0;
  background: var(--surface, #fafaf9);
  color: var(--text-faint, #b7bac3);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.swpc-step span:last-child { color: var(--text-faint, #b7bac3); font-weight: 500; letter-spacing: -.005em; }
.swpc-step.is-complete span:first-child,
.swpc-step.is-complete span:last-child { color: var(--text-muted, #5b6473); }
.swpc-step.is-active span:first-child {
  background: var(--surface, #fafaf9);
  color: var(--accent, #53749e);
  font-weight: 600;
}
.swpc-step.is-active span:first-child::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #53749e);
  margin-left: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.swpc-step.is-active span:last-child { color: var(--text, #1a2030); font-weight: 600; }
.swpc-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
.swpc-card,
.swpc-summary {
  border-color: var(--border, #e7e5e0);
  border-radius: var(--r-lg, 12px);
  box-shadow: var(--sh-1, 0 1px 2px rgba(20,30,50,.03));
  overflow: hidden;
}
.swpc-card { padding: 0; }
.swpc-card > .swpc-section-title,
.swpc-card > .swpc-section-note {
  padding-left: 32px;
  padding-right: 32px;
}
.swpc-card > .swpc-section-title { margin: 0; padding-top: 28px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.swpc-card > .swpc-section-note { margin: 0; padding-top: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--border, #e7e5e0); font-size: 13.5px; color: var(--text-muted, #5b6473); }
.swpc-fields { padding: 28px 32px; gap: 18px; }
.swpc-field {
  border: 1px solid var(--border, #e7e5e0);
  background: #fff;
  border-radius: var(--r-md, 8px);
  padding: 16px;
  box-shadow: none;
}
.swpc-field.is-filled { border-color: var(--accent-soft-border, #cad8e8); background: linear-gradient(180deg,#fff,var(--accent-soft,#f3f6fb)); }
.swpc-field.is-next-target { box-shadow: var(--sh-focus, 0 0 0 3px rgba(83,116,158,.2)); }
.swpc-field-label { font-size: 13px; font-weight: 600; color: var(--text, #1a2030); }
.swpc-field-state { font: 500 10.5px var(--font-mono, monospace); background: var(--ok-soft, #edf8f1); border-color: var(--ok-border, #c5e6d5); color: var(--ok, #3f8b68); }
.swpc-options { gap: 8px; grid-template-columns: repeat(auto-fit, minmax(152px, 1fr)); }
.swpc-option {
  min-height: 64px;
  border-radius: var(--r-sm, 6px);
  border-color: var(--border, #e7e5e0);
  box-shadow: none;
  padding: 12px 13px;
}
.swpc-option:hover:not(:disabled) { transform: none; background: var(--surface-hover, #f7f6f3); border-color: var(--border-strong, #d3d1cb); }
.swpc-option.is-selected { background: var(--accent-soft, #f3f6fb); border-color: var(--accent-soft-border, #cad8e8); box-shadow: inset 3px 0 0 var(--accent, #53749e); }
.swpc-option-code { font-size: 13px; font-weight: 600; color: var(--text, #1a2030); }
.swpc-option-label { font-size: 12px; color: var(--text-muted, #5b6473); }
.swpc-input { border-radius: var(--r-sm, 6px); border-color: var(--border, #e7e5e0); min-height: 40px; font-size: 14px; }
.swpc-input:focus { outline: none; border-color: var(--border-focus, #6b7e96); box-shadow: var(--sh-focus, 0 0 0 3px rgba(83,116,158,.2)); }
.swpc-actions { padding: 18px 32px; border-top: 1px solid var(--border, #e7e5e0); margin-top: 0; background: var(--surface, #fafaf9); }
.swpc-btn,
.swpc-quote-modal .swpc-btn { border-radius: var(--r-sm, 6px); font-weight: 500; min-height: 40px; }
.swpc-btn-primary { background: var(--accent, #53749e); border-color: var(--accent, #53749e); }
.swpc-btn-primary:hover { background: var(--accent-hover, #426184); border-color: var(--accent-hover, #426184); }
.swpc-btn-secondary { border-color: var(--border-strong, #d3d1cb); color: var(--text, #1a2030); }
.swpc-summary { padding: 18px; position: sticky; top: 20px; }
.swpc-summary h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.swpc-model-code,
.swpc-code {
  background: #11151c;
  color: #e5e9f0;
  border-radius: var(--r-xs, 4px);
  font: 500 11px/1.45 var(--font-mono, monospace);
  padding: 10px 12px;
  letter-spacing: .02em;
}
.swpc-status { border-radius: var(--r-sm, 6px); padding: 11px 12px; font-size: 12.5px; }
.swpc-status.is-warn { background: var(--danger-soft, #fff1f0); border-color: var(--danger-border, #ffc4bd); }
.swpc-status.is-ok { background: var(--ok-soft, #edf8f1); border-color: var(--ok-border, #c5e6d5); }
.swpc-selected-list { border-top: 1px solid var(--border, #e7e5e0); margin-top: 14px; padding-top: 8px; }
.swpc-selected-row { padding: 8px 0; border-bottom: 1px solid var(--border, #e7e5e0); font-size: 12.5px; }
.swpc-selected-row span:first-child { color: var(--text-muted, #5b6473); }
.swpc-selected-row strong { color: var(--text, #1a2030); font-size: 12px; }
.swpc-quote-cta,
.swpc-quote-modal,
.swpc-quote-confirm { border-radius: var(--r-lg, 12px); border-color: var(--border, #e7e5e0); box-shadow: var(--sh-3, 0 10px 28px rgba(20,30,50,.06)); }
.swpc-quote-modal { max-width: 1040px; grid-template-columns: minmax(0, 1fr) 360px; }
.swpc-quote-modal-head { background: #fff; border-bottom-color: var(--border, #e7e5e0); }
.swpc-quote-icon { background: var(--accent, #53749e); border-radius: var(--r-xs, 4px); }
.swpc-quote-badge { background: var(--warn-soft, #fff7ed); border-color: var(--warn-border, #fed7aa); color: var(--warn, #94652b); }
.swpc-quote-snapshot { background: var(--surface, #fafaf9); border-left-color: var(--border, #e7e5e0); }
.swpc-quote-modal-foot { background: var(--surface, #fafaf9); border-top-color: var(--border, #e7e5e0); }
@media (max-width: 960px) {
  .swpc-grid { grid-template-columns: 1fr; gap: 18px; }
  .swpc-summary { position: sticky; bottom: 0; top: auto; z-index: 10; border-radius: var(--r-lg, 12px) var(--r-lg, 12px) 0 0; }
  .swpc-stepper { overflow-x: auto; grid-template-columns: repeat(5, minmax(145px, 1fr)); }
  .swpc-card > .swpc-section-title,
  .swpc-card > .swpc-section-note,
  .swpc-fields,
  .swpc-actions { padding-left: 18px; padding-right: 18px; }
}


/* v1.2.5 — Claude/email-system visual tightening */
.swpc-shell {
  letter-spacing: -0.01em;
}
.swpc-summary-panel,
.swpc-step-card,
.swpc-quote-modal-card {
  border-color: rgba(36, 70, 111, .14);
}
.swpc-status,
.swpc-quote-confirmation-card {
  box-shadow: 0 12px 30px rgba(16, 24, 39, .06);
}
.swpc-model-code {
  letter-spacing: .01em;
}
.swpc-field-card.is-filled {
  background: linear-gradient(90deg, rgba(79, 70, 229, .045), rgba(255,255,255, .9));
}
.swpc-quote-modal-card input,
.swpc-quote-modal-card textarea,
.swpc-quote-modal-card select {
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.swpc-quote-modal-card input:focus,
.swpc-quote-modal-card textarea:focus,
.swpc-quote-modal-card select:focus {
  border-color: var(--swpc-primary, #23466f);
  box-shadow: 0 0 0 3px rgba(35, 70, 111, .14);
}

/* v1.2.6 — quote modal/sidebar utilization + status-link polish */
.swpc-quote-modal {
  max-width: min(1180px, calc(100vw - 48px));
}
.swpc-quote-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: stretch;
}
.swpc-quote-snapshot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: none;
  overflow: visible;
}
.swpc-quote-snapshot .swpc-selected-list {
  display: none;
}
.swpc-quote-compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}
.swpc-quote-compact-row {
  min-width: 0;
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-xs, 6px);
  background: #fff;
  padding: 7px 8px;
}
.swpc-quote-compact-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted, #5b6473);
  font-size: 10.5px;
  line-height: 1.2;
}
.swpc-quote-compact-row strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text, #1a2030);
  font: 700 12px/1.25 var(--font-mono, ui-monospace, monospace);
}
.swpc-quote-compact-empty {
  border: 1px dashed var(--border, #e7e5e0);
  border-radius: var(--r-sm, 8px);
  padding: 12px;
  color: var(--text-muted, #5b6473);
  font-size: 12px;
}
.swpc-confirm-summary a {
  color: var(--accent, #53749e);
  font-weight: 700;
  text-decoration: none;
}
.swpc-confirm-summary a:hover {
  text-decoration: underline;
}
@media (max-width: 960px) {
  .swpc-quote-modal-body {
    grid-template-columns: 1fr;
  }
  .swpc-quote-compact-list {
    grid-template-columns: 1fr;
  }
}


/* v1.2.7 — Admin width + customer screen handling / de-compression pass */
.swpc-configurator {
  width: 100%;
  max-width: none;
}
.swpc-shell {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding: clamp(18px, 2vw, 30px);
}
.swpc-header,
.swpc-stepper,
.swpc-grid {
  width: 100%;
}
@media (min-width: 1220px) {
  .swpc-grid {
    grid-template-columns: minmax(720px, 1fr) minmax(380px, 430px);
    gap: clamp(28px, 3vw, 44px);
  }
  .swpc-options {
    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  }
}
@media (min-width: 1500px) {
  .swpc-grid {
    grid-template-columns: minmax(820px, 1fr) 430px;
  }
  .swpc-card > .swpc-section-title,
  .swpc-card > .swpc-section-note {
    padding-left: 38px;
    padding-right: 38px;
  }
  .swpc-fields {
    padding-left: 38px;
    padding-right: 38px;
  }
  .swpc-actions {
    padding-left: 38px;
    padding-right: 38px;
  }
}
.swpc-field {
  min-width: 0;
}
.swpc-field-label {
  justify-content: space-between;
  flex-wrap: wrap;
}
.swpc-input-wrap {
  max-width: 420px;
}
.swpc-input {
  max-width: 100%;
}
.swpc-card--instrument .swpc-input-wrap,
.swpc-card--material .swpc-input-wrap,
.swpc-field[data-field="d1_d2"] .swpc-input-wrap,
.swpc-field[data-field="u_mal"] .swpc-input-wrap {
  max-width: 520px;
}
.swpc-summary {
  min-width: 0;
}
.swpc-selected-row {
  align-items: baseline;
}
.swpc-selected-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}
.swpc-stepper {
  min-width: 0;
}
.swpc-step {
  min-width: 0;
}
.swpc-step span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.swpc-quote-overlay {
  padding-inline: clamp(14px, 3vw, 42px);
}
.swpc-quote-modal {
  width: min(1280px, calc(100vw - 48px));
  max-width: min(1280px, calc(100vw - 48px));
}
.swpc-quote-modal-body {
  grid-template-columns: minmax(560px, 1.05fr) minmax(420px, .95fr);
}
.swpc-quote-modal-form {
  min-width: 0;
}
.swpc-quote-snapshot {
  min-width: 0;
}
.swpc-quote-compact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.swpc-quote-compact-row strong,
.swpc-quote-compact-row span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
@media (max-width: 1180px) {
  .swpc-quote-modal-body {
    grid-template-columns: 1fr;
  }
  .swpc-quote-snapshot {
    border-left: 0;
    border-top: 1px solid var(--border, #e7e5e0);
  }
}
@media (max-width: 960px) {
  .swpc-shell {
    width: 100%;
    border-radius: 18px;
  }
  .swpc-grid {
    grid-template-columns: 1fr;
  }
  .swpc-options {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  }
  .swpc-summary {
    position: static;
  }
}
@media (max-width: 640px) {
  .swpc-shell {
    padding: 12px;
    border-radius: 14px;
  }
  .swpc-stepper {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 12px;
  }
  .swpc-step {
    flex: 0 0 136px;
  }
  .swpc-options,
  .swpc-quote-compact-list {
    grid-template-columns: 1fr;
  }
  .swpc-card > .swpc-section-title,
  .swpc-card > .swpc-section-note,
  .swpc-fields,
  .swpc-actions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .swpc-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .swpc-actions .swpc-btn {
    width: 100%;
  }
  .swpc-quote-modal {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
}


/* v1.2.8 — summary/sidebar containment + required-marker alignment */
.swpc-selected-list {
  min-width: 0;
  overflow: hidden;
}
.swpc-selected-row {
  display: grid !important;
  grid-template-columns: minmax(105px, 1fr) minmax(0, auto);
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.swpc-selected-row span:first-child,
.swpc-selected-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.swpc-selected-row strong {
  justify-self: end;
  max-width: 100%;
  text-align: right;
}
.swpc-summary {
  overflow: hidden;
}
.swpc-summary .swpc-code,
.swpc-summary .swpc-model-code {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.swpc-quote-modal {
  max-width: min(1280px, calc(100vw - 44px));
}
.swpc-quote-modal-body {
  grid-template-columns: minmax(560px, 1fr) minmax(430px, .88fr);
}
.swpc-quote-snapshot {
  min-width: 0;
  overflow: hidden;
}
.swpc-quote-compact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.swpc-quote-compact-row {
  padding: 6px 7px;
  min-width: 0;
}
.swpc-quote-compact-row span,
.swpc-quote-compact-row strong {
  white-space: normal;
  overflow-wrap: anywhere;
}
.swpc-quote-label-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.25;
  min-height: 18px;
}
.swpc-quote-label-line .swpc-required {
  display: inline;
  color: var(--accent, #53749e);
  font-weight: 700;
}
.swpc-quote-label-line em {
  margin-left: 2px;
}
.swpc-quote-modal-form label,
.swpc-quote-field {
  gap: 8px;
}
@media (min-width: 1380px) {
  .swpc-quote-modal-body {
    grid-template-columns: minmax(620px, 1fr) minmax(470px, .9fr);
  }
}
@media (max-width: 1040px) {
  .swpc-quote-modal-body {
    grid-template-columns: 1fr;
  }
  .swpc-quote-compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .swpc-selected-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .swpc-selected-row strong {
    justify-self: start;
    text-align: left;
  }
  .swpc-quote-compact-list {
    grid-template-columns: 1fr;
  }
}

/* v1.2.9 — production visual parity + responsive boundary hardening
   Purpose: stronger Claude/prototype alignment, full-width frontend utilization,
   no clipped summary/sidebar content, and less compressed desktop layouts. */
.swpc-configurator {
  width: min(1480px, calc(100vw - 64px));
  max-width: none !important;
  margin: 36px auto !important;
  padding: 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans, inherit);
  color: var(--text, #1a2030);
}
.swpc-configurator *,
.swpc-configurator *::before,
.swpc-configurator *::after {
  box-sizing: border-box;
}
.swpc-shell {
  width: 100%;
  max-width: none;
  overflow: visible;
  padding: 30px 34px 36px;
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-xl, 16px);
  background: linear-gradient(180deg, #fff 0%, var(--surface, #fafaf9) 100%);
  box-shadow: var(--sh-2, 0 1px 1px rgba(20,30,50,.025), 0 4px 12px rgba(20,30,50,.04));
}
.swpc-header {
  max-width: 820px;
  margin-bottom: 22px;
}
.swpc-kicker {
  color: var(--text-subtle, #8a8f9c);
  font: 600 11px/1.1 var(--font-mono, ui-monospace, monospace);
  letter-spacing: .11em;
}
.swpc-title {
  font: 500 clamp(30px, 3.1vw, 42px)/1.08 var(--font-sans, inherit);
  color: var(--text, #1a2030);
  letter-spacing: -.045em;
}
.swpc-subtitle {
  max-width: 780px;
  color: var(--text-muted, #5b6473);
  font-size: 15px;
  line-height: 1.55;
}

/* Prototype-style stepper: horizontal track, active step as elevated card, completed steps quiet. */
.swpc-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  margin: 22px 0 30px;
  padding: 4px 0 10px;
}
.swpc-stepper::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18px;
  height: 1px;
  background: var(--border, #e7e5e0);
  z-index: 0;
}
.swpc-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  min-height: 48px;
  padding: 0 10px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-faint, #b7bac3);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  overflow: visible;
}
.swpc-step::before {
  display: none !important;
}
.swpc-step span:first-child {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 50%;
  border: 1px solid var(--border, #e7e5e0);
  background: #fff;
  color: var(--text-muted, #5b6473);
  font: 600 11px/1 var(--font-mono, ui-monospace, monospace);
  box-shadow: 0 0 0 5px #fff;
}
.swpc-step span:last-child {
  display: block;
  min-width: 0;
  padding-top: 26px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.swpc-step.is-complete:not(.is-active) {
  color: var(--text-muted, #5b6473);
  background: transparent;
  border: 0;
}
.swpc-step.is-complete:not(.is-active) span:first-child {
  font-size: 0;
  border-color: var(--ok-border, #c5e6d5);
  background: var(--ok-soft, #edf8f1);
  color: var(--ok, #3f8b68);
}
.swpc-step.is-complete:not(.is-active) span:first-child::after {
  content: "✓";
  font-size: 12px;
  line-height: 1;
}
.swpc-step.is-active {
  margin-top: -14px;
  min-height: 68px;
  padding: 12px 16px 12px 14px;
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-md, 8px);
  background: #fff;
  box-shadow: var(--sh-3, 0 2px 4px rgba(20,30,50,.04), 0 10px 28px rgba(20,30,50,.06));
  color: var(--text, #1a2030);
}
.swpc-step.is-active span:first-child {
  margin-top: 0;
  border-color: var(--accent, #53749e);
  background: var(--accent, #53749e);
  color: #fff;
  box-shadow: none;
}
.swpc-step.is-active span:last-child {
  padding-top: 1px;
  white-space: normal;
  font-weight: 600;
}

.swpc-grid {
  display: grid;
  grid-template-columns: minmax(720px, 1fr) minmax(360px, 420px);
  gap: 32px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.swpc-card,
.swpc-summary {
  min-width: 0;
  max-width: 100%;
  border-color: var(--border, #e7e5e0);
  border-radius: var(--r-lg, 12px);
  box-shadow: var(--sh-1, 0 1px 0 rgba(20,30,50,.02), 0 1px 2px rgba(20,30,50,.03));
}
.swpc-card {
  padding: 0;
  overflow: hidden;
  border-top: 0;
}
.swpc-card > .swpc-section-title,
.swpc-card > .swpc-section-note {
  padding-left: 32px;
  padding-right: 32px;
}
.swpc-card > .swpc-section-title {
  margin: 0;
  padding-top: 28px;
  font: 500 26px/1.2 var(--font-sans, inherit);
  letter-spacing: -.035em;
}
.swpc-section-title::before {
  width: 9px;
  height: 28px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--swpc-card-accent, var(--accent, #53749e)) 12%, transparent);
}
.swpc-card > .swpc-section-note {
  margin: 8px 0 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border, #e7e5e0);
  color: var(--text-muted, #5b6473);
}
.swpc-fields {
  padding: 28px 40px 26px;
  gap: 20px;
}
.swpc-field {
  padding: 18px 22px 20px 25px;
  border-radius: var(--r-lg, 12px);
  border-color: var(--border, #e7e5e0);
  background: #fff;
  box-shadow: none;
}
.swpc-field::before {
  top: 18px;
  bottom: 18px;
  width: 4px;
  background: var(--swpc-card-accent, var(--accent, #53749e));
  opacity: .32;
}
.swpc-field.is-filled {
  background: color-mix(in srgb, var(--accent-soft, #f2f6fb) 55%, #fff);
  border-color: var(--accent-soft-border, #cad8e8);
}
.swpc-field.is-filled::before {
  opacity: .78;
}
.swpc-field-head {
  margin-bottom: 14px;
}
.swpc-field-label,
.swpc-quote-label-line {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}
.swpc-required {
  display: inline !important;
  margin-left: 2px;
  color: var(--danger, #b4533f);
  font-weight: 700;
}
.swpc-options {
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  gap: 12px;
}
.swpc-option {
  min-height: 72px;
  border-radius: var(--r-md, 8px);
  border-color: var(--border, #e7e5e0);
  box-shadow: var(--sh-1, 0 1px 2px rgba(20,30,50,.03));
}
.swpc-option.is-selected {
  background: var(--accent-soft, #f2f6fb);
  border-color: var(--accent-soft-border, #cad8e8);
  box-shadow: inset 3px 0 0 var(--accent, #53749e), var(--sh-1, 0 1px 2px rgba(20,30,50,.03));
}
.swpc-actions {
  margin: 0;
  padding: 20px 32px;
  border-top: 1px solid var(--border, #e7e5e0);
  background: var(--surface, #fafaf9);
}
.swpc-btn {
  min-height: 40px;
  border-radius: var(--r-sm, 6px);
  font-weight: 500;
}
.swpc-btn-primary {
  background: var(--accent, #53749e);
  border-color: var(--accent, #53749e);
}
.swpc-btn-primary:hover:not(:disabled) {
  background: var(--accent-hover, #426184);
  border-color: var(--accent-hover, #426184);
}
.swpc-summary {
  position: sticky;
  top: 28px;
  padding: 18px;
  overflow: hidden;
  background: #fff;
}
.swpc-summary h3 {
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 600;
}
.swpc-summary h3::before {
  background: var(--warn, #b56b2a);
}
.swpc-code,
.swpc-quote-modelcode {
  max-width: 100%;
  border-radius: var(--r-sm, 6px);
  background: #10151e;
  color: #fff;
  font: 600 12px/1.55 var(--font-mono, ui-monospace, monospace);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.swpc-selected-list {
  max-height: min(58vh, 640px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}
.swpc-selected-row {
  grid-template-columns: minmax(118px, .8fr) minmax(0, 1.2fr) !important;
  gap: 12px;
  padding: 9px 0;
}
.swpc-selected-row strong {
  justify-self: end;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
}
.swpc-quote-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--warn-border, #e7d1ae);
  border-radius: var(--r-lg, 12px);
  background: var(--warn-soft, #fff7ed);
}

/* Quote modal: closer to prototype and robust at production widths. */
.swpc-quote-modal {
  width: min(1380px, calc(100vw - 40px));
  max-width: min(1380px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  border-radius: var(--r-lg, 12px);
  overflow: hidden;
}
.swpc-quote-modal-head {
  padding: 24px 28px;
}
.swpc-quote-modal-body {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) minmax(440px, 520px);
  min-height: 0;
}
.swpc-quote-modal-form {
  padding: 28px;
  min-width: 0;
}
.swpc-quote-snapshot {
  padding: 28px;
  min-width: 0;
  overflow: hidden auto;
  background: var(--surface, #fafaf9);
}
.swpc-quote-compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.swpc-quote-compact-row {
  min-width: 0;
  border: 1px solid var(--border, #e7e5e0);
  border-radius: var(--r-sm, 6px);
  background: #fff;
  padding: 8px 10px;
}
.swpc-quote-compact-row span,
.swpc-quote-compact-row strong {
  display: block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.swpc-quote-compact-row strong {
  margin-top: 3px;
  font-family: var(--font-mono, ui-monospace, monospace);
}
.swpc-quote-modal-foot {
  padding: 18px 28px;
}

@media (max-width: 1280px) {
  .swpc-configurator {
    width: min(1260px, calc(100vw - 36px));
  }
  .swpc-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
    gap: 24px;
  }
  .swpc-fields {
    padding: 24px 28px;
  }
  .swpc-options {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
@media (max-width: 1080px) {
  .swpc-configurator {
    left: auto;
    transform: none;
    width: 100%;
    max-width: none !important;
    padding: 0 14px !important;
  }
  .swpc-grid,
  .swpc-quote-modal-body {
    grid-template-columns: 1fr;
  }
  .swpc-summary {
    position: static;
  }
  .swpc-selected-list {
    max-height: none;
  }
  .swpc-quote-snapshot {
    border-left: 0;
    border-top: 1px solid var(--border, #e7e5e0);
  }
}
@media (max-width: 720px) {
  .swpc-configurator {
    margin: 18px auto !important;
    padding: 0 10px !important;
  }
  .swpc-shell {
    padding: 18px 14px;
    border-radius: var(--r-lg, 12px);
  }
  .swpc-title {
    font-size: 28px;
  }
  .swpc-stepper {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 16px;
  }
  .swpc-stepper::before {
    left: 12px;
    right: 12px;
  }
  .swpc-step {
    flex: 0 0 132px;
  }
  .swpc-card > .swpc-section-title,
  .swpc-card > .swpc-section-note,
  .swpc-fields,
  .swpc-actions {
    padding-left: 18px;
    padding-right: 18px;
  }
  .swpc-options,
  .swpc-quote-compact-list {
    grid-template-columns: 1fr;
  }
  .swpc-quote-modal {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
  .swpc-quote-modal-head,
  .swpc-quote-modal-form,
  .swpc-quote-snapshot,
  .swpc-quote-modal-foot {
    padding-left: 18px;
    padding-right: 18px;
  }
  .swpc-quote-grid,
  .swpc-quote-grid--small,
  .swpc-quote-cta {
    grid-template-columns: 1fr !important;
  }
}

/* v1.2.10 — Stepper regression hotfix
   Restore Claude/prototype stepper rhythm after v1.2.9 width pass.
   Keep wider production layout, but remove elevated active-step card. */
.swpc-configurator .swpc-header {
  max-width: 720px;
  margin-bottom: 18px;
}
.swpc-configurator .swpc-subtitle {
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}
.swpc-configurator .swpc-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  width: 100%;
  margin: 24px 0 30px;
  padding: 0 0 20px;
  min-height: 64px;
  overflow: visible;
  border: 0;
  background: transparent;
}
.swpc-configurator .swpc-stepper::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 2px;
  background: var(--border, #e7e5e0);
  border-radius: 999px;
  z-index: 0;
}
.swpc-configurator .swpc-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  height: auto;
  padding: 0 22px 0 0;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-faint, #b7bac3);
  font-size: 13px;
  line-height: 1.2;
  overflow: visible;
  transform: none !important;
}
.swpc-configurator .swpc-step::before,
.swpc-configurator .swpc-step::after {
  display: none !important;
}
.swpc-configurator .swpc-step span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 26px;
  height: 22px;
  margin: 0;
  padding-right: 9px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--text-faint, #b7bac3);
  box-shadow: none;
  font: 600 11px/1 var(--font-mono, ui-monospace, monospace);
  letter-spacing: .04em;
}
.swpc-configurator .swpc-step span:last-child {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text-faint, #b7bac3);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) span:first-child {
  font-size: 0;
  color: var(--accent, #53749e);
  background: #fff;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) span:first-child::after {
  content: "✓";
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  color: var(--ok, #3f8b68);
  background: var(--ok-soft, #edf8f1);
  border: 1px solid var(--ok-border, #c5e6d5);
  border-radius: 999px;
  width: 20px;
  height: 20px;
  text-align: center;
  padding-top: 2px;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) span:last-child {
  color: var(--text-muted, #5b6473);
}
.swpc-configurator .swpc-step.is-active span:first-child {
  color: var(--accent, #53749e);
  background: #fff;
  font-weight: 700;
}
.swpc-configurator .swpc-step.is-active span:first-child::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--accent, #53749e);
  transform: translateY(-1px);
}
.swpc-configurator .swpc-step.is-active span:last-child {
  color: var(--text, #1a2030);
  font-weight: 600;
}
.swpc-configurator .swpc-step.is-locked span:first-child,
.swpc-configurator .swpc-step.is-locked span:last-child {
  opacity: .55;
}
@media (max-width: 720px) {
  .swpc-configurator .swpc-stepper {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 18px;
    scroll-snap-type: x proximity;
  }
  .swpc-configurator .swpc-step {
    flex: 0 0 132px;
    scroll-snap-align: start;
  }
  .swpc-configurator .swpc-stepper::before {
    left: 0;
    right: 0;
  }
}

/* v1.2.11 — Claude stepper + frontend visual QA pass
   Purpose: keep the wider production shell, but restore the prototype stepper exactly as a calm horizontal track. */
.swpc-configurator {
  width: min(100%, 1560px);
  margin: 28px auto;
  padding-inline: clamp(14px, 2.2vw, 28px);
  box-sizing: border-box;
}
.swpc-configurator .swpc-shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(26px, 3.3vw, 48px);
  border-radius: 22px;
  overflow: visible;
  box-sizing: border-box;
}
.swpc-configurator .swpc-header {
  display: block;
  max-width: 720px;
  margin: 0 0 22px;
}
.swpc-configurator .swpc-title {
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.swpc-configurator .swpc-subtitle {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted, #5b6473);
}
.swpc-configurator .swpc-stepper {
  position: relative;
  display: block;
  width: 100%;
  min-height: 74px;
  margin: 24px 0 30px;
  padding: 0 0 20px;
  border: 0 !important;
  background: transparent !important;
  overflow: visible;
}
.swpc-configurator .swpc-stepper::before,
.swpc-configurator .swpc-stepper::after {
  content: none !important;
  display: none !important;
}
.swpc-configurator .swpc-stepper-track,
.swpc-configurator .swpc-stepper-fill {
  position: absolute;
  left: 0;
  top: 20px;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
}
.swpc-configurator .swpc-stepper-track {
  right: 0;
  background: var(--border, #e7e5e0);
  z-index: 0;
}
.swpc-configurator .swpc-stepper-fill {
  width: var(--swpc-step-progress, 0%);
  background: var(--accent, #53749e);
  z-index: 1;
  transition: width .22s ease;
}
.swpc-configurator .swpc-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 0;
}
.swpc-configurator .swpc-step {
  appearance: none;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0 24px 0 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-faint, #b7bac3) !important;
  font: inherit;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transform: none !important;
  overflow: visible !important;
}
.swpc-configurator .swpc-step::before,
.swpc-configurator .swpc-step::after {
  content: none !important;
  display: none !important;
}
.swpc-configurator .swpc-step-num,
.swpc-configurator .swpc-step span:first-child {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 28px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 9px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--surface, #fff) !important;
  box-shadow: none !important;
  color: var(--text-faint, #b7bac3) !important;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
  line-height: 1 !important;
}
.swpc-configurator .swpc-step-label,
.swpc-configurator .swpc-step span:last-child {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  color: var(--text-faint, #b7bac3) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -.005em !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) .swpc-step-num,
.swpc-configurator .swpc-step.is-complete:not(.is-active) span:first-child {
  color: var(--accent, #53749e) !important;
  font-size: 11px !important;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) .swpc-step-num::after,
.swpc-configurator .swpc-step.is-complete:not(.is-active) span:first-child::after {
  content: none !important;
  display: none !important;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) .swpc-step-num {
  font-size: 0 !important;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) .swpc-step-num::before {
  content: "✓";
  display: inline-block;
  width: auto;
  height: auto;
  color: var(--accent, #53749e);
  font-size: 14px;
  line-height: 1;
}
.swpc-configurator .swpc-step.is-complete:not(.is-active) .swpc-step-label,
.swpc-configurator .swpc-step.is-complete:not(.is-active) span:last-child {
  color: var(--text-muted, #5b6473) !important;
}
.swpc-configurator .swpc-step.is-active .swpc-step-num,
.swpc-configurator .swpc-step.is-active span:first-child {
  color: var(--accent, #53749e) !important;
  font-weight: 600 !important;
}
.swpc-configurator .swpc-step.is-active .swpc-step-num::after,
.swpc-configurator .swpc-step.is-active span:first-child::after {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  margin-left: 8px !important;
  border-radius: 50% !important;
  background: var(--accent, #53749e) !important;
  transform: translateY(-1px) !important;
}
.swpc-configurator .swpc-step.is-active .swpc-step-label,
.swpc-configurator .swpc-step.is-active span:last-child {
  color: var(--text, #1a2030) !important;
  font-weight: 600 !important;
}
.swpc-configurator .swpc-step.is-locked {
  cursor: default;
}
.swpc-configurator .swpc-step.is-locked .swpc-step-num,
.swpc-configurator .swpc-step.is-locked .swpc-step-label {
  opacity: .58;
}
.swpc-configurator .swpc-grid {
  grid-template-columns: minmax(680px, 1fr) minmax(340px, 380px);
  gap: clamp(24px, 2.4vw, 36px);
  align-items: start;
}
.swpc-configurator .swpc-card {
  min-width: 0;
  overflow: hidden;
}
.swpc-configurator .swpc-summary {
  min-width: 0;
  max-width: 100%;
}
.swpc-configurator .swpc-field-card,
.swpc-configurator .swpc-field {
  min-width: 0;
}
.swpc-configurator .swpc-options {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
@media (max-width: 1180px) {
  .swpc-configurator .swpc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .swpc-configurator .swpc-summary {
    position: static;
  }
}
@media (max-width: 760px) {
  .swpc-configurator {
    padding-inline: 10px;
  }
  .swpc-configurator .swpc-shell {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .swpc-configurator .swpc-stepper {
    overflow-x: auto;
    min-height: 68px;
    padding-bottom: 16px;
    scrollbar-width: thin;
  }
  .swpc-configurator .swpc-stepper-track,
  .swpc-configurator .swpc-stepper-fill {
    width: 680px;
    right: auto;
  }
  .swpc-configurator .swpc-steps {
    width: 680px;
    grid-template-columns: repeat(5, 136px);
  }
  .swpc-configurator .swpc-step {
    padding-right: 18px !important;
  }
  .swpc-configurator .swpc-options {
    grid-template-columns: 1fr;
  }
}

/* v1.4.1 — calculated price resolver visibility */
.swpc-configurator .swpc-qty-control {
  display: grid;
  grid-template-columns: 1fr 96px;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid var(--swpc-border, #d8dee8);
  border-radius: 14px;
  background: #fff;
}
.swpc-configurator .swpc-qty-control span {
  font-weight: 700;
  color: var(--swpc-ink, #172033);
}
.swpc-configurator .swpc-qty-input {
  width: 96px;
  text-align: right;
}
.swpc-configurator .swpc-resolver-insight {
  margin: 14px 0 16px;
  padding: 14px;
  border: 1px solid #d8dee8;
  border-radius: 14px;
  background: #f8fafc;
  font-size: 13px;
}
.swpc-configurator .swpc-resolver-title {
  margin-bottom: 8px;
  font-weight: 800;
  color: #172033;
}
.swpc-configurator .swpc-resolver-row {
  display: grid;
  grid-template-columns: minmax(90px, .75fr) minmax(0, 1.25fr);
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(23,32,51,.08);
}
.swpc-configurator .swpc-resolver-row span {
  color: #647084;
}
.swpc-configurator .swpc-resolver-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #172033;
  text-align: right;
}
.swpc-configurator .swpc-resolver-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #7c2d12;
  border: 1px solid #fed7aa;
}
.swpc-configurator .swpc-final-price {
  margin: 14px 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #172033;
}

/* v1.4.8 price matrix coverage guard */
.swpc-option-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;padding:2px 6px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2;border:1px solid rgba(15,23,42,.12);background:#f8fafc;color:#475569}
.swpc-option.is-priceable .swpc-option-badge{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.swpc-option.is-quote-only .swpc-option-badge{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
.swpc-option.is-gated .swpc-option-badge{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}

/* v1.4.9 — customer-facing price cleanup + cart CTA */
.swpc-configurator .swpc-price-box {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(23,32,51,.10);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.swpc-configurator .swpc-price-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23,32,51,.08);
}
.swpc-configurator .swpc-price-main span,
.swpc-configurator .swpc-price-lines span {
  color: #647084;
  font-size: 13px;
}
.swpc-configurator .swpc-price-main strong {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #172033;
}
.swpc-configurator .swpc-price-lines {
  display: grid;
  gap: 7px;
  padding-top: 10px;
}
.swpc-configurator .swpc-price-lines div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.swpc-configurator .swpc-price-lines strong {
  color: #172033;
}
.swpc-configurator .swpc-add-cart,
.swpc-configurator .swpc-final-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.swpc-configurator .swpc-cart-icon {
  display: inline-flex;
  line-height: 1;
  transform: translateY(-1px);
}

/* v1.5.4 — Claude visual alignment: industrial precision + calmer SaaS surface */
.swpc-configurator {
  font-family: var(--font-sans, inherit);
  color: var(--text, #1a2030);
}
.swpc-shell {
  background: linear-gradient(180deg, var(--surface, #fafaf9) 0%, var(--surface-2, #f4f3f0) 100%);
  border-color: var(--border, #e7e5e0);
  border-radius: var(--r-xl, 16px);
}
.swpc-card, .swpc-summary {
  border-color: var(--border, #e7e5e0);
  border-radius: var(--r-lg, 12px);
  box-shadow: var(--sh-2, 0 4px 12px rgba(20,30,50,.04));
}
.swpc-kicker { color: var(--accent-ink, #30415f); letter-spacing: .12em; }
.swpc-title, .swpc-section-title, .swpc-summary h3 { color: var(--text, #1a2030); letter-spacing: -.02em; }
.swpc-subtitle, .swpc-section-note, .swpc-option-label, .swpc-selected-row span:first-child { color: var(--text-muted, #5b6473); }
.swpc-step { border-color: var(--border, #e7e5e0); border-radius: var(--r-sm, 6px); }
.swpc-step.is-active { color: var(--accent-ink, #30415f); border-color: var(--accent-soft-border, #cdd7e8); background: var(--accent-soft, #f4f7fb); }
.swpc-step.is-active span:first-child, .swpc-btn-primary { background: var(--accent, #4a5a78); }
.swpc-option { border-color: var(--border, #e7e5e0); border-radius: var(--r-md, 8px); box-shadow: var(--sh-1, none); }
.swpc-option:hover:not(:disabled) { border-color: var(--border-strong, #d3d1cb); transform: translateY(-1px); }
.swpc-option.is-selected { border-color: var(--accent, #4a5a78); background: var(--accent-soft, #f4f7fb); box-shadow: inset 0 0 0 1px var(--accent, #4a5a78); }
.swpc-option-code, .swpc-code, .swpc-selected-row strong { font-family: var(--font-mono, ui-monospace, monospace); font-variant-numeric: tabular-nums; }
.swpc-input { border-color: var(--border-strong, #d3d1cb); border-radius: var(--r-sm, 6px); }
.swpc-input:focus { outline: none; border-color: var(--accent, #4a5a78); box-shadow: var(--sh-focus, 0 0 0 3px rgba(74,90,120,.18)); }
.swpc-code { background: #11151c; color: #e5e9f0; border-radius: var(--r-sm, 6px); }
.swpc-status { border-color: var(--border, #e7e5e0); background: var(--surface, #fafaf9); }
.swpc-status.is-ok { border-color: var(--ok-border, #cde8d8); background: var(--ok-soft, #f2fbf5); color: var(--text, #1a2030); }
.swpc-status.is-warn { border-color: var(--warn-border, #ead6aa); background: var(--warn-soft, #fff8e8); color: var(--text, #1a2030); }
.swpc-btn { border-radius: var(--r-sm, 6px); font-family: var(--font-sans, inherit); }
.swpc-btn-primary:hover { background: var(--accent-hover, #334158); }
.swpc-price-box { border-color: var(--border, #e7e5e0); background: var(--surface, #fafaf9); }

/* v1.5.5: explicit model availability states from builder/runtime schema */
.swpc-option.is-disabled-route .swpc-option-badge,
.swpc-option.is-disabled-option .swpc-option-badge{background:#f1f5f9;color:#64748b;border-color:#cbd5e1}
.swpc-option.is-disabled-option{opacity:.62;cursor:not-allowed;filter:grayscale(.1)}
.swpc-option-reason{display:block;flex-basis:100%;margin-top:4px;font-size:11px;font-weight:600;color:#64748b;text-align:left}

/* v1.5.12 — Customer frontend viewport + option grid width QA
   Goal: use available screen width even when the shortcode is placed inside
   a narrow theme/content container, while keeping the configurator readable. */
.swpc-configurator {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-top: 32px !important;
  margin-bottom: 40px !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(18px, calc((100vw - 1480px) / 2)) !important;
  padding-right: max(18px, calc((100vw - 1480px) / 2)) !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  overflow-x: clip;
}
.swpc-configurator .swpc-shell {
  width: 100% !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
  padding: clamp(22px, 2.3vw, 34px) !important;
}
.swpc-configurator .swpc-header {
  max-width: 980px !important;
}
.swpc-configurator .swpc-stepper {
  margin-top: 22px !important;
  margin-bottom: 30px !important;
}
.swpc-configurator .swpc-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px) !important;
  gap: clamp(24px, 2.5vw, 38px) !important;
  align-items: start !important;
}
.swpc-configurator .swpc-card,
.swpc-configurator .swpc-summary {
  min-width: 0 !important;
}
.swpc-configurator .swpc-card {
  width: 100% !important;
}
.swpc-configurator .swpc-card > .swpc-section-title,
.swpc-configurator .swpc-card > .swpc-section-note,
.swpc-configurator .swpc-fields,
.swpc-configurator .swpc-actions {
  padding-left: clamp(18px, 2vw, 34px) !important;
  padding-right: clamp(18px, 2vw, 34px) !important;
}
.swpc-configurator .swpc-options {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)) !important;
  gap: 12px !important;
}
.swpc-configurator .swpc-option {
  min-height: 78px !important;
  padding: 14px 15px !important;
}
.swpc-configurator .swpc-option-code {
  font-size: 14px !important;
}
.swpc-configurator .swpc-option-label {
  font-size: 12px !important;
  line-height: 1.3 !important;
}
.swpc-configurator .swpc-option-badge {
  margin-top: 6px !important;
  margin-left: 0 !important;
}
.swpc-configurator .swpc-option-reason {
  margin-top: 6px !important;
  line-height: 1.25 !important;
}
.swpc-configurator .swpc-summary {
  width: 100% !important;
  position: sticky !important;
  top: 22px !important;
}
.swpc-configurator .swpc-selected-list {
  max-height: min(58vh, 520px) !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
}
.swpc-configurator .swpc-code {
  font-size: 12px !important;
  line-height: 1.55 !important;
}

@media (min-width: 1500px) {
  .swpc-configurator .swpc-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 430px) !important;
  }
  .swpc-configurator .swpc-options {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  }
}
@media (max-width: 1180px) {
  .swpc-configurator {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .swpc-configurator .swpc-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px) !important;
    gap: 22px !important;
  }
  .swpc-configurator .swpc-options {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }
}
@media (max-width: 980px) {
  .swpc-configurator {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-x: visible;
  }
  .swpc-configurator .swpc-shell {
    padding: 18px 14px !important;
  }
  .swpc-configurator .swpc-grid {
    grid-template-columns: 1fr !important;
  }
  .swpc-configurator .swpc-summary {
    position: static !important;
  }
  .swpc-configurator .swpc-selected-list {
    max-height: none !important;
  }
}
@media (max-width: 720px) {
  .swpc-configurator {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .swpc-configurator .swpc-shell {
    padding: 14px 10px !important;
    border-radius: 14px !important;
  }
  .swpc-configurator .swpc-card > .swpc-section-title,
  .swpc-configurator .swpc-card > .swpc-section-note,
  .swpc-configurator .swpc-fields,
  .swpc-configurator .swpc-actions {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .swpc-configurator .swpc-options {
    grid-template-columns: 1fr !important;
  }
  .swpc-configurator .swpc-actions {
    grid-template-columns: 1fr !important;
  }
  .swpc-configurator .swpc-actions .swpc-btn {
    width: 100% !important;
  }
}

/* v1.5.14 — cart item title filter: no customer configurator CSS changes. */
