.sp-top{gap:4px;display:grid}.sp-stage{background:repeating-conic-gradient(#eef1f3 0 25%, #fff 0 50%) 0 0 / 16px 16px;margin-top:0}.sp-stage img{width:auto;max-width:100%;max-height:320px;box-shadow:0 1px 3px #0f2a3a2e}.sp-stage.is-tile img{image-rendering:pixelated;width:220px;max-width:100%;height:220px}.sp-viewbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-top:12px;display:flex}.sp-info{font-family:var(--pf-font-mono);color:var(--pf-granit);margin:0;font-size:13px}.sp-show .tool-chip,.sp-code .tool-chip{min-width:44px;min-height:44px}.sp-show .tool-chip[aria-checked=true],.sp-code .tool-chip[aria-checked=true]{border-color:var(--pf-djup);background:var(--pf-djup);color:#fff}.sp-show .code-save .btn{min-height:44px}.sp-scale{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:14px;display:flex}.sp-scale .tool-label{margin:0}.sp-edit{margin-top:18px}.sp-edit .tool-field{margin:0 0 14px}.sp-edit select,.sp-edit input:not([type]),.sp-edit input[type=text]{min-height:48px;font-size:16px}.sp-types{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.sp-type{min-height:44px;color:var(--pf-djup);font:600 13px/1.2 var(--pf-font-body);text-align:center;cursor:pointer;background:#fff;border:1.5px solid #0f2a3a33;border-radius:12px;flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;padding:8px 4px 6px;display:flex}.sp-type[aria-checked=true]{border-color:var(--pf-djup);box-shadow:0 0 0 1px var(--pf-djup);background:#eef6f9}.sp-thumb{background-position:50%;background-repeat:repeat;border:1px solid #0f2a3a1f;border-radius:6px;width:100%;height:40px;display:block}.sp-type-name{overflow-wrap:anywhere}.sp-range label{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.sp-range output{font-family:var(--pf-font-mono);color:var(--pf-granit);font-size:14px}.sp-range input[type=range]{width:100%;min-height:44px;accent-color:var(--pf-djup);margin:0}.sp-range input[type=range]:disabled{opacity:.45}.sp-range .tool-help{margin:0}.sp-colors{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:14px;display:flex}.sp-color{cursor:pointer;align-items:center;gap:8px;min-height:44px;display:flex}.sp-color input{cursor:pointer;background:#fff;border:1px solid #0f2a3a33;border-radius:10px;width:44px;height:44px;padding:2px}.sp-pairs{gap:6px;display:flex}.sp-pair{cursor:pointer;border:1px solid #0f2a3a2e;border-radius:10px;width:44px;height:44px;padding:0;font:600 14px/1 system-ui,sans-serif}.sp-custom{margin-top:8px}.sp-custom input{width:100%;font-family:var(--pf-font-mono)}.sp-more{border-top:1px solid #0f2a3a1a;margin-top:18px;padding-top:10px}.sp-more summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.sp-check{cursor:pointer;align-items:center;gap:10px;min-height:44px;margin:2px 0;display:flex}.sp-check input{flex:none;width:22px;height:22px}.sp-check-help{margin:-4px 0 8px 32px}.sp-more-actions{justify-items:start;gap:4px;margin-top:10px;display:grid}.sp-more-actions .btn{min-height:44px}.sp-more-actions .tool-help{margin:0 0 8px}.sp-code{margin-top:22px}.sp-code-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.sp-code-bar .btn{min-height:44px}.sp-pre{word-break:break-all;max-height:220px}.sp-pre:focus-visible{outline:2px solid var(--pf-fjord);outline-offset:2px}@media (min-width:761px){.sp-top{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:"edit show";align-items:start;column-gap:28px}.sp-edit{grid-area:edit;margin-top:0}.sp-show{grid-area:show;position:sticky;top:90px}.sp-stage{min-height:260px}}@media (hover:hover){.sp-more summary:hover{color:var(--pf-djup)}.sp-pair:hover,.sp-type:hover{border-color:var(--pf-fjord)}}