.role-test-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:20px}
.role-test-card{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0}
.role-test-card h2{margin:0;font-size:18px}
.role-test-card p{margin:0}
.role-test-card code{align-self:flex-start;overflow-wrap:anywhere}
.role-test-card .btn{margin-top:auto}
.role-test-search{display:flex;flex-direction:column;gap:6px;max-width:480px;margin-top:20px}
.role-test-banner{position:sticky;top:0;z-index:45;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:#fff1c2;color:#513d09;border:1px solid #ddbd58;border-radius:8px;margin:12px 0}
.role-test-banner>div{display:flex;flex-direction:column;gap:4px}
.role-test-banner span{font-size:12px}
.role-test-banner .btn{flex-shrink:0;background:#fff;color:#513d09}
.role-test-banner>div{min-width:0}
.role-test-banner .role-test-controls{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;max-width:100%}
.role-test-switch-label{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%}
.role-test-switch-label select{width:280px;max-width:100%;min-width:0;padding:8px;border:1px solid #b59842;border-radius:6px;background:#fff;color:#513d09;font:inherit}
@media(max-width:600px){.role-test-banner{align-items:stretch;flex-direction:column;gap:8px}.role-test-banner .btn{width:100%}}
@media(max-width:600px){.role-test-switch-label,.role-test-switch-label select{width:100%}.role-test-banner .role-test-controls{align-items:stretch;flex-direction:column}}
