.hub { max-width: 1040px; margin: 0 auto; padding: 24px 20px 60px; }
.hub-top { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.hub-top .brand { padding: 0; }
.hub-top .who { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.hub-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hub-head h1 { font-size: 20px; margin: 0; }
.hub-head .btn { margin-left: auto; }
.sites { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.site { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.site .top { display: flex; align-items: center; gap: 12px; }
.site .top .txt { flex: 1; min-width: 0; }
.site .nm { font-weight: 650; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site .meta { color: var(--muted); font-size: 12.5px; }
.site .acts { display: flex; gap: 6px; }
.site .acts .btn.primary { flex: 1; justify-content: center; }
.auth { max-width: 380px; margin: 10vh auto 0; padding: 0 16px; }
.auth .card-body { gap: 14px; }
.auth h1 { font-size: 20px; margin: 0 0 4px; }
.auth .brand { justify-content: center; padding-bottom: 24px; }
/* The app hides .brand in its phone sidebar; the hub pages always show it. */
.auth .brand, .hub-top .brand { display: flex !important; }

.add-site { width: min(560px, calc(100vw - 32px)); }
.add-site .tabs { align-self: flex-start; }
.add-site [data-p] { display: flex; flex-direction: column; gap: 12px; }
.add-site [data-p][hidden] { display: none; }
.cmd-box { display: flex; flex-direction: column; gap: 8px; }
.cmd-box[hidden] { display: none; }
.cmd-box pre { margin: 0; padding: 12px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border);
               white-space: pre-wrap; word-break: break-all; font-size: 12.5px; user-select: all; }
.cmd-acts { display: flex; align-items: center; gap: 10px; }
