
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(17rem,100%),1fr));gap:1rem}
.hub-tile{display:flex;min-height:14rem;flex-direction:column;align-items:flex-start;text-align:left;gap:.65rem;padding:1.25rem 1.4rem;border:1px solid var(--line);border-radius:1rem;background:var(--panel);color:var(--ink);transition:border-color .16s,transform .16s}
.hub-tile:hover,.hub-tile:focus-visible{border-color:var(--accent);transform:translateY(-2px)}
.hub-tile-head,.hub-resource-title,.hub-back,.hub-badge,.hub-subhead,.hub-rule,.hub-row{display:flex;align-items:center;gap:.65rem}
.hub-tile-head{justify-content:space-between;width:100%;color:var(--accent-ink)}
.hub-tile-head>.icon{width:1rem;height:1rem}
.hub-tile>strong{font-size:1.35rem;line-height:1.2;letter-spacing:-.035em}
.hub-icon{display:inline-grid;place-items:center;flex:none;width:2.6rem;height:2.6rem;color:var(--accent-ink);background:var(--selected);border-radius:.7rem}
.hub-desc{color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.hub-badge{background:var(--soft);color:var(--muted);border-radius:.4rem;padding:.24rem .5rem;width:fit-content;font-size:.9375rem}
.hub-badge>.icon{width:.95rem;height:.95rem}
.hub-tile>.hub-badge{margin-top:auto}
.hub-welcome{padding:clamp(1.4rem,4vw,3rem);border-radius:1.1rem;background:#172c4d;color:#f6f7f9;align-self:stretch}
.hub-welcome h2{max-width:14ch;font-size:clamp(1.75rem,3vw,2.6rem);margin:1.2rem 0 .7rem}
.hub-welcome p{max-width:42ch;color:#dae4f7}
.hub-board,.hub-tools{margin:1.25rem 0}
.hub-back{margin-bottom:1rem;flex-wrap:wrap}
.hub-subhead,.hub-resource,.hub-row,.hub-rule{justify-content:space-between}
.hub-subhead{padding:1.25rem;flex-wrap:wrap}
.hub-empty{padding:1rem 1.25rem;color:var(--muted)}
.hub-row,.hub-resource{border-top:1px solid var(--line);width:100%;padding:1rem 1.25rem}
.hub-row{background:transparent;color:var(--ink);text-align:left;border-right:0;border-left:0;border-bottom:0;flex-wrap:wrap}
.hub-row strong,.hub-resource h3,.hub-rule strong {overflow-wrap:anywhere}
.hub-row:hover{background:var(--soft)}
.hub-row small,.hub-rule small{display:block;font-size:.9375rem;color:var(--muted);margin-top:.18rem}
.hub-resource{display:flex;gap:1rem;align-items:center}.hub-resource-title{margin-bottom:.4rem}
.hub-resource .actions{flex-shrink:0}
.hub-rule{flex-wrap:wrap;padding:.6rem 0;border-bottom:1px solid var(--line)}.hub-rule select{width:auto;max-width:100%}
.hub-rights{margin:1.2rem 0;padding:1rem;min-width:0;border:1px solid var(--line);border-radius:.7rem}
.hub-rights legend{font-weight:650;padding:0 .3rem}.hub-rights .hint{margin:.25rem 0 1rem}
.hub-checkbox{display:flex;align-items:center;gap:.65rem;min-height:44px}.hub-checkbox input{width:1.1rem;height:1.1rem}
.hub-rights summary,.hub-tools summary{cursor:pointer;font-weight:600;padding:.4rem 0}
.hub-tools{padding:1.1rem 1.25rem}.hub-tools summary .icon{margin:0 .35rem;vertical-align:middle}
.hub-tools>div{margin:.8rem 0}
@media(max-width:650px){.hub-resource{align-items:flex-start;flex-direction:column}.hub-tile{min-height:12rem}.hub-subhead{align-items:flex-start}.hub-rule span,.hub-rule select{min-width:0}.hub-rights{padding:.65rem}.hub-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hub-tile{transition:none}.hub-tile:hover,.hub-tile:focus-visible{transform:none}}

.hub-document{white-space:pre-wrap;overflow-wrap:anywhere}
.hub-site-feature{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:1rem;background:var(--panel);box-shadow:var(--shadow)}
.hub-site-copy{align-self:center;padding:clamp(1.35rem,3vw,2.6rem)}
.hub-site-copy h2{font-size:clamp(1.75rem,3.3vw,2.8rem)}
.hub-site-copy p,.hub-template p{color:var(--muted);margin:.65rem 0 1.15rem;max-width:54ch}
.hub-site-feature img{width:100%;height:100%;min-height:12rem;object-fit:cover}
.hub-list-title,.hub-planned{margin-top:2rem}
.hub-list-title,.hub-planned>h2{margin-bottom:.85rem}
.hub-template{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap;padding:1.15rem 1.35rem;border:1px solid var(--line);border-radius:.85rem;background:var(--panel)}
.hub-template p{margin-bottom:0}
@media(max-width:650px){.hub-site-feature{grid-template-columns:1fr}.hub-site-feature img{order:-1;min-height:0;height:9rem;object-position:50% 43%}}
