*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#172033;font-family:Arial,Helvetica,sans-serif}.gallery{max-width:1600px;margin:auto;padding:32px}.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.gallery-heading h1{font-size:30px;margin:8px 0}.gallery-heading p{color:#64748b;font-size:14px}.gallery-heading a{color:#2563eb}.gallery-scenes{display:flex;gap:8px;margin:20px 0}.gallery button,.gallery input,.gallery select{font:inherit}.gallery-scenes button,.gallery-controls button,.gallery-api>button{padding:8px 14px;border:1px solid #d9dfe8;border-radius:6px;background:#fff;cursor:pointer}.gallery-scenes button[aria-pressed=true]{border-color:#2563eb;color:#1d4ed8;background:#eff6ff}.gallery-body{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px}.gallery-body>aside{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;align-self:start;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}.gallery-body>aside h2{font-size:13px;color:#64748b;margin:16px 8px 8px}.gallery-body>aside button{display:block;width:100%;border:0;background:none;text-align:left;padding:9px 8px;font-size:13px;cursor:pointer;border-radius:4px}.gallery-body>aside button[aria-current=page]{background:#eff6ff;color:#1d4ed8}.gallery-body>aside button:disabled{opacity:.4;cursor:default}.gallery-content{min-width:0}.gallery-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;background:#fff;border:1px solid #e2e8f0;padding:14px;border-radius:8px}.gallery-controls label{font-size:12px;display:flex;flex-direction:column;gap:5px}.gallery-controls input,.gallery-controls select{max-width:200px;min-height:32px;border:1px solid #d9dfe8;border-radius:4px;padding:4px}.gallery-controls output{font-size:12px;color:#2563eb;padding:9px}.gallery-ontology{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:12px;color:#64748b;margin:14px 0}.gallery-stage{height:920px;min-width:0}.gallery-stage>div{height:100%}.gallery-stage .st-workbench{max-height:100%}.gallery-api{margin-top:16px;padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.gallery-api summary{cursor:pointer;font-weight:600}.gallery-api>button{margin-top:12px}.gallery-api pre{white-space:pre;overflow:auto;background:#f8fafc;padding:16px;border-radius:5px;font:13px/1.7 monospace;max-height:500px}.gallery-api p{color:#64748b;font-size:12px}.gallery button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:850px){.gallery{padding:14px}.gallery-body{grid-template-columns:1fr}.gallery-body>aside{position:static;max-height:230px}.gallery-heading{align-items:start;flex-wrap:wrap}.gallery-heading>div{flex-basis:100%}.gallery-stage{height:850px}}
