.server-template-picker{border:0;padding:0;margin:1.25rem 0;min-width:0;color:var(--text,#edf0fa)}
.server-template-picker>legend{font-weight:700;padding:0;font-size:1rem}
.server-template-hint,.server-template-permissions{color:var(--muted,#a0a8bf);font-size:.875rem;line-height:1.6;margin:.5rem 0 1rem}
.server-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.server-template-choice{display:flex;align-items:flex-start;gap:.75rem;text-align:left;padding:1rem;border:1px solid var(--border,#343a4b);border-radius:14px;background:var(--surface,#181d2a);color:inherit;cursor:pointer;min-width:0;transition:border-color .16s ease,background-color .16s ease}
.server-template-choice[aria-checked=true]{border-color:var(--accent,#a5adff);background:color-mix(in srgb,var(--accent,#a5adff) 12%,var(--surface,#181d2a))}
.server-template-choice:focus-visible{outline:2px solid var(--accent,#a5adff);outline-offset:3px}
.server-template-choice:disabled{opacity:.6;cursor:default}
.server-template-symbol{font-size:1.5rem;line-height:1.25;color:var(--accent,#a5adff);flex-shrink:0}
.server-template-choice-body{display:flex;flex-direction:column;gap:.4rem;min-width:0;overflow-wrap:anywhere}
.server-template-choice-body>span{font-size:.8rem;line-height:1.5;color:var(--muted,#a0a8bf)}
.server-template-preview{margin-top:.9rem;padding:1rem;border-radius:14px;background:var(--surface-alt,#111520);border:1px solid var(--border,#343a4b);line-height:1.5}
.server-template-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.server-template-categories h4{font-size:.8rem;margin:0 0 .45rem;color:var(--muted,#a0a8bf)}
.server-template-categories ul{list-style:none;padding:0;margin:0;display:grid;gap:.3rem}
.server-template-categories li{display:flex;gap:.45rem;min-width:0;font-size:.85rem;overflow-wrap:anywhere}
.server-template-channel-icon{width:1rem;flex-shrink:0;color:var(--muted,#a0a8bf)}
.server-template-role-summary{border-top:1px solid var(--border,#343a4b);padding-top:.7rem;margin:.8rem 0 0;font-size:.85rem;color:var(--muted,#a0a8bf)}
@media(max-width:480px){.server-template-grid,.server-template-categories{grid-template-columns:minmax(0,1fr)}.server-template-choice{padding:.8rem}}
@media(prefers-reduced-motion:reduce){.server-template-choice{transition:none}}
