.spc .wsx-canvas { position: relative; }
.spc-stage { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: var(--pt-soft); touch-action: none; }
.spc-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.spc-stage.is-ready canvas { cursor: grab; }
.spc-stage.is-panning canvas { cursor: grabbing; }
.spc-stage.is-over::after { content: ''; position: absolute; inset: 8px; z-index: 4; border: 2px dashed #CFC6BF; border-radius: 14px; pointer-events: none; }
.spc-empty { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; }
.spc-empty[hidden] { display: none; }
.spc-empty__title { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; color: var(--sw-ink); }
.spc-empty__text { margin: 0 0 10px; font-size: 14px; color: var(--sw-muted); }
.spc-empty .pt-btn { width: auto; padding: 0 16px; }

.spc-zoom { gap: 12px; }
.spc-zoom .pt-range { width: 180px; }
.spc-zoom__value { min-width: 56px; height: 28px; padding: 0 4px; border: 0; border-radius: 8px; background: transparent; color: #020817; font-size: var(--t-value-size); font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; }
.spc-zoom__value:hover { background: var(--pt-soft-2); }
.spc .pt-ctrl .pt-dd[hidden], .spc .pt-ctrl .palette-topbar__colors[hidden] { display: none; }
.spc-pop { width: auto; min-width: 280px; }
.spc-new { height: 40px; padding: 0 14px; border: 1px solid #EEEEEF; border-radius: 12px; background: #fff; color: var(--sw-ink); display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-value-size); font-weight: 600; letter-spacing: var(--t-value-ls); cursor: pointer; }
.spc-new:hover { background: #fafafa; border-color: #E4E4E6; }
.spc-new svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.spc-verdict { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--sw-ink-2); }
.spc-switches { display: grid; gap: 14px; margin-top: 20px; }
.spc-gap { margin-bottom: 14px; }
.spc-acts { margin-top: 0; }

@media (max-width: 1080px) {
  .spc .wsx-canvas { height: min(100vw, 70vh); flex: none; }
}
@media (max-width: 760px) {
  .spc .pt-ctrl > .palette-topbar__colors { flex: 1 1 100%; min-width: 0; }
  .spc .pt-ctrl > .pt-dd { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .spc-zoom .pt-range { flex: 1; width: auto; min-width: 0; }
}
.spc-fix { margin-top: 18px; }
.spc-start { display: grid; justify-items: center; gap: 18px; max-width: 760px; margin: 0 auto; padding: 120px 24px 80px; text-align: center; }
.spc-start__title { margin: 0; font-size: clamp(34px, 5vw, 58px); font-weight: 650; line-height: 1.05; letter-spacing: -0.04em; color: var(--sw-ink); }
.spc-start__title span { font-weight: 350; color: var(--sw-muted); }
.spc-start__text { max-width: 560px; margin: 0; font-size: 17px; line-height: 1.5; color: var(--sw-ink-2); }
.spc-start__btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; margin-top: 10px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--sw-ink); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; box-shadow: 0 14px 28px -18px rgba(42, 35, 32, .8); transition: transform .15s ease, box-shadow .15s ease; }
.spc-start__btn:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -18px rgba(42, 35, 32, .85); }
.spc-start__btn svg, .spc-start__note svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spc-start__btn svg { width: 18px; height: 18px; }
.spc-start__note { display: block; margin: 26px 0 0; font-size: 13px; line-height: 1.5; color: var(--sw-muted); }
.spc-start__note svg { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.spc:not(.spc-has) .pt-bar, .spc:not(.spc-has) .pt-work { display: none; }
.spc.spc-has .spc-start { display: none; }
.spc-start.is-over { outline: 2px dashed #CFC6BF; outline-offset: -12px; border-radius: 24px; }
.spc-verdict-title { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--sw-ink); }
#pcVerdict[data-level="good"] .spc-verdict-title { color: #1f7a45; }
#pcVerdict[data-level="plain"] .spc-verdict-title { color: #b45309; }
#pcVerdict[data-level="bad"] .spc-verdict-title { color: #b42318; }
@media (max-width: 760px) { .spc-start { padding: 64px 16px 48px; } }
