/* Existing device hub card design, scoped to category entrances. */
body.gc-category-hub .device_hub_categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
body.gc-category-hub .device_hub_category {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    color: inherit;
    background: #FAFAFA;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
body.gc-category-hub .device_hub_category:hover,
body.gc-category-hub .device_hub_category:focus-visible {
    color: inherit;
    border-color: #337ab7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}
body.gc-category-hub .device_hub_category:focus-visible {
    outline: 2px solid #337ab7;
    outline-offset: 3px;
}
body.gc-category-hub .device_hub_category_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
body.gc-category-hub .device_hub_category h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
}
body.gc-category-hub .device_hub_category_count {
    flex: none;
    padding: 4px 9px;
    color: #555;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
}
body.gc-category-hub .device_hub_category p {
    margin: 0 0 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}
body.gc-category-hub .device_hub_category_action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: #337ab7;
    font-size: 13px;
    font-weight: 700;
}
body.gc-category-hub .device_hub_category_action span { font-size: 24px; line-height: 1; }
body.dark-theme.gc-category-hub .device_hub_category { background: #2E2E2E; border-color: #4A4A4A; }
body.dark-theme.gc-category-hub .device_hub_category_count { color: #ddd; background: #252525; border-color: #555; }
body.dark-theme.gc-category-hub .device_hub_category p { color: #ccc; }
body.dark-theme.gc-category-hub .device_hub_category_action { color: #83bdf0; }
body.dark-theme.gc-category-hub .device_hub_category:hover,
body.dark-theme.gc-category-hub .device_hub_category:focus-visible { border-color: #83bdf0; }
@media (max-width: 768px) {
    body.gc-category-hub .device_hub_categories { grid-template-columns: 1fr; gap: 12px; }
    body.gc-category-hub .device_hub_category { padding: 20px; }
    body.gc-category-hub .device_hub_category h3 { font-size: 18px; }
}

body.gc-category-hub #gc-category-hub-title { margin: 0 0 18px; }
body.gc-category-hub .device_hub_categories { margin-bottom: 30px; }
