.codepage .codetool{border:1px solid var(--line);background:var(--paper-2);border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:22px 28px;margin:8px 0 36px;padding:22px;display:grid}.codepage .ct-in,.codepage .ct-bulk,.codepage .ct-recent{min-width:0}.codepage .ct-bulk,.codepage .ct-recent{grid-column:1/-1}.codepage .codetool label{color:var(--slate);margin:0 0 12px;font-size:.88rem;display:block}.codepage .codetool input:not([type=checkbox]):not([type=color]),.codepage .codetool select,.codepage .codetool textarea{border:1px solid var(--line);background:var(--paper);width:100%;color:var(--ink);font:inherit;border-radius:10px;margin-top:5px;padding:10px 12px;font-size:1rem;display:block}.codepage .codetool textarea{resize:vertical}.codepage .codetool input[type=color]{border:1px solid var(--line);background:var(--paper);border-radius:10px;width:100%;height:42px;margin-top:5px;padding:3px;display:block}.codepage .ct-search{margin-bottom:6px}.codepage .ct-row{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));align-items:end;gap:0 12px;display:grid}.codepage .ct-check{align-items:center;gap:8px;min-height:42px;display:flex!important}.codepage .ct-tabs{flex-wrap:wrap;gap:6px;margin:0 0 14px;display:flex}.codepage .ct-tab{border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;padding:7px 13px;font-size:.88rem}.codepage .ct-tab[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}.codepage .ct-note{color:var(--slate);margin:-4px 0 12px;font-size:.84rem}.codepage .ct-opts,.codepage .ct-bulk{border-top:1px solid var(--line);margin:4px 0 0;padding-top:12px}.codepage .ct-opts summary,.codepage .ct-bulk summary{cursor:pointer;margin-bottom:12px;font-weight:500}.codepage .ct-out{flex-direction:column;align-items:center;gap:10px;min-width:0;display:flex}.codepage .ct-frame{background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0 0/16px 16px;border-radius:14px;place-items:center;width:100%;min-height:240px;padding:14px;display:grid;position:relative}.codepage .ct-canvas{max-width:100%;height:auto;image-rendering:pixelated}.codepage .ct-out:not([data-state=ok]) .ct-canvas{display:none}.codepage .ct-empty{color:#777;margin:0;font-size:.9rem}.codepage .ct-out[data-state=ok] .ct-empty{display:none}.codepage .ct-msg{text-align:center;min-height:1.4em;color:var(--slate);margin:0;font-size:.88rem}.codepage .ct-out[data-state=error] .ct-msg{color:#b3261e}.codepage .ct-dl{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.codepage .btn{border:1px solid var(--ink);background:var(--ink);color:var(--paper);font:inherit;cursor:pointer;border-radius:999px;padding:11px 20px;font-weight:500;text-decoration:none;display:inline-block}.codepage .btn:hover{background:var(--accent);border-color:var(--accent)}.codepage .btn.ghost{color:var(--ink);background:0 0}.codepage .btn.ghost:hover{color:var(--paper)}.codepage .ct-out:not([data-state=ok]) .ct-dl .btn{opacity:.45;pointer-events:none}.codepage .ct-bulk textarea{margin:0 0 10px}.codepage .ct-bulk-msg{color:var(--slate);margin:10px 0 0;font-size:.88rem}.codepage .ct-recent{border-top:1px solid var(--line);padding-top:12px}.codepage .ct-recent .lbl{color:var(--slate);margin:0 0 6px;font-size:.84rem}.codepage .ct-recent ul{flex-wrap:wrap;gap:6px;margin:0 0 8px;padding:0;list-style:none;display:flex}.codepage .ct-recent li.none{color:var(--slate);font-size:.84rem}.codepage .ct-recent li button{text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--line);background:var(--paper);max-width:100%;color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;padding:5px 11px;font-size:.82rem;overflow:hidden}.codepage .linkish{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.84rem;text-decoration:underline}.codepage .ct-box{background:var(--accent-soft);border-radius:16px;margin:0 0 36px;padding:20px 22px}.codepage .ct-box h2{margin-top:0}.codepage .ct-box ul{margin:0 0 12px;padding-left:1.1em}.codepage .ct-box li{margin:0 0 8px}.codepage .ct-box p{margin:0;font-size:.92rem}.codepage .ct-reads{padding-left:1.1em}@media (width<=760px){.codepage .codetool{grid-template-columns:minmax(0,1fr);padding:16px}.codepage .ct-frame{min-height:200px}}
