.playground{min-width:0;max-width:100%;margin-block:var(--space-4);border-radius:var(--radius-lg);background:var(--role-surface);padding:var(--space-3);font-size:var(--text-note);line-height:var(--leading-normal)}.playground [hidden]{display:none}.playground-switch{gap:var(--space-2);flex-wrap:wrap;display:flex}.playground-switch .btn[aria-pressed=true]{background:var(--role-ink);color:var(--role-ground)}.playground-status{align-items:center;gap:var(--space-2) var(--space-4);margin-bottom:var(--space-2);font-size:var(--text-note);flex-wrap:wrap;display:flex}.playground-toolbar{gap:var(--space-2);margin-bottom:var(--space-2);flex-wrap:wrap;display:flex}.playground .btn{flex:none}.playground-hint{color:var(--role-ink-sub);font-size:var(--text-note);align-self:center;margin-left:auto}.content .playground .playground-origin{margin-block:0 var(--space-2);font-size:var(--text-note)}.playground-panes{flex-direction:column;min-width:0;display:flex}.playground-pane-editor{min-width:0}.playground-tabs{gap:var(--space-1);flex-wrap:wrap;display:flex}.playground-tabs button{min-width:var(--tap-min);min-height:var(--tap-min);border-radius:var(--radius-sm) var(--radius-sm) 0 0;padding:0 var(--space-4);color:var(--role-ink-sub);font-family:var(--font-code);font-size:var(--text-note);cursor:pointer;background:0 0;border:0;flex:none}.playground-tabs button[aria-selected=true]{background:var(--role-ground);color:var(--role-ink);font-weight:var(--weight-bold)}.playground-tabs button:focus-visible{outline:3px solid var(--role-ink);outline-offset:-3px}.playground-editor{min-width:0}.playground-editor .cm-editor{max-width:100%}.playground-results{min-width:0;max-height:22rem;margin-top:var(--space-3);overflow:auto}.playground-results:empty{display:none}.content .playground table{width:max-content;min-width:100%;font-size:var(--text-code);margin:0;display:table}.content .playground th,.content .playground td{padding:var(--space-1) var(--space-3)}.content .playground th{position:sticky;top:0}.content .playground p,.content .playground pre{margin-block:var(--space-1)}.playground-statement code{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-code);display:block;overflow:hidden}.playground-result{margin-bottom:var(--space-3)}.playground-note,.playground-label{color:var(--role-ink);font-size:var(--text-note)}.playground-label{font-weight:var(--weight-bold)}.playground-null{color:var(--role-ink-sub);font-style:italic}.playground-summary{font-family:var(--font-code);font-size:var(--text-body);font-weight:var(--weight-bold)}.content .playground .playground-failures{margin:var(--space-1) 0;padding-left:var(--space-5)}.playground pre{font-size:var(--text-code);font-weight:var(--weight-regular);white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:auto}.playground-error{border-radius:var(--radius-sm);background:var(--role-danger-soft);padding:var(--space-1) var(--space-3)}.playground-log{border-radius:var(--radius-sm);background:var(--role-console);padding:var(--space-2);color:var(--role-on-console);white-space:pre}.content .playground .playground-table-scroll .playground-console-table{background:var(--role-console);color:var(--role-on-console)}.content .playground .playground-table-scroll .playground-console-table th,.content .playground .playground-table-scroll .playground-console-table td{color:inherit;background:0 0}.content .playground .playground-table-scroll .playground-console-table th{background:#ffffff14}@media (width>=768px){.content .chapter-body>.playground{flex-direction:column;flex:auto;min-height:22rem;margin-block:0;display:flex}.chapter-body .playground-panes{gap:var(--space-3);flex:1 1 0;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;display:grid}.chapter-body [data-playground=sql] .playground-panes{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}.chapter-body .playground-pane-editor{flex-direction:column;min-height:0;display:flex}.chapter-body .playground-editor{flex:1 1 0;min-height:0;position:relative;overflow:hidden}.chapter-body .playground-editor .cm-editor{height:100%;max-height:none}.chapter-body .playground-results,.chapter-body .playground-results:empty{border-radius:var(--radius-sm);background:var(--role-ground);min-height:0;max-height:none;padding:var(--space-2);margin-top:0;display:block}}.content .chapter-body>.playground[hidden]{display:none}
