[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0!important}.intro{color:var(--text-muted);font-size:1.05rem;margin-top:1.2rem}.scratchpad-toolbar,.toolbar-actions,.scratchpad-mode,.editor-buttons{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.scratchpad-toolbar{justify-content:space-between;margin-bottom:1rem}.scratchpad-muted{font-size:.85rem;color:var(--text-muted)}.mode-badge{font-size:.8rem;color:#55606e;background:#e9eef4;border:1px solid #d9e1eb;border-radius:4px;padding:.35rem .7rem}.mode-badge.unlocked{color:#285e3b;background:#e7f3eb;border-color:#c5dfce}.action-button{border:0;font:600 .9rem/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:.65rem 1rem;cursor:pointer}.small-button{font:inherit;font-size:.85rem;padding:.55rem .8rem;background:white;color:var(--primary);border:1px solid #c8d3e0;border-radius:5px;cursor:pointer}.small-button:hover{background:#edf2f8}.small-button.danger{color:#a33030}.scratchpad-status{color:var(--text-muted);font-size:.9rem;min-height:1.5rem;margin:1rem 0}.scratchpad-status.error{color:#a33030}.snippet-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:white}.snippet-table{width:100%;min-width:850px;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:.9rem}.want-column{width:22%}.how-column{width:31%}.code-column{width:47%}.snippet-table th{background:var(--primary);color:white;padding:1rem 1.2rem;font-size:.95rem}.snippet-table td{vertical-align:top;border-top:1px solid var(--border);border-right:1px solid var(--border);padding:0}.snippet-table td:last-child{border-right:0}.cell-scroll{max-height:240px;overflow:auto;padding:1.2rem;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;scrollbar-width:thin}.want-cell .cell-scroll{font-weight:600;color:var(--primary)}.snippet-row-actions{display:flex;gap:.4rem;flex-wrap:wrap;padding:0 1rem 1rem}.snippet-row-actions button{font-size:.75rem;padding:.25rem .5rem}.code-cell{background:#111c2b}.code-cell-head{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.6rem 1rem;border-bottom:1px solid #293b51;color:#a7bbd0;font-size:.7rem}.copy-code{background:transparent;border:1px solid #40536b;border-radius:4px;padding:.2rem .5rem;color:#c7d9eb;cursor:pointer;font:inherit;font-size:.7rem}.code-scroll{margin:0;padding:1rem;max-height:240px;min-height:70px;overflow:scroll;scrollbar-gutter:stable;white-space:pre;tab-size:4;scrollbar-width:thin;scrollbar-color:#dd7200 #111c2b;color:#dbe5f0;font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}.code-scroll code{font:inherit}.token-comment{color:#91a3b6;font-style:italic}.token-string{color:#c3dc9c}.token-keyword{color:#d5a8ef}.token-number{color:#e9b47f}.token-tag{color:#80c8eb}.token-attribute{color:#e8cb8e}.scratchpad-empty{padding:2rem;text-align:center;color:var(--text-muted);background:white;border:1px solid var(--border);border-radius:8px;margin-top:1rem}.entry-editor{background:white;border:1px solid #c9d7e8;border-radius:8px;padding:1.5rem;margin:1.3rem 0 2rem;box-shadow:0 3px 10px #1a2b4208}.entry-editor h3{color:var(--primary);margin-bottom:1.2rem}.editor-grid{display:grid;grid-template-columns:2fr 1fr;gap:1rem}.editor-grid label,.login-dialog label{display:flex;flex-direction:column;gap:.4rem;font-size:.85rem;font-weight:600;color:var(--primary)}.editor-wide{grid-column:1/-1}.editor-grid input,.editor-grid select,.editor-grid textarea,.login-dialog input{width:100%;font:inherit;padding:.7rem;border:1px solid #bac9da;border-radius:5px;color:#222831;background:#fff}.editor-grid textarea{resize:vertical;max-height:280px;overflow:auto;font-weight:400}.editor-grid .code-input{font:13px/1.8 ui-monospace,Consolas,monospace;background:#111c2b;color:#dbe5f0;white-space:pre;tab-size:4}.editor-buttons{margin-top:1rem}.editor-buttons>span{font-size:.85rem;color:#a33030}.login-dialog{width:min(440px,90vw);margin:auto;border:1px solid var(--border);border-radius:9px;padding:1.8rem;color:var(--text-dark);font-family:inherit;box-shadow:0 15px 70px #14223740}.login-dialog::backdrop{background:#111c2b99}.login-dialog h2{font-size:1.4rem}.login-dialog p{color:var(--text-muted);font-size:.9rem;margin:1rem 0}.login-dialog #login-message{color:#a33030;min-height:1.4rem;font-size:.85rem}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.cell-scroll:focus-visible,.code-scroll:focus-visible,.snippet-table-wrap:focus-visible{outline:3px solid #64b5ff;outline-offset:3px}@media(max-width:768px){.scratchpad-toolbar{align-items:flex-start}.editor-grid{grid-template-columns:1fr}.entry-editor{padding:1.2rem}.snippet-table{min-width:800px}.cell-scroll{max-height:210px}.code-scroll{max-height:210px}}

.code-scroll::-webkit-scrollbar{width:10px;height:10px}.code-scroll::-webkit-scrollbar-track{background:#111c2b}.code-scroll::-webkit-scrollbar-thumb{background:#dd7200;border:2px solid #111c2b;border-radius:8px}.code-scroll::-webkit-scrollbar-corner{background:#111c2b}
