.hub-layout {
  display: flex;
  height: calc(100vh - 52px);
  overflow: hidden;
}
.hub-sidebar {
  width: var(--hub-sidebar-width);
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hub-sidebar-top {
  padding: var(--sp-4);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.hub-search-input {
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  font-family: var(--font-system);
  background: var(--surface-1);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}
.hub-search-input:focus { border-color: var(--border-accent); }
.hub-filters {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}
.hub-filter-select {
  flex: 1;
  min-width: 80px;
  padding: var(--sp-1) var(--sp-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-family: var(--font-system);
  background: var(--surface-1);
  color: var(--text-primary);
  cursor: pointer;
}
.hub-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-2) 0;
}
.hub-list-label {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.hub-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  border-radius: 0;
  transition: background 0.1s;
  text-decoration: none;
  color: var(--text-primary);
  border-left: 3px solid transparent;
}
.hub-list-item:hover { background: var(--surface-3); text-decoration: none; }
.hub-list-item.active { background: var(--bg-accent); border-left-color: var(--border-accent); }
.hub-list-item-name { font-weight: var(--fw-medium); font-size: var(--fs-base); }
.hub-list-item-sub { font-size: var(--fs-xs); color: var(--text-secondary); }
.hub-list-item-arrow { color: var(--text-muted); font-size: var(--fs-lg); }
.hub-list-count {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.hub-main {
  flex: 1;
  overflow-y: auto;
  background: var(--surface-1);
}
.hub-main-inner {
  padding: var(--sp-8);
}
.hub-main-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--text-muted);
  text-align: center;
}
.hub-main-placeholder .placeholder-icon { font-size: 64px; margin-bottom: var(--sp-4); opacity: 0.3; }
.hub-main-placeholder p { font-size: var(--fs-md); }

.hub-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.hub-preview-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
  display: block;
}
.hub-preview-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.hub-preview-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, #1e3a5f, #2d5a87);
}
.hub-preview-img-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #1e3a5f, #2d5a87);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.3);
}
.hub-preview-body { padding: var(--sp-4); }
.hub-preview-make { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hub-preview-name { font-size: var(--fs-md); font-weight: var(--fw-bold); margin: 2px 0 var(--sp-2); }
.hub-preview-meta { font-size: var(--fs-sm); color: var(--text-secondary); }
.hub-preview-price { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--text-accent); margin-top: var(--sp-2); }

.hub-section-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-heavy);
  margin-bottom: var(--sp-6);
  color: var(--text-primary);
}
.hub-section-subtitle {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
  margin-top: calc(var(--sp-2) * -1);
}

@media (max-width: 768px) {
  .hub-layout { flex-direction: column; height: auto; overflow: visible; }
  .hub-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .hub-list { max-height: 60vh; }
  .hub-main { display: none; }
  .hub-preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .hub-preview-grid { grid-template-columns: repeat(2, 1fr); }
}
