.pattern-intro h1{font-size:clamp(28px,4vw,42px)}.task-example{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.demo textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #b8ceec;border-radius:9px;padding:10px;font:16px/1.5 monospace;background:white;color:#111}.queue-row{display:flex;flex-wrap:wrap;gap:6px;queue-height:48px;margin:12px 0}.queue-cell{padding:10px;queue-width:38px;text-align:center;background:#eaf2ff;border:2px solid #b8ceec;border-radius:8px;font:700 17px monospace;animation:cell-in .2s ease}.queue-cell.active{background:#174ea6;color:white;border-color:#174ea6}.returned{white-space:pre-wrap;overflow-wrap:anywhere}.operation-current{font-size:17px;color:#174ea6;font-weight:700}pre[data-code] code{counter-reset:queue-line}pre[data-code] code>span::before{counter-increment:queue-line;content:counter(queue-line);display:inline-block;width:2em;margin-right:.8em;text-align:right;color:#536480;font-size:.8em;user-select:none}@keyframes cell-in{from{transform:translateY(5px)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.queue-cell{animation:none}}
.notes-content h1{font-size:clamp(28px,3vw,38px);line-height:1.2}.notes-content h2{font-size:22px}.queue-cell{transition:background .25s,transform .25s}.queue-row{min-height:50px}.solution-input{white-space:pre-wrap}@media(prefers-reduced-motion:reduce){.queue-cell{transition:none}}

.solution-video:has(.queue-video-draft){aspect-ratio:auto}.queue-video-draft{margin:0}.queue-video-draft img{display:block;width:100%;height:auto}.queue-video-draft figcaption{padding:14px 18px;font-size:14px;background:var(--surface,#fff);color:var(--text,#111)}

.demo[data-queue] .inputs{display:block}.demo[data-queue] .inputs button{margin-top:10px}html[data-theme="dark"] .demo[data-queue] textarea{background:#0c1829;color:#eef5ff;border-color:#42638e}html[data-theme="dark"] .queue-cell{color:#174ea6}html[data-theme="dark"] .queue-cell.active{color:white}html[data-theme="dark"] .operation-current{color:#93c5fd}
