:root{--ink:#17233b;--muted:#667085;--line:#dfe4ec;--blue:#3267d6;--green:#25a66a;--pale:#f5f7fb;--yellow:#ffcf5a}*{box-sizing:border-box}body{margin:0}.stairs-page{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 78% 8%,#e4ecff 0,#0000 32%),#f7f8fb;font-family:Arial,sans-serif}.stairs-page>header{border-bottom:1px solid var(--line);background:#fff;grid-template-columns:1fr auto 1fr;align-items:center;height:92px;padding:0 34px;display:grid}.stairs-page>header>a{color:#52617a;font-weight:750;text-decoration:none}.stairs-page>header>div{text-align:center}.stairs-page h1,.stairs-page h2,.stairs-page p{margin:0}.stairs-page h1{letter-spacing:-1px;font-size:28px}.eyebrow{color:var(--blue);letter-spacing:1.5px;font-size:10px;font-weight:900}.stairs-page>header>span{justify-self:end;align-items:center;gap:9px;font-weight:800;display:flex}.stairs-page>header i{width:38px;height:38px;color:var(--blue);background:#e7edfb;border-radius:50%;place-items:center;font-style:normal;display:grid}.stairs-layout{grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 92px);display:grid}.saved-panel{border-right:1px solid var(--line);background:#fff;padding:30px 22px}.saved-panel h2{margin-top:5px;font-size:20px}.save-current{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:11px;width:100%;height:44px;margin:22px 0 16px;font-weight:850}.save-current:disabled{opacity:.5}.saved-list{gap:9px;display:grid}.saved-list article{border:1px solid var(--line);border-radius:11px;grid-template-columns:1fr 34px;display:grid;overflow:hidden}.load-sequence,.delete-sequence{cursor:pointer;background:#fff;border:0}.load-sequence{text-align:left;gap:5px;padding:12px;display:grid}.load-sequence strong{font-size:14px}.load-sequence small{color:var(--muted)}.delete-sequence{color:#9aa3b2;font-size:20px}.delete-sequence:hover{color:#d44;background:#fff1f0}.empty-saved{color:var(--muted);border:1px dashed #cbd2dd;border-radius:11px;padding:22px 12px;font-size:13px;line-height:1.5}.sort-workspace{border:1px solid var(--line);background:#fff;border-radius:22px;width:min(970px,100% - 40px);margin:40px auto;padding:34px;box-shadow:0 18px 50px #192b4a14}.workspace-top{justify-content:space-between;align-items:end;gap:18px;display:flex}.workspace-top h2{margin-top:5px;font-size:25px}.workspace-top>button,.restart{height:42px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cfd6e1;border-radius:10px;padding:0 16px;font-weight:800}.number-inputs{grid-template-columns:repeat(5,1fr);gap:10px;margin:20px 0 40px;display:grid}.number-inputs label{gap:6px;display:grid}.number-inputs span{color:var(--muted);font-size:11px;font-weight:750}.number-inputs input{background:var(--pale);width:100%;height:50px;color:var(--ink);text-align:center;border:1px solid #d7dce5;border-radius:11px;font-size:20px;font-weight:850}.sort-title{border-top:1px solid var(--line);padding-top:28px}.sort-title>small{color:var(--muted);font-weight:700}.sort-title b{color:var(--blue);padding:0 5px}.tile-bank{background:#edf2ff;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:13px;min-height:96px;margin:20px 0;padding:18px;display:flex}.tile-bank button{width:74px;height:58px;color:var(--blue);cursor:grab;background:#fff;border:2px solid #b7c8ef;border-radius:13px;font-size:22px;font-weight:900;transition:all .18s;box-shadow:0 5px #c9d5ef}.tile-bank button:hover:not(:disabled){transform:translateY(-3px)}.tile-bank button:disabled{opacity:.18;box-shadow:none}.drop-row{background:#fbfcfe;border:2px dashed #ccd3df;border-radius:18px;grid-template-columns:repeat(5,1fr);gap:12px;padding:20px;transition:all .3s;display:grid}.drop-row>button{color:#9aa3b1;cursor:pointer;background:#fff;border:2px dashed #cbd2df;border-radius:13px;align-content:center;place-items:center;gap:5px;height:104px;display:grid}.drop-row>button small{color:#778399;background:#edf0f5;border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.drop-row>button strong{color:var(--ink);font-size:28px}.drop-row>button span{font-size:11px}.drop-row>button.filled{background:#f1f5ff;border-style:solid;border-color:#8fa9e4}.drop-row.is-correct{border-color:var(--green);background:#effbf5;box-shadow:0 0 0 4px #25a66a1a}.drop-row.is-correct>button{background:#fff;border-color:#73c99e}.success{color:#177a4d;background:#e9f9f1;border-radius:13px;justify-content:center;align-items:center;gap:12px;margin-top:18px;padding:15px;animation:.45s pop;display:flex}.success>b{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:22px;display:grid}.success span{display:grid}.try-again,.save-message{color:#86600b;text-align:center;background:#fff6df;border-radius:10px;margin-top:15px;padding:12px;font-weight:700}.save-message{color:#315cae;background:#edf2ff}.restart{margin:18px auto 0;display:block}@keyframes pop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.signed-out{text-align:center;place-items:center;display:grid}.signed-out section{background:#fff;border-radius:24px;width:min(470px,100% - 30px);padding:45px;box-shadow:0 20px 60px #cbd4e5}.signed-out h1{margin:8px 0 10px;font-size:38px}.signed-out p:not(.eyebrow){color:var(--muted);line-height:1.6}.signed-out a{background:var(--ink);color:#fff;border-radius:10px;margin-top:22px;padding:13px 18px;font-weight:800;text-decoration:none;display:inline-block}.stairs-logo{height:80px;color:var(--blue);justify-content:center;align-items:flex-end;font-size:28px;font-weight:900;display:flex}.stairs-logo small,.stairs-logo b{background:#dfe8ff;place-items:center;width:45px;display:grid}.stairs-logo{background:#edf2ff;width:45px;margin:auto}.stairs-logo small{height:55px}.stairs-logo b{height:75px}@media (max-width:820px){.stairs-page>header{grid-template-columns:1fr 1fr;height:auto;padding:16px}.stairs-page>header>div{order:3;grid-column:1/-1;margin-top:10px}.stairs-layout{grid-template-columns:1fr}.saved-panel{border-right:0;border-bottom:1px solid var(--line)}.saved-list{grid-template-columns:repeat(2,1fr)}.sort-workspace{padding:22px}.drop-row{gap:6px;padding:10px}.drop-row>button{height:84px}}@media (max-width:520px){.number-inputs{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.number-inputs input{padding:0;font-size:16px}.tile-bank button{width:56px}.drop-row>button small{display:none}.drop-row>button strong{font-size:20px}.drop-row>button span{font-size:0}.drop-row>button span:after{content:"+";font-size:20px}.saved-list{grid-template-columns:1fr}}.number-filters{border:1px solid var(--line);background:#f8faff;border-radius:15px;margin:20px 0 22px;padding:16px 18px 18px}.number-filters legend{color:#59677d;padding:0 7px;font-size:11px;font-weight:850}.number-filters>div{flex-wrap:wrap;gap:8px;display:flex}.number-filters label{color:#59677d;cursor:pointer;background:#fff;border:1px solid #d6dce7;border-radius:10px;align-items:center;gap:8px;min-height:38px;padding:7px 10px;font-size:11px;font-weight:800;transition:all .18s;display:flex}.number-filters label:hover{border-color:#9db2df}.number-filters label.active{color:#244faa;background:#eaf0ff;border-color:#7697df;box-shadow:inset 0 0 0 1px #7697df}.number-filters input{opacity:0;pointer-events:none;position:absolute}.number-filters i{background:#c7ced9;border-radius:10px;width:30px;height:18px;transition:all .18s;position:relative}.number-filters i:after{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:all .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #6c7480}.number-filters label.active i{background:var(--blue)}.number-filters label.active i:after{transform:translate(12px)}.number-filters .negative-toggle{color:#9c4855;background:snow;border-color:#e2c9ce}.number-filters .negative-toggle.active{color:#9c2034;background:#fff0f2;border-color:#d75a6d;box-shadow:inset 0 0 0 1px #d75a6d}.number-filters .negative-toggle.active i{background:#d44259}.negative-toggle span{display:grid}.negative-toggle small{opacity:.72;font-size:8px;font-weight:600}.number-inputs input[aria-invalid=true]{background:#fff0f2;border-color:#d84252}.tile-bank button{width:auto;min-width:74px;padding:0 12px}.drop-row>button strong{font-size:clamp(19px,2vw,28px)}@media (max-width:650px){.number-filters{padding:12px}.number-filters label{flex:calc(50% - 8px)}.number-filters .negative-toggle{flex-basis:100%}}
