body{background:#f4f6fb}
.pm-protected-page{width:min(100% - 2rem,86rem);margin:1.5rem auto;color:#14243e;box-sizing:border-box}
.pm-protected-page [hidden]{display:none!important}
.pm-protected-heading{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.pm-protected-heading h1{margin:.25rem 0;font-size:clamp(1.5rem,3vw,2.1rem)}
.pm-protected-heading p{line-height:1.5}
.pm-protected-page a{color:#244cab;text-underline-offset:.2em}
.pm-protected-page .deckdex a{color:var(--text)}
.pm-protected-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin:1rem 0}
.pm-protected-actions button,.pm-protected-card button{min-height:44px;padding:.7rem 1rem;border:1px solid #a7b6cb;border-radius:.65rem;background:#fff;color:#17345d;font:inherit;cursor:pointer}
.pm-protected-page button:disabled{opacity:.6;cursor:wait}
.pm-protected-page button:focus-visible,.pm-protected-page a:focus-visible{outline:3px solid #7651be;outline-offset:3px}
#pm-protected-status{padding:.85rem 1rem;border-left:4px solid #496db2;background:#eff4fd;line-height:1.5;overflow-wrap:anywhere}
#pm-protected-status[data-state=error]{border-color:#a44048;background:#fff0f1}
#pm-protected-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem}
.pm-protected-card{border:1px solid #cbd5e1;border-radius:1rem;overflow:hidden;background:#fff;display:flex;flex-direction:column;max-width:34rem}
.pm-protected-card img{display:block;width:100%;height:13rem;object-fit:contain;background:#f3f5fa}
.pm-protected-card-body{padding:1.1rem;display:flex;flex-direction:column;gap:.7rem;flex:1}
.pm-protected-card h2,.pm-protected-card p{margin:0;overflow-wrap:anywhere}
.pm-protected-card p{white-space:pre-wrap;line-height:1.5}
.pm-protected-card small{color:#53637b}
.pm-protected-card button{margin-top:auto;align-self:flex-start}
#pm-protected-view{min-width:0}
#pm-protected-deckdex{min-height:30rem;max-width:100%;overflow:hidden}
@media(max-width:560px){.pm-protected-page{width:calc(100% - 1rem);margin:1rem auto}.pm-protected-actions button{flex:1}.pm-protected-card{max-width:none}.pm-protected-card img{height:11rem}}
