.sp-screen{width:100%;height:100%;display:none;overflow:hidden auto}.sp-screen.active{flex-direction:column;display:flex}#sp-settings{padding:28px 28px 40px}.sp-sett{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;width:100%;max-width:1080px;margin:0 auto;display:grid}.sp-sett-col{flex-direction:column;gap:20px;min-width:0;display:flex}.sp-block{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);flex-direction:column;gap:14px;padding:22px 24px;display:flex}.sp-block--grow{flex:1}.sp-block-h{font-family:var(--font-display);color:var(--text);letter-spacing:-.01em;margin:0;font-size:1.35rem;font-style:italic;font-weight:600}.sp-range{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.sp-range-f{color:var(--muted);align-items:center;gap:10px;font-size:1rem;font-weight:600;display:flex}.sp-range-sep{color:var(--border-strong)}.sp-num{border:1.5px solid var(--border);border-radius:var(--r-md);width:84px;font:800 1.35rem "Nunito", var(--font-ui);color:var(--text);text-align:center;background:var(--surface);-moz-appearance:textfield;padding:10px 12px;transition:border-color .15s,box-shadow .15s}.sp-num::-webkit-outer-spin-button,.sp-num::-webkit-inner-spin-button{-webkit-appearance:none}.sp-num:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint);outline:none}.sp-err{color:var(--unread);background:var(--unread-bg);border-radius:var(--r-sm);margin:0;padding:8px 12px;font-size:.85rem;font-weight:600}.sp-err[hidden]{display:none}.sp-dirs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.sp-dir,.sp-mode{border:1.5px solid var(--border);border-radius:var(--r-md);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;font-family:var(--font-ui);flex-direction:column;align-items:flex-start;gap:4px;min-height:56px;padding:14px;transition:border-color .15s,background .15s;display:flex}.sp-dir:hover,.sp-mode:hover{border-color:var(--accent)}.sp-dir[aria-pressed=true],.sp-mode[aria-pressed=true]{border-color:var(--accent);background:var(--accent-tint)}.sp-dir-fig{gap:4px;margin-bottom:6px;display:flex}.sp-dir-fig b,.sp-dir-fig i{width:30px;height:34px;font:900 1.05rem "Nunito", var(--font-ui);border-radius:6px;place-items:center;font-style:normal;display:grid}.sp-dir-fig b{background:var(--surface-alt);color:var(--text)}.sp-dir-fig i{border:1.5px dashed var(--accent);color:var(--accent);background:var(--surface)}.sp-dir-fig s{font:600 .72rem var(--font-ui);color:var(--muted);align-self:center;padding:0 3px;text-decoration:none}.sp-switch{border:none;border-top:1px solid var(--border-light);text-align:left;cursor:pointer;font-family:var(--font-ui);color:var(--text);background:0 0;align-items:center;gap:14px;padding:10px 0 0;display:flex}.sp-switch-track{background:var(--border-strong);border-radius:99px;flex-shrink:0;width:52px;height:30px;transition:background .2s;position:relative}.sp-switch-knob{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .2s cubic-bezier(.16,1,.3,1);position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0e2a2d40}.sp-switch[aria-pressed=true] .sp-switch-track{background:var(--accent)}.sp-switch[aria-pressed=true] .sp-switch-knob{transform:translate(22px)}.sp-switch-txt{flex-direction:column;gap:2px;display:flex}.sp-switch-name{font-size:.95rem;font-weight:700}.sp-switch-desc{color:var(--muted);font-size:.8rem;line-height:1.35}.sp-dir-name,.sp-mode-name{font-size:1rem;font-weight:700}.sp-dir-desc,.sp-mode-desc{color:var(--muted);font-size:.8rem;line-height:1.35}.sp-dir[aria-pressed=true] .sp-dir-name,.sp-mode[aria-pressed=true] .sp-mode-name{color:var(--accent-hover)}.sp-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.sp-mode-ico{fill:none;width:28px;height:28px;stroke:var(--accent);stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px}.sp-pills{flex-wrap:wrap;gap:8px;display:flex}.sp-pill{border:1.5px solid var(--border);border-radius:var(--r-md);background:var(--surface);min-width:56px;min-height:48px;font:700 1.05rem var(--font-ui);color:var(--text);cursor:pointer;padding:0 18px;transition:border-color .15s,background .15s,color .15s}.sp-pill:hover{border-color:var(--accent);color:var(--accent)}.sp-pill[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.sp-apercu{color:var(--muted);min-height:1.2em;margin:0;font-size:.82rem;line-height:1.5}.sp-apercu strong{color:var(--text)}.sp-apercu .warn{color:var(--warn-text);font-weight:600}.sp-formes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.sp-forme{border:1.5px solid var(--border);border-radius:var(--r-md);background:var(--surface);min-height:50px;color:var(--text);text-align:left;cursor:pointer;font-family:var(--font-ui);align-items:center;gap:10px;padding:10px 14px;transition:border-color .15s,background .15s,color .15s;display:flex}.sp-forme:hover{border-color:var(--accent)}.sp-forme[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.sp-forme-ico{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:22px;height:22px}.sp-forme-lbl{flex:1;min-width:0;font-size:.92rem;font-weight:700}.sp-forme-note{opacity:.75;flex-shrink:0;font-size:.72rem;font-weight:600}.sp-start{border-radius:var(--r-lg);background:var(--accent);color:#fff;width:100%;font:700 1.2rem var(--font-ui);cursor:pointer;border:none;justify-content:center;align-items:center;gap:12px;padding:20px;transition:background .15s,transform .15s;display:flex;box-shadow:0 6px 18px #c25a3847}.sp-start svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.sp-start:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.sp-start:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}@media (width<=860px){#sp-settings{padding:20px 16px 32px}.sp-sett{grid-template-columns:minmax(0,1fr)}}:where(#sp-settings) :where(button,input):focus-visible{outline:3px solid var(--accent);outline-offset:2px}#sp-settings button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
